TencentCloud/TIMSDK

初始化失败

Opened this issue · 1 comments

issue标题:初始化失败

【ReactNative】-【0.2.3】:【在Expo项目里面初始化失败】
issue内容:

【当前现象】:在Expo项目里面初始化失败
【集成包】:reactnative-tim.js
【机型】:小米13 Expo Go
【之前版本有无此问题】:不确定
【有无日志或者描述、截图】:
TypeError: Cannot read property 'call' of null, js engine: hermes
› Reloading apps
Android Bundled 81ms node_modules/expo-router/entry.js (1 module)
LOG _addGroupListener_addGroupListener_addGroupListener_addGroupListener
LOG *******
LOG sdkAppID 1400509832
LOG logLevel 3
LOG isUIKit undefined
ERROR TypeError: Cannot read property 'call' of null, js engine: hermes
at ContextNavigator (http://192.168.31.245:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:170231:24)
at ExpoRoot (http://192.168.31.245:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:170187:28)
at App
at ErrorToastContainer (http://192.168.31.245:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:259541:24)
at ErrorOverlay
at withDevTools(ErrorOverlay) (http://192.168.31.245:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:259260:27)
at RCTView
at View (http://192.168.31.245:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:40703:43)
at RCTView
at View (http://192.168.31.245:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:40703:43)
at AppContainer (http://192.168.31.245:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:40546:25)
at main(RootComponent) (http://192.168.31.245:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:119655:28)
LOG token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2MjIwNzMxMWQ2YzdiMTQ5Zjk4NDgyMmUiLCJuaWNrTmFtZSI6Ik1lc3NpXzEiLCJtb2JpbGUiOiIxODYyNTI5NDMzOCIsImlhdCI6MTcxNTU4ODIyOSwiZXhwIjoxNzQ3MTI0MjI5fQ.xI0Ip0HkUieeSmZOfesJ2T-N4vK8w1lhMBTN2nfxTno
ERROR Error fetching data: [TypeError: Cannot read property 'setUserInfo' of undefined]

我也遇到相同的问题