Expo iOS Universal Links验证通过但无法唤起应用求助
Expo项目Universal Links集成问题:重置密码流程无法唤起应用
我正在Expo项目中集成Universal Links,目标是让重置密码流程在移动端应用和PWA中正常运行。已经通过iOS开发者工具及Branch.io验证了apple-app-site-association文件的配置(包括权限、MIME类型等),但从邮件或Chrome打开链接时,仍会跳转到Chrome中的HTTP请求,目前陷入僵局。结合已完成的验证工作,我怀疑问题可能出在路径/正则表达式配置上,但暂时无法确定。需要说明的是,我没有在应用中单独配置处理程序,而是尝试通过Expo Router来处理链接跳转。
相关信息
要打开的URL
https://staging.app.cultivateprm.com/reset-password?token=asdfasd84654s6d5f4
apple-app-site-association配置
{ "applinks": { "apps": [], "details": [ { "appIDs": [ "******.com.*****.cultivate" ], "components": [ { "/": "/reset-password", "comment": "Matches any URL with a path that starts with reset-password." }, { "/": "/login", "comment": "Matches login." }, { "/": "/*", "comment": "Matches any other URL." } ], "paths": [ "/", "/reset-password", "/*" ] } ] }, "activitycontinuation": { "apps": [ "******.com.*****.cultivate" ] }, "webcredentials": { "apps": [ "******.com.*****.cultivate" ] } }
entitlements配置
<plist version="1.0"> <dict> <key>com.apple.developer.associated-domains</key> <array> <string>applinks:staging.app.cultivateprm.com</string> <string>applinks:app.cultivateprm.com</string> </array> </dict> </plist>
更新测试结果
进一步测试后发现,点击屏幕右上角的“Open”按钮时,流程看似正常,但应用仍无法被唤起。
内容的提问来源于stack exchange,提问作者Doug Niccum
相关产品推荐
相关产品推荐

