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

Geolocation.getCurrentPosition在杀掉App后重新打开后,就无法正常拿到经纬度信息了 #176

Closed
chj-damon opened this issue Jan 3, 2024 · 0 comments

Comments

@chj-damon
Copy link

我在开发环境下使用,第一次安装完App后获取位置信息的时候,它会弹出提示,允许之后调用Geolocation.getCurrentPosition方法可以正常拿到经纬度信息,但是如果这时候我把App杀掉重新打开,就再也无法拿到经纬度信息了,但是这个方法也不报错。

请问这种情况是正常的吗?
我还没有在生产环境上试过,不知道生产环境这样操作会不会有问题。

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

1 participant