Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drmoriarty/godot-appsflyer
AppsFlyer module for Godot3.2 (iOS/Android)
https://github.com/drmoriarty/godot-appsflyer
android appsflyer godot godot-addon godot-appsflyer godot-engine godot-module godot-plugin godotengine ios nativelib
Last synced: 2 days ago
JSON representation
AppsFlyer module for Godot3.2 (iOS/Android)
- Host: GitHub
- URL: https://github.com/drmoriarty/godot-appsflyer
- Owner: DrMoriarty
- Created: 2019-05-13T17:03:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-20T15:00:09.000Z (almost 3 years ago)
- Last Synced: 2024-04-24T09:26:48.320Z (7 months ago)
- Topics: android, appsflyer, godot, godot-addon, godot-appsflyer, godot-engine, godot-module, godot-plugin, godotengine, ios, nativelib
- Language: Objective-C
- Homepage:
- Size: 6.61 MB
- Stars: 8
- Watchers: 2
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AppsFlyer plugin for Godot Engine (iOS/Android)
## Installation
1. At first you need [NativeLib-CLI](https://github.com/DrMoriarty/nativelib-cli) or [NativeLib Addon](https://github.com/DrMoriarty/nativelib).
2. Make `nativelib -i appsflyer` in your project directory if you are using CLI. Find `APPSFLYER` in plugins list and press "Install" button if you are using GUI Addon.
3. Add `AppsFlyer/DevKey` in your Project Settings.
4. Enable **Custom Build** for using in Android.
## Usage
Add wrapper `scripts/appsflyer.gd` into autoloading list in your project. So you can use it everywhere in your code.
## API
### init(app_key: String)
You should not use it directly. It will be called automatically when your application starts.
### appsflyer_id() -> String
You can get appsflyer user ID with this method.
### event(name: String, params: Dictionary)
The main method for sending analytics events. All other public methods are shortcuts for specific event and uses `event` internaly.
### screen(name: String, screen_type: String)
Event when user opens specific screen.
### login(params: Dictionary)
Event when user registered or logged into your app.
### level_start(params: Dictionary)
### level_complete(params: Dictionary)
### level_failed(params: Dictionary)