Godot in-app review plugin enables access to Google Play Store's in-app review functionality on the Android platform.
For iOS App Store version, visit https://github.com/cengiz-pz/godot-ios-inapp-review-plugin .
Follow instructions on the following page to create a custom Android gradle build
Your app must be registered with and released on Google Play Store.
There are 2 ways to install the In-app Review
plugin into your project:
- Through the Godot Editor's AssetLib
- Manually by downloading archives from Github
Steps:
- search for and select the
In-app Review
plugin in Godot Editor - click
Download
button - on the installation dialog...
- keep
Change Install Folder
setting pointing to your project's root directory - keep
Ignore asset root
checkbox checked - click
Install
button
- keep
- enable the plugin via the
Plugins
tab ofProject->Project Settings...
menu, in the Godot Editor
Steps:
- download release archive from Github
- unzip the release archive
- copy to your Godot project's root directory
- enable the plugin via the
Plugins
tab ofProject->Project Settings...
menu, in the Godot Editor
Add an InappReview
node to your scene and follow the following steps:
- register listeners for the following signals emitted from the
InappReview
nodereview_info_generated
review_info_generation_failed
review_flow_launched
review_flow_launch_failed
- call the
generate_review_info()
method of theInappReview
node - when the
review_info_generated
signal is received, call thelaunch_review_flow()
of theInappReview
node- Google Play Store API will display a dialog
- Dialog may not be displayed if the review flow was launched recently
- normal app functionality can resume when
review_flow_launched
signal is received
The demo app's only purpose is to provide sample code. Since the demo app is not registered with the Google Play store, the Google Play in-app review dialog will not be displayed.
adb logcat
is one of the best tools for troubleshooting unexpected behavior
- use
$> adb logcat | grep 'godot'
on Linuxadb logcat *:W
to see warnings and errorsadb logcat *:E
to see only errorsadb logcat | grep 'godot|somethingElse'
to filter using more than one string at the same time
- use
#> adb.exe logcat | select-string "godot"
on powershell (Windows)
Also check out: https://docs.godotengine.org/en/stable/tutorials/platform/android/android_plugin.html#troubleshooting
Developed by Cengiz
Original repository: Godot Android In-app Review Plugin