jamesmontemagno / StoreReviewPlugin

Request app store reviews across Xamarin and Windows applications
MIT License
184 stars 24 forks source link

Testing RequestReview on Android #19

Closed JulesMoorhouse closed 3 years ago

JulesMoorhouse commented 3 years ago

Additional Feature Request:

I was confused by the Test folder, I assumed for a long time this was for unit tests, not an example. — Please fill out either the bug or feature request section and remove whatever section you are not using.

Bug

Version Number of Plugin: 3.0.0-beta Device Tested On: None Simulator Tested On: Android Emulator

Expected Behavior

Seeing the Review dialog appear on Android during testing

Actual Behavior

Review dialog can not be seen.

Steps to reproduce the Behavior

I started out copying the code from the plugin as I wanted to do something different on iOS (see my other issue).

But then I used the plug-in directly and have the same issue.

I've not seen the rating dialog or what ever is supposed to shown when you used RequestReview on Android.

I found this blog post, I've tried internal app sharing, but still haven't seen the dialog.

I believe I should be able to easily see the FakeReviewManager dialog without too much trouble. But I've never seen that.

Our app have been on Google play for some time.

I don't think it is an issue with ApplicationId, as that not required by the FakeReviewManager anf the Store review page method works fine with the PackageName. Also we don't use Link all.

Any suggestions ?

JulesMoorhouse commented 3 years ago

@saamerm and ideas ?

Kapusch commented 3 years ago

Quoted from this blog post :

Testing in-app reviews is tricky on Android, just as it is on iOS. There are many limitations to being able to test your app as you can see here. Regardless of what you try, you won’t be able to see the In-App review UI when built and distributed manually. You have to download the app from the Play Store, in order to see the UI. So, the easiest way to test this is by using Android’s “Internal App Sharing”.

JulesMoorhouse commented 3 years ago

I tried the internal app sharing with the FakeReviewManager and still didn’t see the ui.

saamerm commented 3 years ago

@JulesMoorhouse thanks for tagging me. I wasn't able to do anything tangible through the UI using 'FakeReviewManager' either, and there's no good Android Java documentation out there about how it's supposed to help with testing yet. That said, knowing android, they might make changes to this soon

Yes, You will be able to test the real, (non test) Review request in Internal App Sharing! Let me know if that doesn't work for you

JulesMoorhouse commented 3 years ago

@saamerm thank you