diff options
author | rsgowman <rgowman@google.com> | 2017-11-30 13:26:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-30 13:26:25 -0500 |
commit | a251259f3ce4a04b10eedb3c9d45671a55898191 (patch) | |
tree | fc264c491fabe59cacfefb9b53b20d861d1eba58 /Firebase/Auth/Source | |
parent | 81d2f97b2e34d9124667924df2d9365f5a31d2ae (diff) |
Include UID when sending (internal) auth state change notifications (#507)
This is to allow firestore to not require an explicit dependency on auth.
Diffstat (limited to 'Firebase/Auth/Source')
-rw-r--r-- | Firebase/Auth/Source/FIRAuth.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Firebase/Auth/Source/FIRAuth.m b/Firebase/Auth/Source/FIRAuth.m index d5116ff..7300fdd 100644 --- a/Firebase/Auth/Source/FIRAuth.m +++ b/Firebase/Auth/Source/FIRAuth.m @@ -1297,6 +1297,7 @@ static NSMutableDictionary *gKeychainServiceNameForAppName; if (token.length) { internalNotificationParameters[FIRAuthStateDidChangeInternalNotificationTokenKey] = token; } + internalNotificationParameters[FIRAuthStateDidChangeInternalNotificationUIDKey] = _currentUser.uid; NSNotificationCenter *notifications = [NSNotificationCenter defaultCenter]; dispatch_async(dispatch_get_main_queue(), ^{ [notifications postNotificationName:FIRAuthStateDidChangeInternalNotification |