React native React Native Error undefined不是对象(正在评估';navigator.userAgent.indexOf';)

React native React Native Error undefined不是对象(正在评估';navigator.userAgent.indexOf';),react-native,react-native-android,React Native,React Native Android,我们在使用react native init创建应用程序时遇到了这个问题 错误是“undefined不是对象(评估'navigator.userAgent.indexOf')”。当我们在浏览器中进行远程调试时,不会发生这种情况。在那种情况下运行良好 另外,当我们将其构建为独立的APK时,应用程序立即崩溃。嘿,你能找到解决此问题的方法吗。我正面临着完全相同的情况。可能与呵呵重复。这个问题是几个月前我提出的。我想也许他们已经知道了。

我们在使用react native init创建应用程序时遇到了这个问题

错误是“undefined不是对象(评估'navigator.userAgent.indexOf')”。当我们在浏览器中进行远程调试时,不会发生这种情况。在那种情况下运行良好


另外,当我们将其构建为独立的APK时,应用程序立即崩溃。

嘿,你能找到解决此问题的方法吗。我正面临着完全相同的情况。可能与呵呵重复。这个问题是几个月前我提出的。我想也许他们已经知道了。