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.
Resources
For additional information on the Safari View Controller API, please review the What’s New in Safari webpage."
Terribly sorry to hear that! Can I ask you to raise such issue in our react-native repo so that repo maintainers can directly work with you on solving that? Make sure to paste here the link to the issue so we can ping them!
It would be handy to see a screenshot, as we are not able to see what the reviewer saw.
However, if we assume the use case is using the React Native library out of the box and it’s being tested in the latest iOS then our
Authentication is performed via Web Authentication using the flow as recommended by Apple. The ASWebAuthenticationSession class is used in the library and will launch Safari to perform the web authentication.
Sorry to hear this, this is the first time I’ve heard about a rejection for this. I would re-submit and link the reviewer to Apple’s own guidance and be clear this is for Authentication.
Looking further into the rejection, i think it might be the “register” button that take the user out of the app to safari. Hopefully correcting that resolves the issue
They approved the app after we have changed the “register” link to webview instead of redirecting to Safari. I guess the feedback they gave is very ambiguous.