uni_links icon indicating copy to clipboard operation
uni_links copied to clipboard

Universal Links not working properly on iOS 13

Open sathishkumar723 opened this issue 4 years ago • 25 comments

Universal Links was working fine on iOS 12 but I ran into issues iOS 13.+ URLs that's supposed to open the app when tapped are just opening up in the browser and redirect to app store.

Please update possible solution ASAP.

sathishkumar723 avatar Dec 12 '19 11:12 sathishkumar723

for me too :(

alexayub avatar Jan 07 '20 19:01 alexayub

It doesn't even compile for me.

ZantsuRocks avatar Jan 13 '20 19:01 ZantsuRocks

for me too :(

pedro-culque-ifood avatar Mar 02 '20 18:03 pedro-culque-ifood

I haven't had time to try it (yet) but you might have a look on https://github.com/ganttastic/uni_links

Some of his commit messages might imply that he fixed iOS. Let us know :)

HugoHeneault avatar Mar 05 '20 12:03 HugoHeneault

Hey guys! alright? I just tested it and it didn't work yet, it's returning the init link as null

Has anyone else tested it?

pedro-culque-ifood avatar Mar 05 '20 13:03 pedro-culque-ifood

Guys after several tests I managed to make it work, really this version of ganttastic contains several very good fixes

pedro-culque-ifood avatar Mar 10 '20 20:03 pedro-culque-ifood

Hi - what did you do to make it work pls?

sudha-anecure avatar Mar 12 '20 00:03 sudha-anecure

@sudha-anecure what's your problem? give me the context

pedro-culque-ifood avatar Mar 17 '20 18:03 pedro-culque-ifood

@sudha-anecure what's your problem? give me the context

I would love to try the ganttastic version but I have no idea how to define in the pubspec.yaml file which "uni_links", avioli versus ganttastic, should be included in my project.

Could you show me how you point to the ganttastic version in the pubspec.yaml file rather than the avioli version?

Based on the file dates I see here it appears the avioli version of uni_links is not being maintained.

Thank you so much.

EHBradford avatar Mar 27 '20 21:03 EHBradford

We co

@sudha-anecure what's your problem? give me the context

I would love to try the ganttastic version but I have no idea how to define in the pubspec.yaml file which "uni_links", avioli versus ganttastic, should be included in my project.

Could you show me how you point to the ganttastic version in the pubspec.yaml file rather than the avioli version?

Based on the file dates I see here it appears the avioli version of uni_links is not being maintained.

Thank you so much.

We couldnt get uni links to work, so we moved to a diff plugin. But if you want to try the ganttastic version, here is how you do it in your pubspec

uni_links: git: url: git://github.com/ganttastic/uni_links.git

sudha-anecure avatar Mar 27 '20 21:03 sudha-anecure

We co

@sudha-anecure what's your problem? give me the context

I would love to try the ganttastic version but I have no idea how to define in the pubspec.yaml file which "uni_links", avioli versus ganttastic, should be included in my project. Could you show me how you point to the ganttastic version in the pubspec.yaml file rather than the avioli version? Based on the file dates I see here it appears the avioli version of uni_links is not being maintained. Thank you so much.

We couldnt get uni links to work, so we moved to a diff plugin. But if you want to try the ganttastic version, here is how you do it in your pubspec

uni_links: git: url: git://github.com/ganttastic/uni_links.git

Ok, Thank you so very very much. I will try it. But based upon what you said I am not confident.

Of course now I am interested in the alternative plugin you used. would you mind sharing it's name?

EHBradford avatar Mar 27 '20 21:03 EHBradford

We co

@sudha-anecure what's your problem? give me the context

I would love to try the ganttastic version but I have no idea how to define in the pubspec.yaml file which "uni_links", avioli versus ganttastic, should be included in my project. Could you show me how you point to the ganttastic version in the pubspec.yaml file rather than the avioli version? Based on the file dates I see here it appears the avioli version of uni_links is not being maintained. Thank you so much.

We couldnt get uni links to work, so we moved to a diff plugin. But if you want to try the ganttastic version, here is how you do it in your pubspec uni_links: git: url: git://github.com/ganttastic/uni_links.git

Ok, Thank you so very very much. I will try it. But based upon what you said I am not confident.

Of course now I am interested in the alternative plugin you used. would you mind sharing it's name?

I think I found a possible alternative plugin, assuming you can use firebase: firebase_dynamic_links

EHBradford avatar Mar 27 '20 22:03 EHBradford

We used https://pub.dev/packages/share. - it also support universal links

sudha-anecure avatar Mar 28 '20 01:03 sudha-anecure

I followed all steps, but when im opening link, browser launch 404 error, any https://loteria-online.app/.well-known/apple-app-site-association

please help

gzimbron avatar Mar 29 '20 07:03 gzimbron

Hello guys. I had the same issue. Want to share the possible way to solve: Please note that for iOS 13 Apple changes the format of apple-app-site-association file https://developer.apple.com/documentation/safariservices/supporting_associated_domains_in_your_app?language=objc - check this article for details. I applied new format for apple-app-site-association file and now universal links are working fine for me. Please also note that you need to reinstall your apps (maybe several times) to get fresh domain association. Hope this will help someone

KirylKaralkou avatar Apr 01 '20 15:04 KirylKaralkou

We used https://pub.dev/packages/share. - it also support universal links

@sudha-anecure really? Where? Sorry to be a bother, looking at the API, it appears to only support outgoing. There is a channel, but it's flagged for testing.

krolaw avatar Apr 06 '20 00:04 krolaw

We used https://pub.dev/packages/share. - it also support universal links

@sudha-anecure really? Where? Sorry to be a bother, looking at the API, it appears to only support outgoing. There is a channel, but it's flagged for testing.

Not documented, but supported in the code

sudha-anecure avatar Apr 06 '20 03:04 sudha-anecure

Can't see anything in the https://pub.dev/packages/share code, am I looking in the right place?

ayushin avatar Apr 15 '20 12:04 ayushin

We co

@sudha-anecure what's your problem? give me the context

I would love to try the ganttastic version but I have no idea how to define in the pubspec.yaml file which "uni_links", avioli versus ganttastic, should be included in my project. Could you show me how you point to the ganttastic version in the pubspec.yaml file rather than the avioli version? Based on the file dates I see here it appears the avioli version of uni_links is not being maintained. Thank you so much.

We couldnt get uni links to work, so we moved to a diff plugin. But if you want to try the ganttastic version, here is how you do it in your pubspec

uni_links: git: url: git://github.com/ganttastic/uni_links.git

working with this

derohimat avatar Jun 11 '20 18:06 derohimat

This uni_links: git: url: git://github.com/ganttastic/uni_links.git doesn't work for me with uni links, just with custom links I'm sure I did everything right, including the new version of the domain association file. It just opens the browser. Any help would be appreciated. Thanks.

babaosoftware avatar Jul 24 '20 18:07 babaosoftware

Has anybody gotten universal links to work properly recently on ios or is it just me? I tried everything I could. Works great on android. But not on ios...

dprophete avatar Sep 16 '20 03:09 dprophete

I ended up using firebase_dynamic_links. Works on both platforms. Here is how to setup your account: https://www.youtube.com/watch?v=KLBjAg6HvG0 Make sure you follow all the steps and register both your android and ios apps with the proper ids And here is how to use it in flutter. https://pub.dev/packages/firebase_dynamic_links

babaosoftware avatar Sep 16 '20 13:09 babaosoftware

Just a heads up! You can't find the App ID Prefix in AppStoreConnect.

You have to check for the corresponding App ID Prefix here: https://developer.apple.com/account/resources/identifiers/bundleId

snaeji avatar Dec 02 '20 16:12 snaeji

I can confirm that this plugins works for iOS14.

snaeji avatar Dec 02 '20 17:12 snaeji

Hey @snaeji, I have problems with ios 14 (https links). Can you describe the thing you do, please?

mehdico avatar Dec 20 '20 17:12 mehdico