Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48981

Unable to get "OPEN" App banner

$
0
0

Hi,

I am trying to implement this plugin to get Universal links functionalities 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” 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-angular: 5

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48981

Trending Articles