镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Aug 17, 2023. It is now read-only.
This repository was archived by the owner on Aug 17, 2023. It is now read-only.

Unable to get "OPEN" App banner #248

Open

Description

@Hanzofm

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

Activity

  1. changed the title [-]Unable to get Open in App banner[/-] [+]Unable to get "Open in" App banner[/+] on Jun 1, 2021
  2. changed the title [-]Unable to get "Open in" App banner[/-] [+]Unable to get "OPEN" App banner[/+] on Jun 2, 2021
  3. Hanzofm commented on Jun 2, 2021

    @Hanzofm
    Author

    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?

  4. Hanzofm commented on Jun 3, 2021

    @Hanzofm
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions