[英]Cannot read property 'authorize' of undefined react-native-app-auth
I have an error when I try the example code of this package.尝试此 package 的示例代码时出现错误。 I watched several topics or the Github issue but no solution seems to work
我看了几个主题或 Github 问题,但似乎没有解决方案有效
https://github.com/FormidableLabs/react-native-app-auth/tree/master/Example/AndroidExample https://github.com/FormidableLabs/react-native-app-auth/tree/master/Example/AndroidExample
TypeError: Cannot read property 'authorize' of undefined. TypeError:无法读取未定义的属性“授权”。
Solved:解决了:
Just need to run with react-native run-android
instead of react native start
只需要运行
react-native run-android
而不是react native start
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.