AppsFlyerSDK / appsflyer-unity-plugin

AppsFlyer Unity Plugin
MIT License
156 stars 64 forks source link

Don`t open appstore on IOS #130

Closed Kronos0041 closed 2 years ago

Kronos0041 commented 3 years ago

I`m trying open store by function: AppsFlyer.attributeAndOpenStore..... But this is function tracks clicks and not tracking open store and install app, plz help me.

Logs, when attributeAndOpenStore is call: Testing on iphone simulators: 7, 12 pro, real device: 11

2021-11-10 18:15:47.025666+0300 CrazyTrafficTrucks[73592:6909836] [AppsFlyerSDK] [com.apple.main-thread] initWithMeidaSource is called
2021-11-10 18:15:47.025704+0300 CrazyTrafficTrucks[73592:6910335] [AppsFlyerSDK] [com.apple.main-thread] baseURL:            https://app.appsflyer.com
2021-11-10 18:15:47.025729+0300 CrazyTrafficTrucks[73592:6909836] [AppsFlyerSDK] [com.apple.main-thread] appleAppID:         id1586645963
2021-11-10 18:15:47.026470+0300 CrazyTrafficTrucks[73592:6910335] [AppsFlyerSDK] [com.apple.main-thread] campaign:           DatsGames
2021-11-10 18:15:47.026566+0300 CrazyTrafficTrucks[73592:6910335] [AppsFlyerSDK] [com.apple.main-thread] Generated Link: https://app.appsflyer.com/idid1586645963?promo_click_count=1&idfv=A2E35F17-954A-4909-9886-D527E6A1C69E&idfa=00000000-0000-0000-0000-000000000000&c=DatsGames&pid=af_cross_promotion&af_siteid=1593177901
SendMessage: object PromoObjLeft does not have receiver for function onOpenStoreLinkGenerated!
2021-11-10 18:15:47.458763+0300 CrazyTrafficTrucks[73592:6909937] [AppsFlyerSDK] [com.appsflyer.serial] `appsFlyerDevKey`: aa*****di
2021-11-10 18:15:47.460020+0300 CrazyTrafficTrucks[73592:6910335] [AppsFlyerSDK] [com.appsflyer.serial] Looking for previous version date
2021-11-10 18:15:47.460077+0300 CrazyTrafficTrucks[73592:6909937] [AppsFlyerSDK] [com.appsflyer.serial] Current cached application version: 1.2, new version: 1.2
2021-11-10 18:15:47.460129+0300 CrazyTrafficTrucks[73592:6910335] [AppsFlyerSDK] [com.appsflyer.serial] Use date3 from storage
2021-11-10 18:15:47.460156+0300 CrazyTrafficTrucks[73592:6909937] [AppsFlyerSDK] [com.appsflyer.serial] date1: 2021-11-10_181440+0300
2021-11-10 18:15:47.460175+0300 CrazyTrafficTrucks[73592:6910335] [AppsFlyerSDK] [com.appsflyer.serial] date2: 2021-11-10_181533+0300
2021-11-10 18:15:47.460195+0300 CrazyTrafficTrucks[73592:6910335] [AppsFlyerSDK] [com.appsflyer.serial] date3: 2021-11-10_181456+0300
2021-11-10 18:15:47.460223+0300 CrazyTrafficTrucks[73592:6909937] [AppsFlyerSDK] [com.appsflyer.serial] First launch date: 2021-11-10_181456+0300
2021-11-10 18:15:47.462467+0300 CrazyTrafficTrucks[73592:6910335] [AppsFlyerSDK] [com.appsflyer.serial] [CACHE] Caching request...(cache size: 0)
2021-11-10 18:15:47.466383+0300 CrazyTrafficTrucks[73592:6909937] [AppsFlyerSDK] [afsdk-inner-buffer-serial] [HTTP] Operation start: `16-1636557347.460009`
2021-11-10 18:15:47.466578+0300 CrazyTrafficTrucks[73592:6910335] [AppsFlyerSDK] [afsdk-inner-buffer-serial] 

