Hi, I am using easy login with facebook, twitter and google.(swift 3) It takes the user to Safari app and then redirects user back to app. But apple rejected the app, saying, the app launches out to Safari app which provides poor user experience, and that it should use SafariViewController instead. I searched a bit and realised backendless provides SafariViewController but my app doesn’t do it. How do i get this to work?
I have added backendlessXXXX-XXXX-XXXXXX key in my Info.plist to URLSchemes key.
The delegate function for the returned data is:
func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool
I tried using the other function:
func application(app: UIApplication, openURL url: URL, options: [String : AnyObject]) -> Bool
but this function never gets called, and the app still launches Safari.