const WealthyAnalytics = {
initialize: () => {
Analytics
.setup(analyticsKey, {
// using: [Firebase],
recordScreenViews: true,
trackAppLifecycleEvents: true,
trackAttributionData: true,
android: {
flushInterval: 60,
collectDeviceId: true
},
ios: {
trackAdvertising: true,
trackDeepLinks: true
}
})
.then(() =>
console.log("Analytics is ready")
)
.catch(err =>
console.error("Something went wrong", err)
);
},
identify: (content) => {
Analytics.identify(content);
},
track: async (eventName, properties) => {
const payload = {
...properties
};
Analytics.track(eventName, payload);
}
};
I am getting this error after calling
Analytics.initialize()on iOS release builds.Looks like there is something wrong with
analytics-react-native-firebasepackage. It works fine on android and iOS development but iOS release build hangs. If I comment out firebase package here it works perfectly fine.Can someone please help?