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

Android Rate is redirecting to Google Play by default #25

Closed RamkumarBPE closed 5 years ago

RamkumarBPE commented 5 years ago

Hi, I am implementing react-native-rate, it is working in iOS as a pop-up. In Android it is redirecting to Google Play store(It is not asking pop-up). IS this i the default behaviour? or what might be the issue?

RamkumarBPE commented 5 years ago

I have used this code, but in Android it is opening in a Webpage, not through pop-up let options = { AppleAppID:"xxx", GooglePackageName:"xxx.xxx.xx", OtherAndroidURL:"http://goog", preferredAndroidMarket: AndroidMarket.Google, preferInApp:true, }

KjellConnelly commented 5 years ago

This is the behavior your options call for. The pop up happens due to preferInApp:true on iOS. Android does not have a native way to rate from within the app itself to my knowledge. But if there is a way, this module does not implement that.

This question is already answered in the readme.