Closed soenkegissel closed 6 years ago
I think if you use one of the emulators that have Google Play Store on you should be able to test it
The canOpenIntent(Intent) can return 0 if the emulator has no app to open Intent.ACTION_VIEW. I checked showRequest() what the return of canRateApp() is - it is sometimes false on emulator.
yeah it'd be false if there's no Google Play Store app installed, hence why I recommend you using one of the emulators that do have it installed
Hmm. I have to admit I could have tested it on a device with no PlayStore installed. Thank you very much.
kassim notifications@github.com schrieb am Fr., 23. Feb. 2018 um 14:42 Uhr:
yeah it'd be false if there's no Google Play Store app installed, hence why I recommend you using one of the emulators that do have it installed
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/Pixplicity/gene-rate/issues/11#issuecomment-368011957, or mute the thread https://github.com/notifications/unsubscribe-auth/AMumDHgx6iq4pmOYO5PW-0R3-j_adG_Yks5tXsA1gaJpZM4R8w4d .
I am testing on an emulator and it took me a while to figure out canRateApp() is returning false, so a request is never shown. You can check if the device is an emulator and return accordingly.