当前位置:网站首页>Swift QQ authorized login pit set

Swift QQ authorized login pit set

2022-07-27 17:06:00 CAir2

First, refer to the official website documentation :https://wiki.connect.qq.com/sdk%e4%b8%8b%e8%bd%bd

because QQ The official website documentation is very xxx, It is recommended to integrate wechat first , Wechat documents are complete . This can be avoided QQ Some of the pit .
If you use unionid, Be sure to change the description : https://wiki.connect.qq.com/unionid%e4%bb%8b%e7%bb%8d

The current version is 3.5.7 As an example, start the integration

 Insert picture description here

Note: You have to set Universal Links, Otherwise, the callback may not trigger

Integrate sdk, At this time, the official website needs some attention , as follows :

1. libstdc++.dylib No need
2. Bridge import sdk Will report a mistake :https://www.jianshu.com/p/d053e54a2542
3. Must be in SceneDelegate Inside processing Universal Links and handleOpen Url, Otherwise, the callback will not trigger

 Insert picture description here
If you don't deal with it here handleOpen, Then code scanning login will not trigger ( You can refer to wechat QQ payment ).
 Insert picture description here

The bridge header file contains :

#import <TencentOpenAPI/TencentOpenApiUmbrellaHeader.h>
原网站

版权声明
本文为[CAir2]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/208/202207271454354960.html