[英]React Native : Cannot read property 'isConnected' of undefined (detect app connection)
[英]Cannot read property 'authorize' of undefined react-native-app-auth
嘗試此 package 的示例代碼時出現錯誤。 我看了幾個主題或 Github 問題,但似乎沒有解決方案有效
https://github.com/FormidableLabs/react-native-app-auth/tree/master/Example/AndroidExample
TypeError:無法讀取未定義的屬性“授權”。
解決了:
只需要運行react-native run-android
而不是react native start
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.