Comments (6)
For android it might work just Geolocation Api from React-Native. Try with RN 0.20.0 (and more). It works if application is in background.
from react-native-location.
Is this confirmed? RN 0.20.0 is the one? It's the version to tie it all together? Anyway, I'll have a look and play around to see if it just works. Pretty sweet if it does.
from react-native-location.
I already have in another repository: https://github.com/agrass/react-native-gps. Some methods are working for android and IOS. Is not ready for PR to this repo because I adapted some methods to another Android solution that I found.
from react-native-location.
Hrm. So am I missing something? While RN-iOS works while app is in the background RN-Android is still stuck relegated to being used only during times the app is active, right? Or is someone saying that there's a solution for background processes in Android?
from react-native-location.
For Android it should work without this module. You can just use Geolocation Api. I tried with RN 0.20.0 (and up) version.
from react-native-location.
Great I didn't know about that, Thanks
from react-native-location.
Related Issues (20)
- location returning null sometimes on ios and android both. HOT 1
- subScribeLocationChanges() HOT 3
- 🔥 Method addObserver must be called on the main thread HOT 2
- Terrible accuracy - physial device Android 10, RN 0.6.4 HOT 3
- Is there any good and well-maintained alternative to this package? HOT 1
- Cant stop updates of RNLocation.subscribeToLocationUpdates HOT 2
- Not return heading HOT 2
- background configuration throwing error
- Failed to build android because of java classes HOT 9
- Wanings about some event emitters, about AddListener and removeListeners HOT 1
- subscribeToSignificantLocationUpdates doesn't work to me
- Undefined symbols for architecture arm64 HOT 1
- Requesting "always" permission when user has previously selected "whenInUse" causes request to hang (promise never resolves) (deprecate this library) HOT 2
- Failed to Build HOT 12
- Is this repo dead?
- RNLocation functions issue HOT 5
- nvert
- Error: package android.support.annotation does not exist HOT 2
- Not working when mobile in sleep mode[Android] HOT 1
- Error - Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-location.