twitter-kit-ios
twitter-kit-ios copied to clipboard
[iOS 13] web popped when use Twitter app login
UIApplicationOpenURLOptionsSourceApplicationKey (aka sourceApplication) returns nil in iOS 13. You can no longer use that value to detect login authenticate is web based or app based.
Expected behavior
SafariController will NOT popped up when using app login.
Actual behavior
SafariController will popped up.
Steps to reproduce the behavior
- Use iOS 13
- Twitter app is installed
- Tap "Login with Twitter" from your app
- Tap "Authenticate" in Twitter
Question
How to detect login is web based or app based in iOS 13? (without using sourceApplication) Or is there any other solution here?