Platform Support
Platform | Version |
---|---|
Xamarin.iOS | iOS 7+ |
Xamarin.tvOS | All |
Xamarin.Android | API 10+ |
UWP | API 10+ |
macOS | All |
https://www.nuget.org/packages/Plugin.StoreReview/
This will open the related app store for your app identifier. iOS: This is found on your iTunes connect page for your app Android: This is your package Id from your Android Manifest. UWP: This is the Store ID: You can find the link to your app's Store listing on the App identity page, in the App management section of each app in your dashboard.
/// <summary>
/// Opens the store listing.
/// </summary>
/// <param name="appId">App identifier.</param>
void OpenStoreListing(string appId);
Launches app directly to Review Page if possible
/// <summary>
/// Opens the store review page.
/// </summary>
/// <param name="appId">App identifier.</param>
void OpenStoreReviewPage(string appId);
UWP (all versions), Android and iOS only to prompt for the user to review the app. Only on Android 5.0 (API level 21) & iOS 10.3+ devices:
/// <summary>
/// Requests the review.
/// </summary>
void RequestReview();
Ensure that you follow the Xamarin.Essentials setup steps.
If you use the plugin with Link all, Release Mode and ProGuard/r8 enabled, you have to do the following:
- Create a
proguard.txt
file in your android project and add the following:
-keep class com.google.android.play.core.common.PlayCoreDialogWrapperActivity
-keep class com.google.android.play.core.review.** { *; }
-keep class com.google.android.play.core.tasks.** { *; }
- Include it to your project
- Properties > Build Action > ProguardConfiguration
Under MIT, see LICENSE file.