Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Unable to get "OPEN" App banner #248

Open
Hanzofm opened this issue Jun 1, 2021 · 2 comments
Open

Unable to get "OPEN" App banner #248

Hanzofm opened this issue Jun 1, 2021 · 2 comments

Comments

@Hanzofm
Copy link

Hanzofm commented Jun 1, 2021

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

@Hanzofm Hanzofm changed the title Unable to get Open in App banner Unable to get "Open in" App banner Jun 1, 2021
@Hanzofm Hanzofm changed the title Unable to get "Open in" App banner Unable to get "OPEN" App banner Jun 2, 2021
@Hanzofm
Copy link
Author

Hanzofm commented Jun 2, 2021

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?

@Hanzofm
Copy link
Author

Hanzofm commented Jun 3, 2021

This is related with nordnet/cordova-universal-links-plugin#68

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant