Coder Social home page Coder Social logo

Comments (8)

janicduplessis avatar janicduplessis commented on August 25, 2024 1

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.

puckey avatar puckey commented on August 25, 2024

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.

Taym95 avatar Taym95 commented on August 25, 2024

I would like to work on this issue if no one is working on it!

from react-native-geolocation.

matt-oakes avatar matt-oakes commented on August 25, 2024

@Taym95 Sure! Feel free to open a PR with a proposed fix.

from react-native-geolocation.

matt-oakes avatar matt-oakes commented on August 25, 2024

@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.

matt-oakes avatar matt-oakes commented on August 25, 2024

PR is open at #32.

from react-native-geolocation.

dohard-ma avatar dohard-ma commented on August 25, 2024

me too, may be beacuse I'm in china

from react-native-geolocation.

react-native-community-bot avatar react-native-community-bot commented on August 25, 2024

πŸŽ‰ 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.