ThexXTURBOXx / flutter_web_auth_2

Flutter plugin for authenticating a user with a web service
https://pub.dev/packages/flutter_web_auth_2
MIT License
51 stars 50 forks source link

Support universal links on iOS #26

Closed Rexios80 closed 1 year ago

Rexios80 commented 1 year ago

Supports universal links on iOS

The example app had a bunch of issues so I had to regenerate the iOS native code

ThexXTURBOXx commented 1 year ago

Thank you very much! I will let this open until I (or rather someone else) can confirm that both the old method and Universal links work now :)

rafalbednarczuk commented 1 year ago

I tested the branch on IPhone 6s iOS 14.4 on: -- example project from the repository with the default foobar schema -- my own project with https schema and universal links setup.

It works in both scenarios.

Adding universal links support to the iOS app is quite challenging, but here is the documentation:
https://developer.apple.com/documentation/Xcode/supporting-associated-domains?language=objc

ThexXTURBOXx commented 1 year ago

@rafalbednarczuk Also here, thank you very much for testing and confirming! I will merge and publish this PR as soon as I am home again.

ThexXTURBOXx commented 1 year ago

Again, thank you very much to the both of you! I have merged the PR and published version 2.0.3 with those changes included :) Let me know if there is something that broke in the mean time! Otherwise, have fun with the new version :)