Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在iOS端,调用isQQInstalled或者isWeChatInstalled报错,甚至闪退 #133

Open
inkCrazy opened this issue Sep 28, 2019 · 0 comments

Comments

@inkCrazy
Copy link

inkCrazy commented Sep 28, 2019

Main Thread Checker: UI API called on a background thread: -[UIApplication canOpenURL:]
PID: 4961, TID: 3855340, Thread name: (none), Queue name: com.facebook.react.JShareModuleQueue, QoS: 0
Backtrace:
4 SecurityPlatApp 0x0000000102435734 +[JSHAREService isWeChatInstalled] + 108
5 SecurityPlatApp 0x000000010242fbcc -[RCTJShareModule isWeChatInstalled:] + 108
6 CoreFoundation 0x00000001a4596010 + 144
7 CoreFoundation 0x00000001a4477be0 + 292
8 CoreFoundation 0x00000001a4478814 + 60
9 SecurityPlatApp 0x000000010212f1c8 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 2064
10 SecurityPlatApp 0x00000001021c66ac ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 664
11 SecurityPlatApp 0x00000001021c621c ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$0clEv + 144
12 SecurityPlatApp 0x00000001021c6180 ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 28
13 libdispatch.dylib 0x00000001034936f4 dispatch_call_block_and_release + 24
14 libdispatch.dylib 0x0000000103494c78 dispatch_client_callout + 16
15 libdispatch.dylib 0x000000010349cbf4 dispatch_lane_serial_drain + 712
16 libdispatch.dylib 0x000000010349d8b4 dispatch_lane_invoke + 456
17 libdispatch.dylib 0x00000001034a777c dispatch_workloop_worker_thread + 1148
18 libsystem_pthread.dylib 0x00000001a41ae114 pthread_wqthread + 304
19 libsystem_pthread.dylib 0x00000001a41b0cd4 start_wqthread + 4
2019-09-28 09:11:23.402 [tid:com.facebook.react.JavaScript] wechat is intalled
_____________________
2019-09-28 09:11:23.403 [tid:com.facebook.react.JavaScript] QQ is intalled------------------------------------

image

@inkCrazy inkCrazy changed the title 在iOS端,componentWillMount或者componentDidMount方法下调用isWeChatInstalled报错,甚至闪退 在iOS端,调用isQQInstalled或者isWeChatInstalled报错,甚至闪退 Sep 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant