SDK Version: 43
Platforms: iOS and Android
Importing NetInfo crashes the Google Play and App Store versions on launch whereas it’s fine when I’m running it locally with ‘expo start’. Came to the conclusion after multiple tests with expo publishing.
Any suggestions? I’m out of ideas. Do I need to add any permissions or modify app.json?
Package.json version is “@react-native-community/netinfo”: “6.0.2”.
Both import NetInfo and { useNetInfo } from “@react-native-community/netinfo” crashes the app.