Closed francois-dibulo closed 3 years ago
I believe I found the issue.
Previously we used trackEvent
like this
window.plugins.appsFlyer.trackEvent(eventName);
We didn't pass the eventValues
param. Doing it with the new logEvent
breaks it:
window.plugins.appsFlyer.logEvent(eventName);
This doesn't break:
window.plugins.appsFlyer.logEvent(eventName, {});
So if eventValues
is undefined, then the app crashes
Report
Plugin Version
6.2.4
cordova-plugin-appsflyer-sdk 6.2.42
Update: also tried
6.2.60
On what Platform are you having the issue?
ios
What did you do?
window.plugins.appsFlyer.initSdk()
(works and returns "Success")What did you expect to happen?
Event to be tracked. We use
window.plugins.appsFlyer.logEvent()
What happened instead?
The app crashes as soon as we execute the
window.plugins.appsFlyer.logEvent
function in javascript:Please provide any other relevant information.
App crashes on ios
14.4.2
and14.5
Thank you for any help!