Skip to content

Crash using Twitter Login #616

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
leverdeterre opened this issue Feb 12, 2019 · 1 comment
Closed

Crash using Twitter Login #616

leverdeterre opened this issue Feb 12, 2019 · 1 comment

Comments

@leverdeterre
Copy link

leverdeterre commented Feb 12, 2019

Welcome to FirebaseUI and thanks for submitting an issue!

Step 1: Are you in the right place?

  • For issues or feature requests related to the code in this repository file a GitHub issue.

Step 2: Describe your environment

  • Objective C or Swift: Swift 4
  • iOS version: 12
  • Firebase SDK version:
  • FirebaseUI version: 6.1.0
  • CocoaPods Version: 1.6

Step 3: Describe the problem:

If i'm using the awesome auth providers (FUITwitterAuth + FUIEmailAuth) the application crash when i try to log on a Twitter account (problem during the handle url in the application delegate)

Steps to reproduce:

  1. Enable FUITwitterAuth
  2. Use FUIAuth.defaultAuthUI()?.handleOpen() in the application delegate
  3. Try to log to a Twitter account

Observed Results:

Expected Results:

  • App must no crash.

Relevant Code:

if (!continueURLString) {
  [FUIAuthBaseViewController showAlertWithMessage:@"Invalid link! Missing continue URL."];
  // It's not enought ! it must retour NO ! Because next lines [NSURLComponents componentsWithString will crash because of a nil continueURLString
}
@morganchen12
Copy link
Contributor

Twitter has been deprecated. Please use FirebaseUI OAuth instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants