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

注册传感器返回false #34

Open
zp253908058 opened this issue Mar 2, 2020 · 6 comments
Open

注册传感器返回false #34

zp253908058 opened this issue Mar 2, 2020 · 6 comments

Comments

@zp253908058
Copy link

小米8屏幕指纹版Android版本10,compileSdkVersion=29,targetSdkVersion=29注册传感器返回false,compileSdkVersion=28,targetSdkVersion=28返回true,请问是什么原因呢?

@jiahongfei
Copy link
Owner

注册那个传感器,我们线上没有这个问题啊

@fuxingkai
Copy link

您好,这个有找到怎么了吗,好像升级成android x之后传感器就不行了

@zp253908058
Copy link
Author

您好,这个有找到怎么了吗,好像升级成android x之后传感器就不行了

<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />

@fuxingkai
Copy link

您好,这个有找到怎么了吗,好像升级成android x之后传感器就不行了

<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />

加了权限之后还是计步不了,您那边有这种情况?怎么解决?

@fuxingkai
Copy link

可以了,感谢,还需要动态申请一下那个权限

@jhwsx
Copy link

jhwsx commented Apr 8, 2021

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

4 participants