react-native-in-app-review icon indicating copy to clipboard operation
react-native-in-app-review copied to clipboard

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

Open james-newtracs opened this issue 2 years ago • 9 comments

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)?

james-newtracs avatar Jun 13 '22 12:06 james-newtracs

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

MinaSamir11 avatar Jun 14 '22 10:06 MinaSamir11

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?

james-newtracs avatar Jun 14 '22 14:06 james-newtracs

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

MinaSamir11 avatar Jun 14 '22 14:06 MinaSamir11

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

james-newtracs avatar Jun 14 '22 22:06 james-newtracs

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.

vektorat-manish948 avatar Jul 26 '22 10:07 vektorat-manish948

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 avatar Jul 26 '22 10:07 MinaSamir11

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.

MinaSamir11 avatar Jul 26 '22 11:07 MinaSamir11

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

vektorat-manish948 avatar Jul 26 '22 11:07 vektorat-manish948

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

thatgriffith avatar Aug 11 '22 06:08 thatgriffith

closed

resolved

MinaSamir11 avatar Dec 08 '22 10:12 MinaSamir11

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)

parag-mer avatar Sep 06 '23 11:09 parag-mer

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

thatgriffith avatar Sep 06 '23 13:09 thatgriffith