aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/FIRAuth.m
diff options
context:
space:
mode:
Diffstat (limited to 'Firebase/Auth/Source/FIRAuth.m')
-rw-r--r--Firebase/Auth/Source/FIRAuth.m8
1 files changed, 3 insertions, 5 deletions
diff --git a/Firebase/Auth/Source/FIRAuth.m b/Firebase/Auth/Source/FIRAuth.m
index c0f6c1f..d5e6b0f 100644
--- a/Firebase/Auth/Source/FIRAuth.m
+++ b/Firebase/Auth/Source/FIRAuth.m
@@ -68,11 +68,6 @@
#pragma mark - Constants
-NSString *const FIRAuthStateDidChangeInternalNotification =
- @"FIRAuthStateDidChangeInternalNotification";
-NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey =
- @"FIRAuthStateDidChangeInternalNotificationTokenKey";
-
#if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
const NSNotificationName FIRAuthStateDidChangeNotification = @"FIRAuthStateDidChangeNotification";
#else
@@ -1054,6 +1049,9 @@ static NSMutableDictionary *gKeychainServiceNameForAppName;
[self scheduleAutoTokenRefresh];
}
NSMutableDictionary *internalNotificationParameters = [NSMutableDictionary dictionary];
+ if (self.app) {
+ internalNotificationParameters[FIRAuthStateDidChangeInternalNotificationAppKey] = self.app;
+ }
if (token.length) {
internalNotificationParameters[FIRAuthStateDidChangeInternalNotificationTokenKey] = token;
}