yorkie / react-native-wechat

🚀 WeChat login, share, favorite and payment for React-Native on iOS and Android platforms (QQ: 336021910)
https://npmjs.org/package/react-native-wechat
MIT License
2.91k stars 713 forks source link

Main Thread Checker: UI API called on a background thread: -[UIApplication openURL:] #347

Open fastalks opened 6 years ago

fastalks commented 6 years ago

plateform :ios

log==》:

Main Thread Checker: UI API called on a background thread: -[UIApplication openURL:] PID: 11905, TID: 3505457, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 21 Backtrace: 4 FGWSpider 0x00000001003b2a00 +[WXApi sendReq:] + 628 5 FGWSpider 0x00000001003a3dec -[RCTWeChat shareToWeixinWithMediaMessage:Title:Description:Object:MessageExt:MessageAction:ThumbImage:MediaTag:callBack:] + 748 6 FGWSpider 0x00000001003a2404 -[RCTWeChat shareToWeixinWithData:thumbImage:scene:callBack:] + 1028 7 FGWSpider 0x00000001003a375c 50-[RCTWeChat shareToWeixinWithData:scene:callback:]_block_invoke + 128 8 FGWSpider 0x00000001005e51c0 119-[RCTImageLoader loadImageWithURLRequest:size:scale:clipped:resizeMode:progressBlock:partialLoadBlock:completionBlock:]_block_invoke_2 + 372 9 FGWSpider 0x00000001005e5c8c __80-[RCTImageLoader decodeImageData:size:scale:clipped:resizeMode:completionBlock:]_block_invoke_2 + 612 10 FGWSpider 0x00000001005e6594 __80-[RCTImageLoader decodeImageData:size:scale:clipped:resizeMode:completionBlock:]_block_invoke_3.309 + 416 11 libdispatch.dylib 0x0000000100fe52cc _dispatch_call_block_and_release + 24 12 libdispatch.dylib 0x0000000100fe528c _dispatch_client_callout + 16 13 libdispatch.dylib 0x0000000100ff13dc _dispatch_queue_override_invoke + 984 14 libdispatch.dylib 0x0000000100ff69d0 _dispatch_root_queue_drain + 624 15 libdispatch.dylib 0x0000000100ff66f4 _dispatch_worker_thread3 + 136 16 libsystem_pthread.dylib 0x000000018119706c _pthread_wqthread + 1268 17 libsystem_pthread.dylib 0x0000000181196b6c start_wqthread + 4

xclidongbo commented 4 years ago

me too.