[U] ad plugins
This commit is contained in:
@@ -62,13 +62,20 @@ public class AFDeepLinkHelper : MonoBehaviour, IAppsFlyerConversionData, IAppsFl
|
||||
}
|
||||
}
|
||||
|
||||
public void Init()
|
||||
public void Init(string afkey, string afAppID, string customerUserID, string oneLinkID, bool debugMode = false)
|
||||
{
|
||||
AppsFlyer.setIsDebug(true);
|
||||
AppsFlyer.setAppInviteOneLinkID("jT1Q");
|
||||
AppsFlyer.initSDK("rSySeWtvKabfbPZE7Lmx7C", "6505145935", this);
|
||||
AppsFlyer.setIsDebug(debugMode);
|
||||
AppsFlyer.setAppInviteOneLinkID(oneLinkID);
|
||||
AppsFlyer.initSDK(afkey, afAppID, this);
|
||||
AppsFlyer.setCustomerUserId(customerUserID);
|
||||
AppsFlyer.OnDeepLinkReceived += OnDeepLink;
|
||||
|
||||
#if UNITY_IOS
|
||||
AppsFlyerSDK.AppsFlyer.waitForATTUserAuthorizationWithTimeoutInterval(30);
|
||||
#endif
|
||||
|
||||
AppsFlyer.startSDK();
|
||||
AppsFlyerSDK.AppsFlyerAdRevenue.start();
|
||||
}
|
||||
|
||||
public async Task<string> GenInviteLink(string referrerUID, string referrerPID)
|
||||
|
||||
Reference in New Issue
Block a user