Description
Minimal reproducible example
https://snack.expo.dev/@oladeji233/expo-location-issue
Summary
This is a bug on expo when using user location. It is a follow up to this old issue #5487. To reproduce, open the app and go into the background immediately, then open the app again. After this sequence, you get this warning. I suspect that the location is still being pinpointed while the app goes into the background. This issue shows up as a warning in development, but it has crashed my app in production, I noticed while checking my sentry logs. Any help will be appreciated.
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.4.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.13.0 - ~/.nvm/versions/node/v18.13.0/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 8.19.3 - ~/.nvm/versions/node/v18.13.0/bin/npm
Watchman: 2022.09.26.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.12.1 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9014738
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
npmPackages:
expo: ~48.0.18 => 48.0.20
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.71.13 => 0.71.13
react-native-web: ~0.18.11