ionic-team / ionic-plugin-deeplinks

Handle deeplinks into your Ionic/Cordova apps from Universal Links, App Links, and Custom URL schemes. For those using Ionic 2, there are some nice goodies that make life easier.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to get "OPEN" App banner

Hanzofm opened this issue · comments

Hi,

I am trying to implement this plugin on my app and I can't accomplish completly.

On iOS simulator(14.5) when I do for example on a terminal:

xcrun simctl openurl booted https://my.domain.com

or

"Create a calendar event with the link on Notes"

The app is opened correctly and the events has fired.

Then I put https://my.domain.com on the address bar in the safari browser and go but it not launch the app and not shows the "open in" app banner.

I know that if the universal link is fired trought address bar browser not works but, it should be show the "open in" banner no?

Is not necessary that the app be realesed on app store no?

Thanks for the help.

My setup:
Plugin istalle with this command:

cordova plugin add ionic-plugin-deeplinks --variable URL_SCHEME=myapp --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=my.domain.com

-On https://my.domain.com/.well-known/apple-app-site-association have this file:

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "MYTEAMID.com.my.bundleid.com",
                "paths": [
                    "*"
                ]
            }
        ]
    }
}

Is mandatory to have the file on host root both?

-The AASA validator http://branch.io/resources/aasa-validator returns all checks to OK.

-On my config.xml have:

        <config-file parent="com.apple.developer.associated-domains" target="*-Debug.plist">
            <array>
                <string>applinks:my.domain.com</string>
            </array>
        </config-file>
        <config-file parent="com.apple.developer.associated-domains" target="*-Release.plist">
            <array>
                <string>applinks:my.domain.com</string>
            </array>
        </config-file>

-Other environment info:

cordova-ios 6.2
cordova-cli: 10.0.0
ionic: 5

I have discovered that the "open in" banner appears when I click on input and appears the keyboard... I don’t know if its related but the website is also an ionic angular app

Any idea?