Skip to content

Conversation

XiangtianDai
Copy link
Contributor

No description provided.

/** @category FIRAuth(InternalInterface)
@brief Redeclares the internal interface not publicly exposed in FIRAuth.
*/
@interface FIRAuth (InternalInterface)
Copy link
Contributor

@morganchen12 morganchen12 Sep 22, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not put this in the @interface FUIAuth () declaration down below?

edit: ah, I see they're different classes

Copy link
Contributor

@yramanchuk yramanchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting PR!

authUI = [[FUIAuth alloc] initWithAuth:auth];
objc_setAssociatedObject(auth, &kAuthAssociationKey, authUI,
OBJC_ASSOCIATION_RETAIN_NONATOMIC);
auth.additionalFrameworkMarker = kFirebaseAuthUIFrameworkMarker;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Xiangtian, if we are calling private API we should make sure that method exists. Just in case method signature may be changed in the future, FirebaseUI should be notified that it stopped logging.

Also can we label this as a temp approach? I think, if we can anyway set this value, it doesn't matter, if we are calling private or public method. So it's better to have public method later.

@yramanchuk yramanchuk merged commit 620a189 into master Sep 22, 2017
@XiangtianDai XiangtianDai deleted the auth-server-logging branch September 22, 2017 23:59
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

Successfully merging this pull request may close these issues.

3 participants