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
Have you looked into Capacitor while considering this project? In particular, there are two APIs you might want to look at.
App, which allows you to addListener to the appUrlOpen event, which will replace (<any>window).handleOpenURL.
Browser, which will replace cordova-plugin-browsertab.
Creating a Capacitor plugin could also be considered. Perhaps AppAuth-iOS and AppAuth-Android SDKs could both be leveraged in this scenario as in React Native App Auth.
The text was updated successfully, but these errors were encountered:
Capacitor does state that it only uses safaribrowser controller when on IOS, we kind of want it to inappbrowser when there is absolutely no other choice as it is no longer recommended as a solution for OAuth guidelines.
I have been tinkering around with a cordova plugin for Appauth using the native IOS and Android but it is a long way off at this point.
Capacitor doesn't preclude the use of Cordova, so InAppBrowser could probably still be used. For my use case, I don't mind requiring users to have iOS9 / SafariViewController without the fallback to InAppBrowser.
Since Capacitor seems to be the future of Ionic, I would think it to be the best way forward. The Capacitor documents lead me to believe it's an easier development path than Cordova as well.
Have you looked into Capacitor while considering this project? In particular, there are two APIs you might want to look at.
addListener
to theappUrlOpen
event, which will replace(<any>window).handleOpenURL
.cordova-plugin-browsertab
.Creating a Capacitor plugin could also be considered. Perhaps AppAuth-iOS and AppAuth-Android SDKs could both be leveraged in this scenario as in React Native App Auth.
The text was updated successfully, but these errors were encountered: