nativescript-oauth2
nativescript-oauth2 copied to clipboard
iOS workflow does not comply with Apple Design Criteria
Which platform(s) does your issue occur on?
- iOS
- iOS 13.3
- iPad Pro (12.9-inch) (3rd generation)
Please, provide the following version numbers that your issue occurs with:
- CLI: 6.3.0
- Cross-platform modules: 6.3.2
- Runtime(s): android: 6.3.1, ios: 6.3.0
- Plugin(s): 2.4.0
Please, tell us how to recreate the issue in as much detail as possible.
Submitted an app using this library for oauth2 authentication and this app was rejected by the Apple Store Review process with the following comments:
Guideline 4.0 - Design
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
To resolve this issue, 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.
Is there any code involved?
Just use the library.
I'm going to start looking at the actual implementation here and how it might change to use this Safari View Controller API that the review process mentions.