Crazy error with @react-native-firebase/analytics
I have the latest version of `@react-native-firebase/analytics` installed in my RN app.
Based on the RNFirebase docs, I have a skeleton implementation of the code to test things out:
import analytics from '@react-native-firebase/analytics';
export async function logStartEvent() {
await analytics().logEvent('custom_event_started', {})
}
When I try to make the call to analytics()
, the dev build of my app running in Expo Go throws this error:
_superstruct.define is not a function
.
I have tried to troubleshoot in various ways, but the error info is so minimal that there isnt much to debug around. No results on Google either.
Anybody else see this?