analytics-react-native version: 2.2.1
- Integrations versions (if used):
@segment/analytics-react-native-plugin-appsflyer version: 0.3.2
- React Native version: 0.63.4
- iOS or Android or both? Just Android
Steps to reproduce
Sometimes the value from onInstallConversionData its undefined and the @segment/analytics-react-native-plugin-appsflyer library crash
Expected behavior
The plugin works normally
Actual behavior
The app crash on Android, because the value from onInstallConversionData probably is undefined
SyntaxError - JSON Parse error: Unexpected identifier "undefined"{
[native code]parse
node_modules/@segment/analytics-react-native-plugin-appsflyer/src/AppsflyerPlugin.tsxappsFlyer.onInstallConversionData