Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trampoline on target sdk 31 #837

Merged
merged 2 commits into from
Mar 9, 2022
Merged

Conversation

DanielEliraz
Copy link
Collaborator

As noted in #825 with the fix to trampoline issue on clicking the PN the app is opening a new activity and thus the back button won't lead you to the previous app state. This PR restricts the fix to only when targetSdk is 31 and above because only then trampoline issue is problematic. current version of RN is targeting SDK 30 so we need to think on a better solution in the future.

@DanielEliraz DanielEliraz requested a review from yogevbd March 9, 2022 13:13
@DanielEliraz DanielEliraz merged commit c4e6fa0 into master Mar 9, 2022
@DanielEliraz DanielEliraz deleted the fix-trampoline-on-targetSdk-31 branch March 9, 2022 13:53
@pepf pepf mentioned this pull request Jul 12, 2022
elliscwc pushed a commit to taskade/react-native-notifications that referenced this pull request Aug 15, 2022
* bump to rn 67 in example

* restrict trampoline fix to targetSdk 31 and above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant