Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watchPosition is not yet implemented #36

Closed
tiyunchen opened this issue Aug 21, 2018 · 15 comments
Closed

watchPosition is not yet implemented #36

tiyunchen opened this issue Aug 21, 2018 · 15 comments

Comments

@tiyunchen
Copy link

i test in my code and also test resource code , it alway show this warning, have any solution

@oakis
Copy link
Contributor

oakis commented Aug 21, 2018

"watchPosition is not yet implemented" basically means that the method watchPosition does not exists yet. Not 100% sure but that is what the message says.

@Agontuk
Copy link
Owner

Agontuk commented Aug 21, 2018

You're probably using an old version, try the 1.1.0 version.

@tiyunchen
Copy link
Author

thank you , i will try it

@tiyunchen
Copy link
Author

i can't install it show couldn't find match

@tiyunchen
Copy link
Author

npm ERR! notarget No matching version found for react-native-geolocation-service@^1.1.0

@oakis
Copy link
Contributor

oakis commented Aug 21, 2018

Just tried it now and I don´t have any problems.

$ npm install react-native-geolocation-service@^1.1.0
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN test@1.0.0 No description
npm WARN test@1.0.0 No repository field.

+ react-native-geolocation-service@1.1.0
added 1 package from 1 contributor in 1.638s
[+] no known vulnerabilities found [1 packages audited]

@tiyunchen
Copy link
Author

D:\reactNativeTestWork\ridecomfortapp>npm install react-native-geolocation-service@^1.1.0 npm ERR! code ETARGET npm ERR! notarget No matching version found for react-native-geolocation-service@1.1.0 npm ERR! notarget In most cases you or one of your dependencies are requesting

@tiyunchen
Copy link
Author

so wired

@oakis
Copy link
Contributor

oakis commented Aug 21, 2018

What if you omit @^1.1.0?

@tiyunchen
Copy link
Author

tiyunchen commented Aug 21, 2018

it's ok when i omit @^1.1.0 but npm install react-native-geolocation-service@^1.0.4 is fine

@tiyunchen
Copy link
Author

i can only install package version is 1.0.4, execute npm install react-native-geolocation-service return version is 1.0.4 . i am in china.

@tiyunchen
Copy link
Author

i know why `Administrator@PC-20180412BLNS MINGW64 /d/reactNativeTestWork/vibration (master)
$ npm info react-native-geolocation-service
react-native-geolocation-service@1.0.4 | MIT | deps: none | versions: 5
React native geolocation service for iOS and android
https://github.com/Agontuk/react-native-geolocation-service
dist
.tarball http://registry.npm.taobao.org/react-native-geolocation-service/download/react-native-geolocation-service-1.0.4.tgz
.shasum: 02ca4ddec147ed4cb0c4cc8106eb7c6f00708818
maintainers:

@tiyunchen
Copy link
Author

i install success , my method is git clone your last version in my node_module

@tiyunchen
Copy link
Author

and it works

@Agontuk
Copy link
Owner

Agontuk commented Sep 3, 2018

1.1.0 is published on npm, don't know why this is happening. Is this a region specific issue ? I'll close this for now, feel free to open if you face further issue.

@Agontuk Agontuk closed this as completed Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants