You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mobile app developers end up looking for a way to call ASWebAuthenticationSession on iOS and Custom Chrome Tabs on Android when they want to implement a secure authentication feature. Although this package offers WebAuthenticationSession and ChromeSafariViewBrowser to implement such a feature, WebAuthenticationSession is missing a parameter that expects UniversalLinks, so the developers currently have to either stick with Custom URL Scheme or look for another package that offers the latest version of ASWebAuthenticationSession.
I understand that Custom URL Scheme does not lead to any security issues in this senario, but it does when used on Android. This means that sticking with Custom URL Scheme leads to a need of managing a Custom URL Scheme for iOS and an AppLink for Android on one feature which can quite a bit of pain if a project leader expects little platform-specific requirements with Flutter.
Suggested solution
To support UniversalLinks (i.e. deeplinking strategy that starts uses https) on iOS, WebAuthenticationSession API in this awesome package needs to have a parameter that expects https URL.
Perhaps, it could be even better if one could combine the latest ASWebAuthenticationSession and CustomChromeTabs into one API so that developers do not have to write switch-case statement on an authentication feature for iOS and Android.
Is there an existing feature request for this?
Operating System
iOS
Pain
Mobile app developers end up looking for a way to call
ASWebAuthenticationSession
on iOS andCustom Chrome Tabs
on Android when they want to implement a secure authentication feature. Although this package offersWebAuthenticationSession
andChromeSafariViewBrowser
to implement such a feature,WebAuthenticationSession
is missing a parameter that expects UniversalLinks, so the developers currently have to either stick with Custom URL Scheme or look for another package that offers the latest version ofASWebAuthenticationSession
.I understand that Custom URL Scheme does not lead to any security issues in this senario, but it does when used on Android. This means that sticking with Custom URL Scheme leads to a need of managing a Custom URL Scheme for iOS and an AppLink for Android on one feature which can quite a bit of pain if a project leader expects little platform-specific requirements with Flutter.
Suggested solution
To support UniversalLinks (i.e. deeplinking strategy that starts uses https) on iOS,
WebAuthenticationSession
API in this awesome package needs to have a parameter that expects https URL.Perhaps, it could be even better if one could combine the latest
ASWebAuthenticationSession
andCustomChromeTabs
into one API so that developers do not have to write switch-case statement on an authentication feature for iOS and Android.Useful resources
No response
Additional information
ASWebAuthenticationSession.Callback API is only available on iOS 17.4 or higher
Self grab
The text was updated successfully, but these errors were encountered: