{"id":19748351,"url":"https://github.com/drmoriarty/godot-applovin-max","last_synced_at":"2025-04-30T08:33:25.598Z","repository":{"id":48622447,"uuid":"263962891","full_name":"DrMoriarty/godot-applovin-max","owner":"DrMoriarty","description":"AppLovinMax plugin for godot engine.","archived":false,"fork":false,"pushed_at":"2022-11-06T05:19:36.000Z","size":1021,"stargazers_count":28,"open_issues_count":15,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-04-24T09:26:48.309Z","etag":null,"topics":["applovin-max","godot","godot-addon","godot-engine","godot-module","godot-plugin","godot3","godotengine","nativelib"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DrMoriarty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-14T16:08:21.000Z","updated_at":"2024-01-23T08:17:37.000Z","dependencies_parsed_at":"2023-01-21T23:01:04.229Z","dependency_job_id":null,"html_url":"https://github.com/DrMoriarty/godot-applovin-max","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrMoriarty%2Fgodot-applovin-max","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrMoriarty%2Fgodot-applovin-max/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrMoriarty%2Fgodot-applovin-max/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrMoriarty%2Fgodot-applovin-max/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrMoriarty","download_url":"https://codeload.github.com/DrMoriarty/godot-applovin-max/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224203759,"owners_count":17272991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["applovin-max","godot","godot-addon","godot-engine","godot-module","godot-plugin","godot3","godotengine","nativelib"],"created_at":"2024-11-12T02:21:24.647Z","updated_at":"2024-11-12T02:21:25.237Z","avatar_url":"https://github.com/DrMoriarty.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppLovin-Max plugin for godot engine.\n\nYou should have AppLovinMAX account in order to use this module https://www.applovin.com/max/\n\n## Installation using NativeLib Addon\n\n1. Add [NativeLib Addon](https://github.com/DrMoriarty/nativelib) into your project (search it in Godot's AssetLib).\n\n2. Find `APPLOVINMAX` in plugins list and press \"Install\" button.\n\n3. Set your SDK key in plugin variables list (see https://dash.applovin.com/o/account#keys).\n\n4. Enable **Custom Build** and check **Plugins/App Lovin Max** for using in Android.\n\n5. Add **res://addons/applovinmax-ios** to export resources for using in iOS.\n\n## Installation using NativeLib-CLI\n\n1. Install [NativeLib-CLI](https://github.com/DrMoriarty/nativelib-cli) in your system.\n\n2. Make `nativelib -i applovinmax` in your project directory.\n\n3. Set `AppLovin/SdkKey` in your project settings (see https://dash.applovin.com/o/account#keys).\n\n4. Enable **Custom Build** and check **Plugins/App Lovin Max** for using in Android.\n\n5. Add **res://addons/applovinmax-ios** to export resources for using in iOS.\n\n## Notes\n1. Permission **ACCESS_COARSE_LOCATION** will automatically be added when exporting to Android.\n\n2. For iOS, consider using the ATT plugin (https://github.com/DrMoriarty/godot-ios-att) (required by Apple for iOS 14.0+).\n\n## Adapters\n\nThe core module has only SDK for Applovin network. For using additional networks you should install specific adapters. For example install `applovinmax-facebook` for Facebook Audience Network. \n\n## Usage\n\nWrapper on gd-script will be in your autoloading list. Use global name `applovin_max` anywhere in your code to use API.\n\n## API\n\n### debugMediation()\n\nShow debug mediation view.\n\n### isInited() -\u003e bool\n\nCheck is SDK inited or not.\n\n### setUserId(uid: String)\n\nSet custom user ID.\n\n### isGdprApplies()\n\nCheck if GDPR applies to your user.\n\n### setGdprConsent(consent: bool)\n\nSet GDPR consent from your user.\n\n### setAgeRestricted(restricted: bool)\n\nSet age restriction for your user.\n\n### setCCPAApplied(applied: bool)\n\nSet if CCPA applied to your user.\n\n### loadBanner(id: String, isTop: bool, callback_id: int)\n\nLoad banner with specific zone ID. `callback_id` is instance_id from callback object.\n\n### loadInterstitial(id: String, callback_id: int)\n\nLoad interstitial with specific zone ID. `callback_id` is instance_id from callback object.\n\n### loadRewardedVideo(id: String, callback_id: int)\n\nLoad rewarded ad with specific zone ID. `callback_id` is instance_id from callback object.\n\n### loadMREC(id: String, gravity: int, callback_id: int)\n\nLoad MREC with specific zone ID. `gravity` is [Android Gravity](https://developer.android.com/reference/android/view/Gravity). `callback_id` is instance_id from callback object.\n\n### bannerWidth(id: String) -\u003e int\n\nReturns current banner width. Returns 0 if there are no active banners.\n\n### bannerHeight(id: String) -\u003e int\n\nReturns current banner height. Returns 0 if there are no active banners.\n\n### showBanner(id: String)\n\nShow banner with specific zone ID. The banner must be loaded before this call.\n\n### hideBanner(id: String)\n\nHide banner with specific zone ID.\n\n### removeBanner(id: String)\n\nCompletely remove banner view from the screen.\n\n### showInterstitial(id: String)\n\nShow interstitial with specific zone ID. The interstitial must be loaded before call.\n\n### showRewardedVideo(id: String)\n\nShow rewarded video ad with specific zone ID. The rewarded ad must be loaded before call.\n\n### showMREC(id: String)\n\nShow MREC with specific zone ID. The MREC must be loaded before call.\n\n### removeMREC(id: String)\n\nRemove MREC view from the screen.\n\n## Callbacks\n\nWhen load ad you specified instance_id of callback object. This object can have methods to get callbacks from the SDK.\n\nFor example: `applovin_max.loadBanner(\"zone_id\", true, self.get_instance_id())`\n\n### Rewarded video callbacks\n\n_on_rewarded_video_ad_loaded(id: String)\n\n_on_rewarded_video_ad_failed_to_load(id: String, error: String)\n\n_on_rewarded_video_ad_opened(id: String)\n\n_on_rewarded_video_ad_left_application(id: String)\n\n_on_rewarded_video_ad_closed(id: String)\n\n_on_rewarded_video_started(id: String)\n\n_on_rewarded_video_completed(id: String)\n\n_on_rewarded(id: String, reward: String, amount: int)\n\n### Banner callbacks\n\n_on_banner_loaded(id: String)\n\n_on_banner_failed_to_load(id: String)\n\n_on_banner_failed_to_load(id: String, error: String)\n\n_on_banner_shown(id: String)\n\n### MREC callbacks\n\n_on_mrec_loaded(id: String)\n\n_on_mrec_failed_to_load(id: String, error: String)\n\n### Interstitial callbacks\n\n_on_interstitial_loaded(id: String)\n\n_on_interstitial_failed_to_load(id: String, error: String)\n\n_on_interstitial_close(id: String)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrmoriarty%2Fgodot-applovin-max","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrmoriarty%2Fgodot-applovin-max","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrmoriarty%2Fgodot-applovin-max/lists"}