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

扫描超时 #87

Open
tangxunT opened this issue Jul 13, 2020 · 3 comments
Open

扫描超时 #87

tangxunT opened this issue Jul 13, 2020 · 3 comments

Comments

@tangxunT
Copy link

按照文档接入后,一直回调onScanTimeout()

@tangxunT
Copy link
Author

找到原因了。
设备环境:一加手机5(OnePlus 5),Android 10。
原因:Manifest.xml中只声明了android.permission.ACCESS_COARSE_LOCATION权限,缺少android.permission.ACCESS_FINE_LOCATION权限。
解决方法:添加上android.permission.ACCESS_FINE_LOCATION就ok了。
备注:我clone你的代码,看了baseble和newapp这两个module,只是声明了ACCESS_COARSE_LOCATION权限,没有声明android.permission.ACCESS_FINE_LOCATION权限,但运行在我的手机上却没问题。新建项目按照集成文档集成后该库后,不声明android.permission.ACCESS_FINE_LOCATION却一直扫描超时,不知为何?

@Vincentqyw
Copy link

相同的问题,请问您解决了吗?如果解决了,请问是如何解决的,谢谢!

@Vincentqyw
Copy link

我尝试将安卓 SDK Version 改为 28 就可以了,这个项目貌似不支持新版本的安卓API

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

2 participants