简体   繁体   中英

ios universal redirection link is not working on real device, but working on emulator

I am using univeral link in react native. It working on ios emulator but not working on real device. Follow is apple-app-site-association file.

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "L439KYBPK7.com.****.****",
                "paths": [ "/auth/redirect"]
            }
        ]
    }
}

Follow is xcode configuration:

应用链接截图 url 方案截图

As I said, app is working on ios emulator(13.4.1) but not working on real device(13.4.1), that is, after oauth complete, no redirect to app on real device. I hope your help. Thanks for your advance.

Just check supporting your domain for AAPA file here:

https://branch.io/resources/aasa-validator/

It can take time for indexing AAPA file on device. Remove and install application again.

And you can easy run Deeplink on emulator. Just execute in your terminal: xcrun simctl openurl booted YOUR_URL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM