Giter VIP home page Giter VIP logo

Comments (3)

nuomi1 avatar nuomi1 commented on May 27, 2024

QQ互联将于2020年7月6日进行universal link的校验工作,请开发者关注!

from monkeyking.

axinger avatar axinger commented on May 27, 2024

QQ互联将于2020年7月6日进行universal link的校验工作,请开发者关注!

我的意思是
比如 MonkeyKing 微信 universalLink:nil, 是可以正常分享的,只是会显示`未验证应用',这个是正常的;

这个是QQ sdk,中说明了 universalLink 可以为nil,分享链接,是可以分享的,也是会显示`未验证应用',

/**
* 初始化TencentOAuth对象(>=3.3.7)
* \param appId 不可为nil,第三方应用在互联开放平台申请的唯一标识
* \param universalLink 可以为nil,第三方应用在互联开放平台注册的UniversalLink,和bundleID一一对应(当为nil时,互联平台会按规则生成universallink,详见官网说明)
* \param delegate 不可为nil,第三方应用用于接收请求返回结果的委托对象
* \return 初始化后的授权登录对象
*
****【使用说明】*****
* 1、支持BundleId与UniversalLink的一一对应,主要目的“是为了解决应用的iPhone版本和iPad HD版本共用同一个AppId,导致同时安装情况下的跳转问题"。
* 2 、由于手Q版本在 >=8.1.8 后才支持了这种对应方式,所以一旦使用,“务必做到”及时知会用户升级手Q版本。
****
*/
- (id)initWithAppId:(NSString *)appId
   andUniversalLink:(NSString *)universalLink
        andDelegate:(id<TencentSessionDelegate>)delegate;

但是,MonkeyKing QQ universalLink 为 nil, 分享文字可以,但是分享链接 media: .url(URL(string: "http://www.apple.com/cn")!) 会出现以下错误,不能分享出去
图片

是不兼容bug吗?

from monkeyking.

nuomi1 avatar nuomi1 commented on May 27, 2024

实际上 Universal Link 不可以是 nil。
QQ 的 Universal Link 是有规则的,不填就会按照预设规则去生成,跳转 QQ 时需要携带这部分参数,但是 MonkeyKing 并没有这个兜底的逻辑。
目前 MonkeyKing 支持 QQ Universal Link,但是 nil 时采用的是旧版逻辑,无法兼容现在的 QQ app 的逻辑,建议抽时间处理一下。

from monkeyking.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.