TencentCloud / TIMSDK

Tencent Cloud Chat features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication.
https://trtc.io/products/chat
2.54k stars 2.77k forks source link

初始化失败 #1400

Open Tangpriest opened 1 week ago

Tangpriest commented 1 week ago

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]