Comments (8)
Looks like the issue is that RN picks up the web file instead the .native one.
Changing the react-native field to js/index.native.js
fixes the issue for me.
from react-native-geolocation.
I can verify that this feature is working in version 1.3.0. Perhaps this functionality was broken in this pr: #28
from react-native-geolocation.
I would like to work on this issue if no one is working on it!
from react-native-geolocation.
@Taym95 Sure! Feel free to open a PR with a proposed fix.
from react-native-geolocation.
@NoemiRozpara or @michalchudziak RE: React Native Web support for Geolocation:
Could you look into what happens if we change the react-native
field in package.json
to js/index.native.js
? Does React Native Web still pick up the correct file? Would it be better to change the native one to index.js
and have Web as index.web.js
?
from react-native-geolocation.
PR is open at #32.
from react-native-geolocation.
me tooοΌ may be beacuse I'm in china
from react-native-geolocation.
π This issue has been resolved in version 1.4.1 π
The release is available on:
Your semantic-release bot π¦π
from react-native-geolocation.
Related Issues (20)
- watchPosition options are not working as expected HOT 1
- Package '@react-native-community/geolocation' doesn't seem to be linked HOT 1
- Is it possible to obtain position from external Bluetooth GPS?
- [iOS]Only able to obtain the location immediately when the app starts HOT 4
- Typescript broken in 3.2.0 HOT 3
- App force close when GPS is disabled from the notification drawer. HOT 1
- Property 'sourceInformation' not found on object of type 'CLLocation *'
- Property 'sourceInformation' not found on object of type 'CLLocation *'
- Is there a way to monitor GPS signal status?
- Non-free dependency make this library incompatible with Free Software HOT 1
- Incorrect package="com.reactnativecommunity.geolocation" found in source AndroidManifest.xml: HOT 2
- Merged fix not reflected in latest release HOT 2
- How will using the react-native version below 0.73.0 affect the operation of this library version 3.2.0?
- If you are using React Native v0.60.0+ you must follow these instructions to enable currentLocation: https://git.io/Jf4AR
- IOS background location tracking stops after 40 minutes. HOT 2
- Error on Android when only giving approximate (coarse) location HOT 1
- Passing enableBackgroundLocationUpdates is ignored
- `altitudeAccuracy` never populated on Android
- What number mean of errors in iOS
- Cannot getting location every time in iOS HOT 3
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-geolocation.