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

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

Description

@HackingGate

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions