在react-native项目中出现这个问题

解决办法:

requestPerssion()
        .then(_=>{
            this.initRecognizer();
        })
        .catch(e=>{})

把 .catch(e=>{}) 加上就好了

相关文章:

  • 2022-12-23
  • 2021-10-02
  • 2022-12-23
  • 2021-05-21
  • 2021-10-18
  • 2021-11-15
猜你喜欢
  • 2021-07-21
  • 2021-04-22
  • 2021-04-26
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
相关资源
相似解决方案