我使用https://www.npmjs.com/package/create-react-native-web-app创建了项目。
要使Okta响应本机集成,必须运行Expo SDK。 我添加了expo依赖性SDK33。
当我运行“ expo start --android”时,捆绑包完成。发布应用程序时出现错误。
找不到变量:setTimeout
http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:55052:39 http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:65839:7 loadModuleImplementation @ http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:276:14 http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:47903:33 loadModuleImplementation @ http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:276:14 http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:47885:53 loadModuleImplementation @ http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:276:14 http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:1548:48 loadModuleImplementation @ http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:276:14 http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:1381:36 loadModuleImplementation @ http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:276:14 guardedLoadModule @ http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:152:47 全局代码@ http://192.168.22.100:19001/index.bundle?platform=android&dev=true&minify=false&hot=false:119156:4 跑 NativeRunnable.java handleCallback Handler.java:873 dispatchMessage Handler.java:99 dispatchMessage MessageQueueThreadHandler.java:29 环 Looper.java:193 跑 MessageQueueThreadImpl.java:232 跑 Thread.java:764
将expo SDK升级到33。