-
Notifications
You must be signed in to change notification settings - Fork 628
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
replace custom native review module with expo-store-review #6268
Conversation
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Added @ibrahimtaveras00 as a reviewer so he can check on android before merging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is because I already reviewed the apps on both stores or not, but when I tap yes on my iPhone on testflight or on my test android nothing happens.
Android seen here:
https://github.com/user-attachments/assets/68ee7627-9ebd-4a59-8ac6-51751c7a1bc6
iOS seen here:
https://github.com/user-attachments/assets/7beeeff1-c3c5-4d08-a49b-8d51f800b079
Tested on iOS on Testflight version 1.9.47 (3)
Tested on Android on release apk
Another way to get the review to pop up:
- start the app in a clean state
- create a new wallet
- tap send button then add a contact
or
- start the app in a clean state
- create a new wallet
- create another new wallet
- now watch a wallet
On iOS the review request cannot be shown in Testflight builds. I'm assuming there is something similar on Android but I haven't looked into it. You can get directly to the review request by going to Settings -> Review Rainbow |
I just checked prod on playstore and same bug happens there, cc @brunobar79 Screen.Recording.2024-11-21.at.12.51.51.PM.mov |
@ibrahimtaveras00 Can you try with a different google account before we assume it's a bug? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good here on both OS's, QA Passed 👍🏽
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
Fixes APP-2038
What changed (plus any additional context for devs)
Fixes the app not being able to receive touches after the SKStoreReviewController was shown on iOS.
The app would not be able to receive any touches until force closed regardless of if the user selected "Not Now" or rated the app once the SKStoreReviewController was shown.
expo-store-review was added to replace custom native module implementation, but that did not fix the issue.
The addition of expo-store-review was kept regardless due to the custom native module implementations being 5 years old and including some method swizzling and arbitrary timeouts to get around issues that no longer exist.
The issue was related to this extension in the Extensions.swift file
This code was added in a 5 year old PR (#509) for improving performance of a native list component that is no longer used, so it should be safe to remove.
This issue CocoaDebug/CocoaDebug/issues/143 has more information on why this happens
Screen recordings / screenshots
RPReplay_Final1731728558.MP4
What to test