From 26e477b935d27567dbe5a31e8f1b612acdc24e59 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 4 May 2017 23:09:34 +0700 Subject: [PATCH] + move Appsflyer script files to Appsflyer folder + change cStringCopy to cAFStringCopy --- Assets/{Plugins => Appsflyer}/AFInAppEvents.cs | 0 Assets/{Plugins => Appsflyer}/AppsFlyer.cs | 0 Assets/{Plugins => Appsflyer}/AppsFlyerTrackerCallbacks.cs | 0 Assets/Plugins/iOS/AppsFlyerWrapper.mm | 4 ++-- 4 files changed, 2 insertions(+), 2 deletions(-) rename Assets/{Plugins => Appsflyer}/AFInAppEvents.cs (100%) rename Assets/{Plugins => Appsflyer}/AppsFlyer.cs (100%) rename Assets/{Plugins => Appsflyer}/AppsFlyerTrackerCallbacks.cs (100%) diff --git a/Assets/Plugins/AFInAppEvents.cs b/Assets/Appsflyer/AFInAppEvents.cs similarity index 100% rename from Assets/Plugins/AFInAppEvents.cs rename to Assets/Appsflyer/AFInAppEvents.cs diff --git a/Assets/Plugins/AppsFlyer.cs b/Assets/Appsflyer/AppsFlyer.cs similarity index 100% rename from Assets/Plugins/AppsFlyer.cs rename to Assets/Appsflyer/AppsFlyer.cs diff --git a/Assets/Plugins/AppsFlyerTrackerCallbacks.cs b/Assets/Appsflyer/AppsFlyerTrackerCallbacks.cs similarity index 100% rename from Assets/Plugins/AppsFlyerTrackerCallbacks.cs rename to Assets/Appsflyer/AppsFlyerTrackerCallbacks.cs diff --git a/Assets/Plugins/iOS/AppsFlyerWrapper.mm b/Assets/Plugins/iOS/AppsFlyerWrapper.mm index 340d21d..6e34e9a 100755 --- a/Assets/Plugins/iOS/AppsFlyerWrapper.mm +++ b/Assets/Plugins/iOS/AppsFlyerWrapper.mm @@ -205,7 +205,7 @@ const void mRegisterUninstall (unsigned char *pushToken) { [[AppsFlyerTracker sharedTracker] registerUninstall:tokenData]; } - char* cStringCopy(const char* string) + char* cAFStringCopy(const char* string) { if (string == NULL) return NULL; @@ -218,7 +218,7 @@ const void mRegisterUninstall (unsigned char *pushToken) { const char *mGetAppsFlyerId () { NSString *afid = [[AppsFlyerTracker sharedTracker] getAppsFlyerUID]; - return cStringCopy([afid UTF8String]); + return cAFStringCopy([afid UTF8String]); }