Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

guybashan/godot-android-adjust-plugin

Repository files navigation

Godot Android Adjust Plugin

This is Android Adjust plugin for Godot 3.2.2 or higher.

How to use

  • On your Godot project install android build template. You can follow the official documentation
  • Go to Releases (on the right of this repository page) and download a released version. It is a ZIP file containing 2 files: "aar" of the plugin and "gdap" file describing it,
  • Extract the contents of the released ZIP file to res://android/plugins directory of your Godot project
  • On Godot platform choose: Project -> Export -> Options and make sure turn on the "Use Custom Build" and "Godot Adjust" on the "Plugins" section:

Basic Example in Godot (GDScript)

Recommended: Load the following as a singleton

extends Node

const adjust_app_token = "yyzasoa5g2yo"
const adjust_production = false

var adjust
func _ready():
if (Engine.has_singleton("GodotAdjust")):
print("Adjust was detected")
adjust = Engine.get_singleton("GodotAdjust")
adjust.init(adjust_app_token, adjust_production)
else:
print("Adjust was not detected")

Api Reference

Functions:

init(app_token, production)
* app_token - Your adjust app token.
* production - If true, run adjust in production mode. Else, use sandbox mode.

About

Android Adjust plugin for Godot 3.2.2 or higher

Topics

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Packages

Contributors

Languages