答案 0 :(得分:0)
这最终成为我的解决方案,似乎工作正常。
A0SimpleKeychain *keychain = [[Application sharedInstance] store];
A0UserProfile *profile = [NSKeyedUnarchiver unarchiveObjectWithData: [keychain dataForKey:@"profile"]];
NSLog(@"user: %@",profile.userId);
答案 1 :(得分:0)
If someone finds this post and is still looking for an answer:
[FIRAuth auth].currentUser.uid;