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

[location][Android] Fix NullPointerException: it must not be null #26688

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

lukmccall
Copy link
Contributor

Why

Closes #26620.
Special thanks go to @efstathiosntonas, for finding the root cause.

How

The current location may not be available, for instance, when the GPS is turned off.

Test Plan

lukmccall and others added 2 commits January 25, 2024 15:12
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@lukmccall lukmccall merged commit b9ca731 into main Jan 25, 2024
@lukmccall lukmccall deleted the @lukmccall/location/fix-it-must-not-be-null branch January 25, 2024 14:12
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Jan 25, 2024
lukmccall added a commit that referenced this pull request Feb 2, 2024
…26688)

# Why

Closes #26620.
Special thanks go to @efstathiosntonas, for finding the root cause. 
 
# How

The current location may not be available, for instance, when the GPS is turned off. 

# Test Plan

- [kamui545/expo-location-issues](https://github.com/kamui545/expo-location-issues) ✅
@brentvatne brentvatne added the published Changes from the PR have been published to npm label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint changed bot: passed checks ExpoBot has nothing to complain about published Changes from the PR have been published to npm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SDK 50] [expo-location] java.lang.NullPointerException: it must not be null
4 participants