react-native-rate
react-native-rate copied to clipboard
Hack to determine if SKStoreReviewController was shown is not working on iOS 13.5
Currently on iOS 13.5 w/ RN version 0.61.5 and the hack to determine if the SKStoreReviewController was shown is not working and instead always sends the user to the App Store.
This functionality seems to still work for me on iOS 13.5 simulators. Is this something you've seen on devices?
Yep - using an iPhone X.
I just test it too and it's working but only the first time you show it.
On this condition newWindowCount > originalWindowCount
, the first time originalWindowCount is less than newWindowCount. But for some reasons, the next time they are both the same value.
Any help ?
I'm not sure why it isn't working at all for some of you (haven't been using the popup in my apps), but @robinalexandre this issue is detailed in my README under the iOS specifics section. Basically, once the window appears, it is still in the array of windows even after being dismissed. Probably crummy coding on part of the Apple Developers, but maybe it's intentional. Idk.
Same here. App Store opens after the delay is up on iOS.
with
preferInApp: true,
openAppStoreIfInAppFails: false
success returns false even if the in app dialogue is shown
Are there any updates? I have the same problem.
The issue is still reproducible on iOS 15. From the documentation and StackOverflow, it seems like there is no verified way to check whether the Review request was shown or not. So this hack on the library side can't be a recommended working solution, what we currently experience. So I would propose to either remove possiblyOpenAppStore
completely to avoid this kind of random behavior or restrict it to some lower iOS version if it reliably works on them (for iOS 13.5, 15.0 this is not the case). What are your thoughs on this?
still an issue, any tips?