react-native-geolocation
react-native-geolocation copied to clipboard
Geolocation APIs for React Native
## Environment ## Platforms Android ## Versions - Android: - iOS: - react-native-geolocation: - react-native: - react: ## Description it takes forever for my location to load, and in turn...
## Environment My machine (windows, build on a mac mini): ``` System: OS: Windows 10 10.0.19045 CPU: (4) x64 Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz Memory: 4.25 GB / 15.94...
with this code import Geolocation from '@react-native-community/geolocation'; /** * Utility function to fetch the current location (latitude and longitude). * @returns {Promise} - A promise that resolves to an object...
The call ```objc [self startObserving]; ``` is an empty inherited function, so the existing implementation does not restart the observer. To call the local `startObserving` method in `RNCGeolocation.mm`, it needs...
# Overview # Test Plan
# Overview Type the `mocked` field correctly. Closes #287 # Test Plan Tried if the field shows up in autocomplete in an internal project. It does show up :)
# Overview Solves this issue: - https://github.com/michalchudziak/react-native-geolocation/issues/241 Crash Log ``` Fatal Exception: java.lang.NullPointerException: Listener must not be null at com.google.android.gms.common.internal.Preconditions.checkNotNull(com.google.android.gms:play-services-basement@@18.1.0:2) at com.google.android.gms.common.api.internal.ListenerHolders.createListenerKey(com.google.android.gms:play-services-base@@18.0.1:1) at com.google.android.gms.location.FusedLocationProviderClient.removeLocationUpdates(com.google.android.gms:play-services-location@@20.0.0:6) at com.reactnativecommunity.geolocation.PlayServicesLocationManager$1.onLocationResult(PlayServicesLocationManager.java:74) at com.google.android.gms.internal.location.zzaw.notifyListener(com.google.android.gms:play-services-location@@20.0.0:2) at com.google.android.gms.common.api.internal.ListenerHolder.zaa(com.google.android.gms:play-services-base@@18.0.1:2)...
Due to personal commitments, recently I am unable to dedicate the necessary time to maintain this library as it deserves. I’m looking for passionate contributors to help keep the project...
## Ask your Question I am trying to observe position in parent component as well as child component separately, child component is a modal, when I open the modal it...
Geolocation.getCurrentPosition this method is not working properly please look it. gps is on location permissions also there but showing this. please look on urgent basis {"ACTIVITY_NULL": 4, "PERMISSION_DENIED": 1, "POSITION_UNAVAILABLE":...