我刚刚在我的应用程序上集成了深度链接,一切正常。如果已安装,该应用程序会打开,如果没有安装,则会转到网站。
来自 Whatsapp、浏览器、电子邮件等的链接工作正常,但来自 Instagram 的链接由于某种原因不起作用。
你们知道我该如何让它发挥作用吗?我相信它与 infoPlist 相关
这是我在 app.json 上的 infoPlist:
"infoPlist": {
"NSContactsUsageDescription": "Allow our application to access your contacts so you can invite people to events",
"NSLocationWhenInUseUsageDescription": "Allow our application to use your location so you can see events around you",
"NSPhotoLibraryUsageDescription": "Allow our application to access your photos so you can upload photos to your events and your profile",
"CFBundleAllowMixedLocalizations": true,
"UIRequiresFullScreen": true,
"LSApplicationQueriesSchemes": ["fb","fbapi","fbauth2","fb-messenger-api","instagram","tiktok","comgooglemaps","twitter"]
}
你找到解决办法了吗? 我刚刚添加了与 expo 的深层链接,也遇到了这个问题:(