Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS development build crashing with invalid memory access #555

Open
JuanRdBO opened this issue May 24, 2024 · 3 comments
Open

iOS development build crashing with invalid memory access #555

JuanRdBO opened this issue May 24, 2024 · 3 comments
Labels

Comments

@JuanRdBO
Copy link

Report

Plugin Version

6.14.3

On what Platform are you having the issue?

ios

What did you do?

I ran my app in a physical iOS device.

npx expo start --dev-client --reset-cache --port 8081

What did you expect to happen?

I expected the app to load correctly

What happened instead?

As soon as I called the appsFlyer.initSdk() function, I get the error below. It seems like an invalid memory access.

Please provide any other relevant information.

Interestingly, this only happens on the iOS development builds. Not on either the production builds or the simulator ones.

Here are the error logs I can see:

[com.facebook.react.RNAppsFlyerQueue] AppsFlyer SDK version 6.14.3 started build (177)
[com.facebook.react.RNAppsFlyerQueue] Keychain items migration status: 0
[com.facebook.react.RNAppsFlyerQueue] * AppsFlyer is set to debug mode. This should only be used in development environment! *
[com.facebook.react.RNAppsFlyerQueue] handleOpenUrl: exp+decaf-wallet://expo-development-client/?url=http%3A%2F%2F192.168.68.100%3A8081
[com.appsflyer.serial] [DDL] Params: {
    "att_status" = "-999";
    idfv =     {
        type = unhashed;
        value = "5253716C-EBAF-48E9-9660-EA12F697D204";
    };
    "is_first" = 1;
    lang = "";
    os = "17.3";
    "request_count" = 1;
    "request_id" = "1716576625903-5253716";
    timestamp = "2024-05-24T18:54:00.542";
    type = iPhone;
}
DDL Timeout: 60.00000sec
[com.appsflyer.serial] Deeplink regex execution time: 0.000084
[AppsFlyer Exception Client] [EXM] Flush called not on didEnterBackground. Exceptions will not be sent
[com.appsflyer.serial] Start
[com.appsflyer.serial] [CLS] ADClient not found
[com.appsflyer.serial] [CLS] FBSDKAppEventsUtility loaded
[com.appsflyer.serial] [START] isFirstLaunch: Yes, timestamp: (null)
[com.appsflyer.serial] Dynamically loaded library: AdServices
+[RNFBAppModule getCustomDomain:] [Line 239] authDomains: (null)
-[RNFBAuthModule configureAuthDomain:] [Line 165] RNFBAuth app: __FIRAPP_DEFAULT customAuthDomain: (null)
[com.appsflyer.serial] [SKAd] Register app for SKAdNetwork attribution with status code: 0
[com.appsflyer.serial] [START] Initial start of the application
[com.appsflyer.serial] Installation detected
[com.appsflyer.serial] Looking for previous version date
[com.appsflyer.serial] Current cached application version: (null), new version: 5.0.0
[com.appsflyer.serial] First AppsFlyer SDK launch or new version detected
[com.appsflyer.serial] date1: 2024-05-24_125025-0600
[com.appsflyer.serial] date2: 2024-05-24_125357-0600
[com.appsflyer.serial] date3: 2024-05-24_125357-0600
[com.appsflyer.serial] Generate first launch date: 2024-05-24_125401-0600
[com.appsflyer.serial] First launch date: 2024-05-24_125401-0600
[com.appsflyer.serial] iAD: iSearchAdsDict is nil
[com.appsflyer.serial] [SKAd] No SKAdRule found
[com.appsflyer.serial] AFSDK_NO_IDFA
[com.appsflyer.serial] [iAD]: ASA disabled: No
[com.appsflyer.serial] [iAD]: Send Atttribution request
[com.appsflyer.serial] Looking for previous version date
[com.appsflyer.serial] Current cached application version: 5.0.0, new version: 5.0.0
[com.appsflyer.serial] Use date3 from storage
[com.appsflyer.serial] date1: 2024-05-24_125025-0600
[com.appsflyer.serial] date2: 2024-05-24_125357-0600
[com.appsflyer.serial] date3: 2024-05-24_125357-0600
[com.appsflyer.serial] First launch date: 2024-05-24_125401-0600
[com.appsflyer.serial] AFSDK_NO_IDFA
[AppsFlyer Exception Client] [EXM] Flush called not on didEnterBackground. Exceptions will not be sent
[com.appsflyer.serial] Start
[com.appsflyer.serial] [CLS] ADClient not found
[com.appsflyer.serial] [CLS] FBSDKAppEventsUtility loaded
[com.appsflyer.serial] [START] isFirstLaunch: No, timestamp: 1716576841.509207
[com.appsflyer.serial] [START] Time from last start(session): 0.005666
[com.appsflyer.serial] [WARNING] Skip launch
[com.appsflyer.serial] [HTTP] Operation start: `DDL-F84592A5-85BD-4337-B2D4-C052F14C0462`
[com.appsflyer.serial] [DDL] URL: https://wyvzzc-dlsdk.appsflyersdk.com/v1.0/ios/id1616564038?sdk_version=6.14&af_sig=6905d8566acc704fadec7c063fa5c8577c7ba26f1458ed424eefc1454ed698aa
[com.appsflyer.serial] [CACHE] Caching request...(cache size: 0)
[com.appsflyer.serial] [CACHE] Caching request...(cache size: 1)

The error happens here 👇

SKAdNetwork: Error while updating conversion value: Error Domain=SKANErrorDomain Code=10 "(null)"
[com.appsflyer.serial] [SKAd] Error updating conversion value: The operation couldn’t be completed. (SKANErrorDomain error 10.)
[com.appsflyer.serial] [SKAd] Monitoring report payload: {"sdk_version":"6.14.3","gcv_transaction_id":"7B516B71-FC6C-4BF2-9E05-60AD94DAAAF8","gcv_coarse_value":"low","gcv_lock_window":false,"error_description":"The operation couldn’t be completed. (SKANErrorDomain error 10.)","gcv_postback_sequence":0,"subject":"sdk-cv-skan4-error-log","skan_mode":"undefined","is_default_coarse":true,"ucv_coarse_value":"low","gcv_next_w_time":0,"app_id":"id1616564038","install_time":"2024-05-24_125025-0600","error_code":10,"error_name":"unknown","gcv_req_device_ts":0,"is_default_fine":true,"timestamp":1716576842,"ucv_lock_window":false,"os_version":"17.3","ucv_fine_value":0,"ucv_device_ts":1716576841575,"gcv_fine_value":0,"appsflyer_id":"1716576625903-5253716"}
[com.appsflyer.serial] [SKAN] URL: https://wyvzzc-dynamic-report-api.appsflyersdk.com/api/dynamic-report/1

Copy link

👋 Hi @JuanRdBO and Thank you for reaching out to us.
In order for us to provide optimal support, please submit a ticket to our support team at [email protected].
When submitting the ticket, please specify:

  • ✅ your AppsFlyer sign-up (account) email
  • ✅ app ID
  • ✅ production steps
  • ✅ logs
  • ✅ code snippets
  • ✅ and any additional relevant information.

@alhassanreem
Copy link

@JuanRdBO any update on this? Curious to understand how you resolved as I am experiencing a similar issue

@Parth220
Copy link

Parth220 commented Sep 7, 2024

Bumping this issue!

@JuanRdBO @alhassanreem Did you ever find the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants