MinaSamir11 / react-native-in-app-review

The Google Play In-App Review API, App store rating API lets you prompt users to submit Play Store or App store ratings and reviews without the inconvenience of leaving your app or game.
MIT License
665 stars 61 forks source link

Cannot submit rating in dev mode to test, "Submit" button greyed out #120

Closed james-newtracs closed 1 year ago

james-newtracs commented 2 years ago

I'm able to get the review prompt to display, however I cannot press submit in Release mode (when installing Release on my iOS device from Xcode).

Do I need to publish to App Store to test the full flow (Prompt appears > select stars > press Submit)?

MinaSamir11 commented 2 years ago

Yes, you have to upload the new version to the store. (Production-mode)

Check_READme.

james-newtracs commented 2 years ago

Thanks - from what I gather from the Readme, when uploading to Testflight it wont work:

However, this method has no effect when you call it in an app that you distribute using TestFlight.

are we only able to test functionality using Jest?

MinaSamir11 commented 2 years ago

Yes you can test if function triggered or not, check example test :

https://github.com/MinaSamir11/react-native-in-app-review/blob/master/Example/__tests__/useAppReview-test.js

james-newtracs commented 2 years ago

Thanks for this. So we aren't able to test functionality without Jest?

vektorat-manish948 commented 2 years ago

Hello @MinaSamir11 ,

I have the same issue which is mentioned in this main thread but along with that i want to know, Where do i mention apple app id in code to send my review and rating to apple app store ? Or we don't need to mention the app id in code ?

Please let me know. Thank you in advance.

MinaSamir11 commented 2 years ago

Thanks for this. So we aren't able to test functionality without Jest?

Sorry for the late, you can prompt review and trigger UI in dev mode to see the InappReview is triggered or not and you can't submit review in this mode. and in production mode users can submit there reviews and you can't test on testflight mode because the in app review UI will not triggered from the beginning, you will find the answer in readMe: https://github.com/MinaSamir11/react-native-in-app-review#please-note-to-test-your-integration-using-the-google-play-store

if I missed something or there is a misunderstanding, please inform me with more details. Thank you

MinaSamir11 commented 2 years ago

Hello @MinaSamir11 ,

I have the same issue which is mentioned in this main thread but along with that i want to know, Where do i mention apple app id in code to send my review and rating to apple app store ? Or we don't need to mention the app id in code ?

Please let me know. Thank you in advance.

You don't need that once you submit the review request goes through API that is implemented natively.

vektorat-manish948 commented 2 years ago

Hello @MinaSamir11 , I have the same issue which is mentioned in this main thread but along with that i want to know, Where do i mention apple app id in code to send my review and rating to apple app store ? Or we don't need to mention the app id in code ? Please let me know. Thank you in advance.

You don't need that once you submit the review request goes through API that is implemented natively.

Thank you very much for your valuable response. You saved my day

thatgriffith commented 2 years ago

Looks like this is not an issue any longer and should be resolved/closed?

MinaSamir11 commented 1 year ago

closed

resolved

parag-mer commented 1 year ago

hello can anyone guide how to test it in ios, because i am getting the popup for the rating but not able to submit it ( i don't not why the submit button is disabled)

thatgriffith commented 1 year ago

hello can anyone guide how to test it in ios, because i am getting the popup for the rating but not able to submit it ( i don't not why the submit button is disabled)

Please read previous posts and also see the docs here