-
Notifications
You must be signed in to change notification settings - Fork 483
Twitter integration #131
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
Twitter integration #131
Conversation
yramanchuk
commented
Sep 15, 2016
- Implemented Twitter Provider for Firebase Auth UI
- Implemented Obj-C demo for Twiter Provider
…nto twitter-integration * 'master' of https://github.com/firebase/FirebaseUI-iOS: add ruby and pod versions to travis yml fix nonexistant scheme in travis yml fix auth tests move files around in auth tests fix licensing header add auth provider test update comment only ignore googleservice plists in samples move around gitignore stuff initial FIRAuthUI tests clean up (no code changes) # Conflicts: # FirebaseUI.xcodeproj/project.pbxproj
#import "FIRTwitterAuthUI.h" | ||
|
||
/** @var kBundleFileName | ||
@brief The name of the bundle containing Facebook auth provider assets/resources. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change Facebook
to Twitter
in comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
*/ | ||
static NSString *const kTableName = @"FirebaseTwitterAuthUI"; | ||
|
||
/** @var kSignInWithFacebook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to kSignInWithTwitter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Looks like travis ci isn't running |
[FIRAuthUIErrorUtils providerErrorWithUnderlyingError:error | ||
providerID:FIRTwitterAuthProviderID]; | ||
if (completion) { | ||
completion(nil, error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be completion(nil, newError)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in both cases: completion(credential, nil);
and completion(nil, newError)
//! Project version string for FirebaseTwitterAuthUI. | ||
FOUNDATION_EXPORT const unsigned char FirebaseTwitterAuthUIVersionString[]; | ||
|
||
#import <FirebaseTwitterAuthUI/FIRTwitterAuthUI.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FIRTwitterAuthUI.h
needs to be marked as a Public header (not Project header) or it'll cause build errors when integrating as a framework.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -7,6 +7,14 @@ | |||
objects = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!