<~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~~+~>
<~+~   SEND Event:   https://inapps.appsflyer.com/api/v6.4/iosevent?app_id=1593177901&buildnumber=6.4.0
<~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~~+~>

Andrey Khromozhenkov, [10.11.2021 18:16]
{"timestamp":"1636557347.460009","uid":"1636557280010-2351795","bundlename":"Crazy Traffic Trucks","cell":{"mcc":"999","mnc":"99","ra":"af_restricted"},"att_status":0,"platform":"iPhone12,1","fb_anon_id":"XZDE67260A-D0BD-4A31-8302-469B52005B81","counter":"2","reinstallCounter":"5","advertiserId":"00000000-0000-0000-0000-000000000000","systemversion":"14.8","iaecounter":"2","meta":{"skad":{"sk_rules":{"sk_exp":1636643696.853776,"sk_rules":{"wi":24,"ex":1,"di":1}}}},"JBDevice":false,"date3":"2021-11-10_181456+0300","deviceData":{"cpu_type":"ARM64","cpu_speed":"-1","osVersion":"99.9 (Build 99999)","ram_size":"999","cpu_64bits":"true","dim":{"y_px":1792,"x_px":828},"device_model":"iPhone12,1","cpu_count":"9"},"currentCountrycode":"US","sc_o":"p","systemname":"iOS","date1":"2021-11-10_181440+0300","localizedmodel":"iPhone","ivc":false,"af_events_api":"1","bundleversion":"2","model":"iPhone","eventName":"af_cross_promotion_clicked","dev_key":"aa79ukNghDrzfbCCPDSVdi","wifi":false,"currentLanguage":"","vendorId":"A2E35F17-954A-4909-9886-D527E6A1C69E","eventvalue":"%7B%22promo_click_count%22:%221%22%2C%22af_campaign%22:%22DatsGames%22%7D","af_timestamp":"1636557347460","serverApiVersion":"6.4","advertiserIdEnabled":false,"cksm_v1":"abe70d0c976e410f0407b041e014b4dd","ref":"db7329eef4753e02f2f61ae54182f260365b4da62dc7cab86fc41cde012bd3f8;0;0;0;0;0","af_iad_data":{"error":"ADClientErrorTrackingRestrictedOrDenied"},"event":"af_cross_promotion_clicked","date1_2":"2021-11-10_181440+0300","disk":"999\/9999","sessioncounter":"1","date2":"2021-11-10_181533+0300","firstLaunchDate":"2021-11-10_181456+0300","originalAppsflyerId":"1636557280010-2351795","shortbundleversion":"1.2","platformextension":"ios_unity","bundleIdentifier":"dats.games.crazytraffictrucks"}

<~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~~+~>
2021-11-10 18:15:47.551102+0300 CrazyTrafficTrucks[73592:6909881] [AppsFlyerSDK] [com.apple.NSURLSession-delegate] [HTTP] 
Result: {
    data = {length = 2, bytes = 0x6f6b};
    dataStr = ok;
    retries = 2;
    statusCode = 200;
    taskIdentifier = 7;
}                
Error: (null)
2021-11-10 18:15:47.551873+0300 CrazyTrafficTrucks[73592:6910335] [AppsFlyerSDK] [afsdk-buffer-serial] [CACHE] Deleting file: /var/mobile/Containers/Data/Application/35DC62B3-660A-4EE3-B1AF-5E91511EBA8D/Library/Caches/appsflyer-v1/658250147.4624.plist
2021-11-10 18:15:47.552044+0300 CrazyTrafficTrucks[73592:6909881] [AppsFlyerSDK] [afsdk-buffer-serial] [HTTP] Dealloc. Time elapsed for: `16-1636557347.460009` - 0.08563601970672607
af-margot commented 2 years ago

I’m closing this issue because it has been inactive for a while. Please reopen if you still encounter this issue :)

Thank you!