From 954e4d5df13b14aee9c1112db67a23729d12acfd Mon Sep 17 00:00:00 2001 From: Chen Liang Date: Mon, 9 Jul 2018 14:33:41 -0700 Subject: avoid calling [UIApplication sharedApplication] in app extensions (#1503) --- Firebase/Messaging/FIRMessagingUtilities.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Firebase/Messaging/FIRMessagingUtilities.h') diff --git a/Firebase/Messaging/FIRMessagingUtilities.h b/Firebase/Messaging/FIRMessagingUtilities.h index 45770bf..206ff07 100644 --- a/Firebase/Messaging/FIRMessagingUtilities.h +++ b/Firebase/Messaging/FIRMessagingUtilities.h @@ -14,7 +14,7 @@ * limitations under the License. */ -#import +#import typedef NS_ENUM(int8_t, FIRMessagingProtoTag) { kFIRMessagingProtoTagInvalid = -1, @@ -51,4 +51,8 @@ FOUNDATION_EXPORT int64_t FIRMessagingCurrentTimestampInMilliseconds(void); FOUNDATION_EXPORT NSString *FIRMessagingCurrentAppVersion(void); FOUNDATION_EXPORT NSString *FIRMessagingAppIdentifier(void); +#pragma mark - Others + FOUNDATION_EXPORT uint64_t FIRMessagingGetFreeDiskSpaceInMB(void); +FOUNDATION_EXPORT UIApplication *FIRMessagingUIApplication(void); + -- cgit v1.2.3