analytics-react-native version: 2.0.0-pilot
- Integrations versions (if used): n/a
- React Native version: 0.64.3
- iOS or Android or both? iOS
Steps to reproduce
Start app with analytics-react-native installed
Expected behavior
No warnings are logged
Actual behavior
A warning is logged
Module AnalyticsReactNative requires main queue setup since it overrides `init` but doesn't implement `requiresMainQueueSetup`. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
A possible fix might be similar to the one mentioned in this thread.
analytics-react-nativeversion: 2.0.0-pilotSteps to reproduce
Start app with analytics-react-native installed
Expected behavior
No warnings are logged
Actual behavior
A warning is logged
A possible fix might be similar to the one mentioned in this thread.