KjellConnelly / react-native-rate

Send your app users to Apple App Store, Google Play, Amazon, or other using the newest APIs
635 stars 100 forks source link

Return error details on Android #74

Closed bengouss closed 2 years ago

bengouss commented 3 years ago

Like quite a few people, I have experienced the flakey Android review popup... Sometimes it displays, sometimes it doesn't 🤷‍♂️ I figured that it would be useful to know where in the chain it starts erroring out, by forwarding an error string along with the boolean in the callback.

odedmagger commented 3 years ago

Consider adding errors to the iOS native code as well.

KjellConnelly commented 2 years ago

I'll update the README to support the error callback as well in a sec

KjellConnelly commented 2 years ago

Alright, I added it to the README.md so people who use this module know that they can receive an error message. Ty :)