简体   繁体   English

无法读取未定义的 react-native-app-auth 的属性“授权”

[英]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.

相关问题 React Native:无法读取未定义的属性“ isConnected”(检测应用程序连接) - React Native : Cannot read property 'isConnected' of undefined (detect app connection) 无法读取属性 '#<webview> ' 未定义的反应本机</webview> - Cannot read property '#<WebView>' of undefined react native 反应本机“无法读取未定义的属性” AsyncStorage - React native 'Cannot read property of undefined' AsyncStorage React Native无法读取属性未定义错误 - React Native cannot read property undefined error React Native 无法读取未定义的属性“导航” - React Native Cannot read property 'navigate' of undefined React App 无法读取未定义的属性“地图” - React App cannot read property 'map' of undefined 无法在Google Oauth中阅读未定义的属性&#39;authorize&#39;吗? - Cannot read property 'authorize' of undefined in Google Oauth? 无法读取未定义的属性“auth” - Cannot read property 'auth' of undefined 反应本机如何处理无法读取未定义的属性“未定义” - react native how to deal with Cannot read property 'undefined' of undefined 尝试执行本机应用程序时出现“错误无法读取未定义的属性‘拆分’” - "error Cannot read property 'split' of undefined" in trying to execute react-native app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM