From 6e00706604c3452ad44fc401e4195e0462da1db1 Mon Sep 17 00:00:00 2001 From: Ryan Wilson Date: Fri, 4 Aug 2017 15:42:14 -0700 Subject: Move Auth notification constant into Core. (#155) * Move Auth notification constant into Core. SDKs that want to listen for the internal Auth notifications needed to copy the notification strings to their own SDK instead of relying on Auth's definition in order to avoid a dependency on Auth. By moving them to Core, SDKs can use the constants without taking on another dependency. * Remove Auth stub, add app instance to notification. --- Firebase/Core/FIRApp.m | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Firebase/Core/FIRApp.m') diff --git a/Firebase/Core/FIRApp.m b/Firebase/Core/FIRApp.m index 860bbd3..db2915d 100644 --- a/Firebase/Core/FIRApp.m +++ b/Firebase/Core/FIRApp.m @@ -51,6 +51,14 @@ NSString *const kFIRAppDiagnosticsFIRAppKey = @"FIRApp"; NSString *const kFIRAppDiagnosticsSDKNameKey = @"SDKName"; NSString *const kFIRAppDiagnosticsSDKVersionKey = @"SDKVersion"; +// Auth internal notification notification and key. +NSString *const FIRAuthStateDidChangeInternalNotification = + @"FIRAuthStateDidChangeInternalNotification"; +NSString *const FIRAuthStateDidChangeInternalNotificationAppKey = + @"FIRAuthStateDidChangeInternalNotificationAppKey"; +NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey = + @"FIRAuthStateDidChangeInternalNotificationTokenKey"; + /** * The URL to download plist files. */ -- cgit v1.2.3