Closed dprophete closed 3 years ago
Sadly same problem for me. the getLinksStream doesnt returns anything when is a app/universal links. Custom scheme links still works.
Same problem happening with me
I can confirm that it works with universal links on iOS 14
Same problem here, already serving the aasa file and added applinks to entitlements file through xcode
Anyone solve this issue, as I am facing the same issue when I am integrating the instagram in the ios on the redirect url it not allowed to redirect to the app after the authorization. Please help if anyone has solved this. I have done all the settings for the aasa file and the entitlements.
I was able to get it running with iOS 14. I made a mistake by just adding the entitlements file manually, this wasn't enough. I had to add the entitlement like this:
Then it was working. For testing of the HTTPS links, I'm using ngrok.com
@macav thanks! I spent +3 hours on the same error as you.
This is outlined in the README:
For Universal Links you need to add or create a
com.apple.developer.associated-domains entitlement
- either through Xcode or by editing (or creating and adding to Xcode)ios/Runner/Runner.entitlements
file.
I guess I'll have to add the steps involved to add the file or create it via Xcode to the README.
Done.
I swear everything was working fine a few months ago. And then I picked up developing my app again lately and now I can't get universal links working on ios. Android is fine, but no luck on ios. Not sure if it's the latest flutter, the latest uni_links or the latest ios. But I just can't get it working properly on ios.
Yes, I updated the my
apple-app-site-association
to include the new recommended format (and keep the old one there are well), like:(and I can curl my subdomain and the file is serverd properly, no redirect)
My
Runner.entitlements
looks correct:I just can't get it to work. I tried on the simu, on the phone, with testflight... nothing works on ios, it keeps opening in safari (and android works properly...)
In case you asked, here is
flutter doctor
: