Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.

[iOS 13] web popped when use Twitter app login #122

Open
HackingGate opened this issue Sep 25, 2019 · 1 comment
Open

[iOS 13] web popped when use Twitter app login #122

HackingGate opened this issue Sep 25, 2019 · 1 comment

Comments

@HackingGate
Copy link

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?

touren added a commit to touren/twitter-kit-ios that referenced this issue Oct 3, 2019
Bug fixed: [iOS 13] web popped when use Twitter app login twitter-archive#122
@touren
Copy link

touren commented Oct 3, 2019

Fixed in TwitterKit5 5.0.3

pod 'TwitterKit5'

nicolasgomollon added a commit to Xempire/twitter-kit-ios that referenced this issue Nov 7, 2019
Fixed bug where Twitter tries to re-authenticate via the web view after successfully authenticating via the Twitter app.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants