Closed markushogberg closed 1 year ago
👋 Hi @markushogberg 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 support@appsflyer.com. When submitting the ticket, please specify:
The same started happening to us, already around 10k alerts on Sentry It started happening to us almost 2 weeks ago after upgrading RN to 0.69.5 on logEvent call appsflyer version is 6.4.40
@professorkolik @markushogberg this issue is related to internet connection. Do you see this only on logEvent call? what about initSdk?
@amit-kremer93 Looks like all (or at least most of) the errors happens on the logEvent call.
@amit-kremer93 seems to be gone on v6.9.1, still analyzing
same error on IOS, when calling logevent V6.9.2 RN version 0.67.3
Error: com.appsflyer.sdk.network
@GM-appsflyer
fixed this issue by adding the correct devKey and appId on the init of sdk.
appsFlyer.initSdk(
{
devKey: 'correct-dev-key', ----> here
isDebug: false,
appId: 'your-app-id', ----> here
onInstallConversionDataListener: true, //Optional
onDeepLinkListener: true, //Optional
timeToWaitForATTUserAuthorization: 10, //for iOS 14.5
},
(result) => {
console.log('result from appsflyer initialization', result);
},
(error) => {
console.error('error in appsflyer initialization', error);
},
);
@markushogberg @professorkolik @amit-kremer93
@markushogberg @professorkolik please confirm that you initialized the sdk properly before sending an event
@amit-kremer93 When I try it myself locally I can confirm that it is initialized with the correct values before sending any events.
@amit-kremer93 sdk was initialized properly, only thing that helped is to update to v6.9.1 from v6.4.40
We are currently on v6.8.2. In the next release of our app we will have v6.9.2. I'll keep you posted if that makes the issue go away.
We are seeing this as well on v6.9.4 a lot recently. Any ideas why?
We are also still seeing these errors in v6.9.4.
We are also facing this issue after upgrading RN to 0.71
Any update here? We are also seeing this a lot
This issue can be related to a specific device or network and not to the sdk. I recommend you to contact our support team at support@appsflyer.com with all the relevant information so they can help you
Report
Plugin Version
6.8.2
On what Platform are you having the issue?
Android and iOS
What did you do?
Upgraded from
6.8.0
to6.8.2
What did you expect to happen?
Everything should continue to work without errors
What happened instead?
Start receiving errors in sentry after releasing the app.
There are two types of error occurring on Android:
Unable to resolve host "inapps.appsflyer.com": No address associated with hostname
Error: timeout
And on iOS this error occurs:
com.appsflyer.sdk.network
Please provide any other relevant information.
The issue started when we upgraded the plugin to version
6.8.2
Example stack trace: