Allows you to open the google play or app store on your application in order to rate it.
Edit engine.cfg
and add an android
part as following:
[android]
modules="org/godotengine/godot/GodotRateIt"
Here is an example
extends Node
# Rate module
var godot_rateit
func _ready():
if(Engine.has_singleton("GodotRateIt")):
godot_rateit = Engine.get_singleton('GodotRateIt')
func rate_it():
if godot_rateit != null:
godot_rateit.ask_and_rate('Rate?', 'Yes', 'No', '' if OS.get_name() == 'Android' else '1234567890')