Permissions.ACCESS_FINE_LOCATION不起作用

问题描述

我有问题。 我需要使用高位模式。我发现我对此Permissions.ACCESS_FINE_LOCATION

负责

我使用位置的代码

export default class App extends Component {

  async componentDidMount() {

    try {
      const granted = await PermissionsAndroid.request(
      PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,{
              'title': 'Location Permission','message': 'Activeev needs to access your location.'
          }
      )
      console.log('here',granted);
  

运行应用程序时,控制台将返回此信息never_ask_again

我没有对话框窗口,在设置中我的应用程序 有权访问位置。

顺便说一句,我的清单XML是自编辑的,我只能在其中找到粗略的位置权限,而不是精细的位置

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)