Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/add warning background location expo go #31461

Merged
merged 7 commits into from
Sep 13, 2024

Conversation

chrfalch
Copy link
Contributor

Why

Background location services (including geofencing) has some limitations in Expo Go (it is available in the Simulator on iOS) so we need to emit a warning when users are using background locations in ExpoGo with some explanation about development builds.

How

This commit adds a warning that will be emitted on the console if running Expo Go client. The warning tries to clarify the above issue.

Contributes to #ENG-12301

Test Plan

Tested BareExpo using a patched version of the isRunningInExpoGo function.

Checklist

Background location services (including geofencing) does not work in Expo Go (it is available in the Simulator on iOS) so we need to emit a warning when users are using background locations in ExpoGo with some explanation about development builds.

This commit adds a warning that will be emitted on the console if running Expo Go client. The warning tries to clearify the above issue.

Relates to #ENG-12301
After adding Expo Go warning the validate function needed to be renamed.
@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Sep 13, 2024
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Sep 13, 2024
@chrfalch chrfalch merged commit b36f0ee into main Sep 13, 2024
17 checks passed
@chrfalch chrfalch deleted the fix/add-warning-background-location-expo-go branch September 13, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint compatible bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants