[英]How to start iOS application from safari browser after fitbit login
After finishing the fitbit login, I want to go back to my application, but I get an alert: 在完成fitbit登录后,我想返回到我的应用程序,但是我收到警报:
Cannot open application
无法打开应用程序
I added the url scheme
to the info.plist. 我将
url scheme
添加到了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://
What am I missing? 我想念什么? Help is very appreciated.
非常感谢您的帮助。
The issue is that you defined the scheme in the Info.plist
file with ://
appended. 问题是您在
Info.plist
文件中定义了方案,并附加了://
。
The scheme should be specified by itself, without the ://
. 该方案应自行指定,不带
://
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.