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

Error: com.appsflyer.sdk.network #780

Open
alome007 opened this issue Mar 10, 2023 · 5 comments
Open

Error: com.appsflyer.sdk.network #780

alome007 opened this issue Mar 10, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@alome007
Copy link

alome007 commented Mar 10, 2023

  • analytics-react-native version: ^2.9.0
  • Integrations versions (if used): "@segment/analytics-react-native-plugin-appsflyer": "0.5.0"
  • React Native version: 0.68.1
  • iOS or Android or both? both
@alome007 alome007 added the bug Something isn't working label Mar 10, 2023
@oscb
Copy link
Contributor

oscb commented Mar 10, 2023

@alome007 could you share more of what's the error you're seeing and when does it happen?

@alome007
Copy link
Author

Thank you for the reply @oscb

It happens occasionally

Possible Unhandled Promise Rejection (id: 2): Error: com.appsflyer.sdk.network promiseMethodWrapper@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:2135:45 logEventPromise@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:439289:43 logEvent@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:439295:29 _default@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:439668:45 track@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:439241:29 execute@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:199703:32 execute$@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:199851:149 tryCatch@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:19835:23 @http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:19916:32 tryCatch@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:19835:23 invoke@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:19866:30 @http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:19871:19 tryCallOne@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:23577:16 @http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:23658:27 @http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:24710:26 _callTimer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:24629:17 _callReactNativeMicrotasksPass@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:24659:17 callReactNativeMicrotasks@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:24822:44 __callReactNativeMicrotasks@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:2535:46 @http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:2347:45 __guard@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:2519:15 flushedQueue@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.collect.africa:2346:21 flushedQueue@[native code] invokeCallbackAndReturnFlushedQueue@[native code]

This is the full stack trace. Below is the code implementation:

export const segmentClient = createClient({
  writeKey: '',
  trackDeepLinks: true,
  collectDeviceId: true,
  trackAppLifecycleEvents: true,
  flushInterval: 60000,
  errorHandler: errorHandler,
});

segmentClient.add({ plugin: new AppsflyerPlugin() });

<AnalyticsProvider client={segmentClient}> //some other setup </AnalyticsProvider>

The error handler does not capture this error as well.

@alome007
Copy link
Author

Screenshot 2023-03-10 at 18 33 16

As seen from sentry on production

@renanbronchart
Copy link

Same problem here.

  • Only on iOS.
  • From react-native 0.71 (No error with 0.67)

@renanbronchart
Copy link

@alanjcharles or @oscb have you got news about that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants