OGeek|极客世界-中国程序员成长平台

标题: ios - fitbit登录后如何从Safari浏览器启动iOS应用程序 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-11 17:47
标题: ios - fitbit登录后如何从Safari浏览器启动iOS应用程序

完成 fitbit 登录后,我想回到我的应用程序,但我收到警报:

Cannot open application

我将 url 方案 添加到 info.plist。

this is info.plist details:

 <array>
    <dict>
        <key>CFBundleTypeRole</key>
        <string>Editor</string>
        <key>CFBundleURLName</key>
        <string>applinks:com.360medlink.Tavie</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>fitbittavie://</string>
        </array>
    </dict>
</array>
and the redirect url in fitbit dev settings is fitbittavie://

我错过了什么?非常感谢您的帮助。

enter image description here



Best Answer-推荐答案


问题是您在 Info.plist 文件中定义了方案,并附加了 ://

方案应自行指定,不带://

关于ios - fitbit登录后如何从Safari浏览器启动iOS应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39937569/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4