Giter Club home page Giter Club logo

godot-android-adjust-plugin's Introduction

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: Annotation 2020-07-24 213436

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.

godot-android-adjust-plugin's People

Contributors

guybashan avatar threethan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.