Skip to content

Commit

Permalink
Merge pull request #9 from saamerm/master
Browse files Browse the repository at this point in the history
Updated README with Proguard information
  • Loading branch information
jamesmontemagno authored Oct 13, 2020
2 parents fb986af + 9d73df9 commit 544adbd
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void OpenStoreReviewPage(string appId);
```

#### Request Review
UWP (all versions) and iOS only to prompt for the user to review the app. Only on iOS 10.3+ devices:
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:
Read: https://blog.xamarin.com/requesting-reviews-ios-10-3s-skstorereviewcontroller/

```csharp
Expand All @@ -54,6 +54,21 @@ Read: https://blog.xamarin.com/requesting-reviews-ios-10-3s-skstorereviewcontrol
void RequestReview();
```

### Android code shrinker (Proguard & r8)

If you use the plugin with Link all, Release Mode and ProGuard/r8 enabled, you have to do the following:

1. 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.** { *; }
```

2. Include it to your project
3. Properties > Build Action > ProguardConfiguration

#### License
Under MIT, see LICENSE file.

0 comments on commit 544adbd

Please sign in to comment.