You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also use this library to show the [Google in-app review](https://developer.android.com/guide/playcore/in-app-review) easily under certain conditions:
12
+
13
+
<imgsrc="https://developer.android.com/images/google/play/in-app-review/iar-flow.jpg"alt="In app review workflow for a user" />
- Let the dialog (or the [Google in-app review](https://developer.android.com/guide/playcore/in-app-review)) show up at a defined app session, after n days of usage and/or if your custom conditions meet
10
19
- Auto fetches the app icon to use it in the dialog
11
-
- Let the dialog show up at a defined app session, after n days of usage and/or if your custom conditions meet
12
20
- Ask the user to mail his feedback or show a custom feedback form if the user rates below the defined minimum threshold
13
21
- All titles, messages and buttons are customizable
14
22
- You can override all click listeners to fit your needs (or to implement extensive tracking)
@@ -32,7 +40,7 @@ The library supports API level 14 and higher. You can simply include it in your
Between the constructor and the show or create method you can adjust the dialog to suit your preferences. You have the following options:
85
93
94
+
#### Google in-app review
95
+
96
+
If you want to use the in-app review from Google instead of the library dialog, call the following function:
97
+
98
+
```kotlin
99
+
.useGoogleInAppReview()
100
+
```
101
+
102
+
You should also add a `completeListener` which gets called if the in-app review flow has been completed. The boolean indicates if the flow started correctly, but not if the in-app review was displayed to the user.
Note: After the first in-app review flow was completed successfully the `toShowAgain` conditions will be used. For example `.setMinimumLaunchTimesToShowAgain(launchTimesToShowAgain: Int)` instead of `.setMinimumLaunchTimes(launchTimes: Int)`.
109
+
86
110
#### When to show up
87
111
88
112
- Change the number of days the app has to be installed
@@ -129,6 +153,8 @@ Between the constructor and the show or create method you can adjust the dialog
129
153
130
154
#### Design
131
155
156
+
The following settings will only take effect if the library dialog is used (and not the Google in-app review).
157
+
132
158
##### General
133
159
134
160
- Change the icon of the dialog
@@ -411,6 +437,7 @@ If you want to show the dialog on app start, but with your custom conditions, yo
411
437
412
438
## Note
413
439
440
+
* If the in-app review from Google will be used: After the first in-app review flow was completed successfully the `toShowAgain` conditions will be used. For example `.setMinimumLaunchTimesToShowAgain(launchTimesToShowAgain: Int)` instead of `.setMinimumLaunchTimes(launchTimes: Int)`
414
441
* Use a MaterialComponent theme for better design
415
442
* Don't forget to set up the mail settings if you want to use the mail feedback dialog (otherwise nothing will happen)
416
443
* Use `setRatingThreshold(RatingThreshold.NONE)` if you don't want to show the feedback form to the user
0 commit comments