DEV Community

Discussion on: Google Maps, Geolocation and Unit Test on React Native

Collapse
 
cecheverri4 profile image
Cristian Echeverria • Edited

I tried recently and I made an update to the handleLocationPermission function. Now Im checking if the permissionCheck was BLOCKED or DENIED

if ( permissionCheck === RESULTS.BLOCKED || permissionCheck === RESULTS.DENIED)
Enter fullscreen mode Exit fullscreen mode

You can see the update in the Post.

Collapse
 
Sloan, the sloth mascot
Comment deleted
 
cecheverri4 profile image
Cristian Echeverria

Yes.
What issue you have?

Thread Thread
 
Sloan, the sloth mascot
Comment deleted
 
cecheverri4 profile image
Cristian Echeverria • Edited

I have the exact same configuration in the Emulator. I can see when the App loads and ask for Permission for enable user location. The "issue" that I have right now is that the Map Region is still an area of California, USA and not my current location which is Gothenburg, Sweden.

This issue I have only for Android. iOS works fine. Will continue trying to fix it....