RxReader / tencent_kit

Flutter版QQ登录/分享
MIT License
235 stars 63 forks source link

安卓正常IOS无法使用 #40

Closed virskor closed 3 years ago

virskor commented 3 years ago

{QQ分享:调试参数, }

基本就是这样,打开QQ,然后安全校验中,返回APP 然后又没有然后了,在点击还是这样 我确保universal links生效了 2020-12-22 10:29:57.364644+0800 Runner[11640:2442972] flutter: 2020-12-22:10:29:57:366 [QQAPI] OpenApi.m:576 registerApp,appid = 101923808 2020-12-22:10:29:57:367 [QQAPI] QQApi.m:177 registerWithMetadata - start 2020-12-22:10:29:57:367 [QQAPI] TencentOAuth.m:209 2020-12-22:10:29:57:367 [QQAPI] QQPasteboardMgr.m:236 tencent oauth init finish, appid=101923808 txappid=101923808 hasdelegate=1. QQArrayPasteboard objectArray : init pasteboard 2020-12-22:10:29:57:368 [QQAPI] QQApi.m:259 send message 2020-12-22:10:29:57:372 [QQAPI] QQApiMessageAndUrlConverter.m:151 urlWithMessage, share with :QQApiNewsObject 2020-12-22:10:29:57:373 [QQAPI] QQApiMessageAndUrlConverter.m:1174 large data's location is 「url」 2020-12-22:10:29:57:374 [QQAPI] QQApi.m:281 begin open url 2020-12-22:10:29:57:376 [QQAPI] QQPasteboardMgr.m:238 QQArrayPasteboard objectArray : init pasteboard end 2020-12-22:10:29:57:376 [QQAPI] ApiTool.m:519 on +[TcApiTool openUniversallinkIfNeed:], use univeral link, ifneed=0 sdkcfg=0 apicheck=1 2020-12-22:10:29:57:396 [QQAPI] QQPasteboardMgr.m:206 QQArrayPasteboard replaceObjectAtIndex 2020-12-22 10:29:57.401489+0800 Runner[11640:2442803] nil host used in call to allowsSpecificHTTPSCertificateForHost 2020-12-22 10:29:57.401542+0800 Runner[11640:2442803] nil host used in call to allowsAnyHTTPSCertificateForHost: 2020-12-22 10:29:57.401697+0800 Runner[11640:2442964] NSURLConnection finished with error - code -1002 2020-12-22:10:29:57:413 [QQAPI] QQApi.m:180 registerWithMetadata - end 2020-12-22 10:30:00.205112+0800 Runner[11640:2442972]

virskor commented 3 years ago
NSAppTransportSecurity
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

已经配置

droplet-js commented 3 years ago

LSApplicationQueriesSchemes 呢?你可以现将你应用配置到这个项目里的example上跑一下

virskor commented 3 years ago

2020-12-22:19:45:29:331 [QQAPI] QQApi.m:398 begin open url 2020-12-22:19:45:29:332 [QQAPI] ApiTool.m:519 on +[TcApiTool openUniversallinkIfNeed:], use univeral link, ifneed=0 sdkcfg=0 apicheck=1 2020-12-22 19:45:29.362182+0800 Runner[505:24219] nil host used in call to allowsSpecificHTTPSCertificateForHost 2020-12-22 19:45:29.362272+0800 Runner[505:24219] nil host used in call to allowsAnyHTTPSCertificateForHost: 2020-12-22 19:45:29.362503+0800 Runner[505:30543] NSURLConnection finished with error - code -1002 2020-12-22 19:45:31.644694+0800 Runner[505:30543] PBItemCollectionServicer connection disconnected.

virskor commented 3 years ago

LSApplicationQueriesSchemes 我已经加全了,包括example里面的,我看到example 里面没有设置associated domains 这个问题要在设置 associated domains 才会出现。如果不设置的话就会出现 确定授权...使用手机QQ进行分享吗?点确定还能分享。反而如果设置了universal links生效后,就会一直安全校验。

virskor commented 3 years ago

@v7lin

virskor commented 3 years ago

我知道了 提高pinfolist里的注册优先级就好了,是冲突了

zhouwenshuai1993 commented 3 years ago

我知道了 提高pinfolist里的注册优先级就好了,是冲突了 怎么提高啊,请指教一下

songpangyu commented 2 years ago

我知道了 提高pinfolist里的注册优先级就好了,是冲突了

可以详细说一下,最后怎么解决的嘛?