Support my work: Follow me on Twitter and add me on LinkedIn!
This plugin implements the Google Play In-App Review API for Godot 3.3.
- Follow the official documentation to configure, install and enable an Android Custom Build.
- Download the In-App Review plugin from the release tab.
- Extract the contents of InAppReviewPlugin.7z to
res://android/plugins - Call the plugin from a godot script (see chapter below).
- Go to the folder
res://android/buildopen the file config.gradle and make sure at leastminSdk : 21is set. - When exporting your game via a preset in
Project>Export...make sure thatUse Custom BuildandReview Pluginis checked.
Check if the singleton instance of ReviewPlugin is available. Optionally you can connect the signals of the plugin.
func start_in_app_review():
if Engine.has_singleton("ReviewPlugin"):
review = Engine.get_singleton("ReviewPlugin")
# connect signals - optional!
review.connect("review_flow_started", self, "review_flow_started")
review.connect("review_flow_finished", self, "review_flow_finished")
review.connect("review_info_request_unsuccessful", self, "review_info_request_unsuccessful")
# Try to get a review
review.startInAppReview()review_flow_startedandreview_info_request_unsuccessfulAfter calling startInAppReview() Android requests a ReviewInfo Task. If this is sucessfull the review flow is started and review_flow_started is emitted. In case of failure review_info_request_unsuccessful is emitted.review_flow_finishedThis signal is emitted when the review flow has finished. The API does not indicate whether the user reviewed or not, or even whether the review dialog was shown. If this puzzles you check out the official documentation of the API.
Make sure to read through the official documentation of Google Play In-App Review API to learn about quotas or what to expect of the API in general or how it can be tested.
The Plugin is very simple but can be debugged by using the Android Debug Bridge and the tag filter ReviewPlugin.