RxReader / tencent_kit

Flutter版QQ登录/分享
MIT License
236 stars 64 forks source link

ios 用户大量崩溃 #45

Open zhancheng opened 3 years ago

zhancheng commented 3 years ago

0 Thread

NSInvalidArgumentException

*** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: pasted_string)


CoreFoundation | ___exceptionPreprocess + 220
-- | --
1 libobjc.A.dylib | objc_exception_throw + 60
2 CoreFoundation | -[__NSCFString characterAtIndex:].cold.1
3 CoreFoundation | -[__NSDictionaryM setObject:forKey:].cold.3
4 CoreFoundation | -[__NSDictionaryM setObject:forKey:] + 904
5 tencent_kit | +[QQApiMessageAndUrlConverter setPasteBoardPrevImageData:filedata:dataArray:arkData:] + 148
6 tencent_kit | +[QQApiMessageAndUrlConverter urlWithImageObject:type:arkObj:] + 732
7 tencent_kit | +[QQApiMessageUtil URLWithMiniMessage:] + 56
8 tencent_kit | +[QQApi sendMessage:] + 232
9 tencent_kit | +[QQApiInterface sendReq:] + 88
10 tencent_kit | -[TencentKitPlugin shareImage:result:] + 424
11 tencent_kit | -[TencentKitPlugin handleMethodCall:result:] + 1192
12 Flutter | 0x00000001072c4000 + 6032992
13 Flutter | 0x00000001072c4000 + 229592
14 Flutter | 0x00000001072c4000 + 3362700
15 Flutter | 0x00000001072c4000 + 2973076
16 Flutter | 0x00000001072c4000 + 2980852
17 CoreFoundation | ___CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
18 CoreFoundation | ___CFRunLoopDoTimer + 1064
19 CoreFoundation | ___CFRunLoopDoTimers + 328
20 CoreFoundation | ___CFRunLoopRun + 1936
21 CoreFoundation | CFRunLoopRunSpecific + 600
22 GraphicsServices | GSEventRunModal + 164
23 UIKitCore | -[UIApplication _run] + 1072
24 UIKitCore | UIApplicationMain + 168
25 Runner | 0x0000000104c80000 + 24324
26 libdyld.dylib | _start + 4

flutter 版本 2.0.3

image

大量用户遇到这个问题,望修复,多谢~

droplet-js commented 3 years ago

-_-!!! 这个坑,我去看看QQ SDK有没有版本升级

zhancheng commented 3 years ago

@v7lin 有劳~

zhancheng commented 3 years ago

@v7lin 我看官网最新的ios版本是3.5.3 是可以更新的版本吗?

jacksonon commented 3 years ago

造成问题的根本原因

droplet-js commented 3 years ago

已经升级 SDK 了,手上木有相应测试条件,麻烦你们先帮忙测试一下。测试结果记得通知我,谢谢!

dependencies:
  tencent_kit:
    git:
      url: https://github.com/rxreader/tencent_kit.git