File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -80,27 +80,27 @@ export class UserInfo implements IUserInfo {
80
80
}
81
81
82
82
get uid ( ) : string {
83
- return this . native ?. uid ;
83
+ return this . native ?. valueForKey ( " uid" ) ;
84
84
}
85
85
86
86
get displayName ( ) : string {
87
- return this . native ?. displayName ;
87
+ return this . native ?. valueForKey ( " displayName" ) ;
88
88
}
89
89
90
90
get email ( ) : string {
91
- return this . native ?. email ;
91
+ return this . native ?. valueForKey ( " email" ) ;
92
92
}
93
93
94
94
get phoneNumber ( ) : string {
95
- return this . native ?. phoneNumber ;
95
+ return this . native ?. valueForKey ( " phoneNumber" ) ;
96
96
}
97
97
98
98
get photoURL ( ) : string {
99
- return this . native ?. photoURL ?. absoluteString ;
99
+ return this . native ?. valueForKey ( " photoURL" ) ?. absoluteString ;
100
100
}
101
101
102
102
get providerId ( ) : string {
103
- return this . native ?. providerID ;
103
+ return this . native ?. valueForKey ( " providerID" ) ;
104
104
}
105
105
106
106
toJSON ( ) {
Original file line number Diff line number Diff line change @@ -829,7 +829,7 @@ declare class FIRUser extends NSObject implements FIRUserInfo {
829
829
updatePhoneNumberCredentialCompletion ( phoneNumberCredential : FIRPhoneAuthCredential , completion : ( p1 : NSError ) => void ) : void ;
830
830
}
831
831
832
- interface FIRUserInfo extends NSObjectProtocol {
832
+ interface FIRUserInfo extends NSObject {
833
833
834
834
displayName : string ;
835
835
You can’t perform that action at this time.
0 commit comments