avioli / uni_links

Flutter plugin for accepting incoming links.
BSD 2-Clause "Simplified" License
563 stars 303 forks source link

Deep link not opening app on iOS #167

Open dawid-niedzwiecki opened 1 year ago

dawid-niedzwiecki commented 1 year ago

I'm using https scheme and am testing on my iPhone 8 device which is running iOS 15.6

This is my Runner.entitlements:

    <key>com.apple.developer.associated-domains</key>
    <array>
        <string>applinks:ALIAS.APPNAME.pl</string>
        <string>applinks:share.APPNAME.pl</string>
    </array>
    <key>FirebaseDynamicLinksCustomDomains</key>
    <array>
        <string>https://share.APPNAME.pl</string>
                 <string>https://ALIAS.APPNAME.pl</string>
    </array>
    <key>FlutterDeepLinkingEnabled</key>
    <true/>

My Info.plist:

    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Editor</string>
            <key>CFBundleURLName</key>
            <string>ALIAS.APPNAME.pl</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>http</string>
                <string>https</string>
                <string>ALIAS</string>
            </array>
        </dict>
    </array>

My Firebase Dynamic Link configuration looks like this: image image

And I try opening a url looking like this: https://ALIAS.APPNAME.pl/?offerId=2137

on Android it works perfectly fine, but on iOS it doesn't work (opens browser instead of the installed app/appstore page).

AlexPopaUpcode commented 1 year ago

@dawid-niedzwiecki Have you found a solution?