llfbandit / app_links

Android App Links, Deep Links, iOs Universal Links and Custom URL schemes handler for Flutter.
https://pub.dev/packages/app_links
Apache License 2.0
176 stars 68 forks source link

Universal links with iOS not working. #1

Closed babulpatel1309 closed 3 years ago

babulpatel1309 commented 3 years ago

Steps to reproduce

  1. Created apple-app-site-association file with appropriate content.
  2. Pasted it in .well-known directory as per the requirements
  3. Updated code from xcode to support associated domains
  4. Sent an verification email to verify the universal link
  5. Clicked on verify email which took me to Safari instead of installed application

apple-app-site-association file content


{
    "applinks": {
        "apps": [],
        "details": [{
            "appID": "TEAMID+BUNDLE_ID",
            "paths": ["*"]
        }]
    }
}

iOS version: 14.1

llfbandit commented 3 years ago

Well, there's almost no code in this package...

Are you sure about those requirements?

In your ios/Runner/Runner.entitlements, does the xml look like this?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.developer.associated-domains</key>
    <array>
        <string>applinks:*.yourdomain.com</string>
    </array>
</dict>
</plist>