最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

react native - Expo 51 - Why are universal links only working when app is fully terminated and not when its in background? - Sta

programmeradmin1浏览0评论

Since I upgraded expo from 49 to 51 my universal links dont work when app is in background.

I dont use expo-router but still react navigation.

I dont think there is anything wrong with my app.json file or the AASA file, as when the app is terminated the links work just fine (also worked fine before the upgrade).

When app is in background, and I click on the link (in email), I am navigated to the website (that has the AASA file) and then instead of automatically redirecting user to the app, there is only a banner shown 'open app'. Wenn i click on it, it does navigate me to the app, but I am not redirected to the correct page + the params passed in the link are not included. That again, works fine when the app is terminated (automatic redirect to correct page in the app + params). What could be the reason? Thanks !!

发布评论

评论列表(0)

  1. 暂无评论