重力感应 真机提示 Device Motion Event request permission:denied

重力感应 真机提示 Device Motion Event request permission:denied
请问如何解决!谢谢

参考下这个帖子
https://forum.cocos.org/search?q=%E9%87%8D%E5%8A%9B%E6%84%9F%E5%BA%94

I looked at most of the issues you mentioned but I couldn’t find a concrete solution to this problem. Is the game supposed to ask for permission using DeviceMotionEvent.requestPermission at the beginning?

你好,这个链接跳转是一个搜索列表,第一个帖子没有说明如何解决这个提示