sahat / satellizer

Token-based AngularJS Authentication
https://satellizer-sahat.rhcloud.com
MIT License
7.86k stars 1.13k forks source link

Use SafariViewController instead of inAppBrowser #978

Open pietromarrone opened 7 years ago

pietromarrone commented 7 years ago

Our ios App was rejected because the use of Safari, is it possible to use SafariViewController Cordova Plugin[https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller] intead of inAppBrowser?

Design Preamble

We noticed that the user is taken to Safari to sign in or register for an account, which provides a poor user experience.

Next Steps

Please revise your app to enable users to sign in or register for an account in the app.

We recommend implementing the Safari View Controller API to display web content within your app. The Safari View Controller allows the display of a URL and inspection of the certificate from an embedded browser in an app so that customers can verify the webpage URL and SSL certificate to confirm they are entering their sign in credentials into a legitimate page.

Resources

For additional information on the Safari View Controller API, please see the webpage, What's New in Safari.

sahat commented 7 years ago

Hi @pietromarrone, I too think InAppBrowser could have better UX, but at the time I could not find a better solution.

I'll take a look at Safari View Controller plugin when I get a chance!

Resources for my reference: