AppsFlyerSDK / appsflyer-react-native-plugin

AppsFlyer plugin for React Native
MIT License
276 stars 197 forks source link

Status code failure 404 on logEvent Android #491

Closed jwillingham789 closed 1 year ago

jwillingham789 commented 1 year ago

Report

Plugin Version

6.12.1

On what Platform are you having the issue?

android

What did you do?

appsFlyer.logEvent

What did you expect to happen?

Event to be logged

What happened instead?

HTTP: [207394383] response code: 404 Not Found body: application doesn't exist took 272ms

Please provide any other relevant information.

The application is set up on the AppsFlyer console and Im able to initialize the project just fine.

github-actions[bot] commented 1 year ago

👋 Hi @jwillingham789 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:

singhagam1 commented 10 months ago

@jwillingham789 Can you let me know what was leading this issue to happen and what was the fix ?

jwillingham789 commented 10 months ago

@singhagam1 This library uses the active build variant's applicationId instead of what's passed to the appsFlyer.initSdk method on android. I only had a production application set up on the appsflyer console so it couldn't find a matching applicationId when i was building a dev variant with the .dev suffix. Not sure why you can explicitly pass an appId to the appsFlyer.initSdk on ios but not on android. Seems like a simple addition that would address this problem.