2 * Copyright 2017 Google
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * Global constants to be put here.
21 #import <Foundation/Foundation.h>
23 #ifndef _FIRMessaging_CONSTANTS_H
24 #define _FIRMessaging_CONSTANTS_H
26 FOUNDATION_EXPORT NSString *const kFIRMessagingRawDataKey;
27 FOUNDATION_EXPORT NSString *const kFIRMessagingCollapseKey;
28 FOUNDATION_EXPORT NSString *const kFIRMessagingFromKey;
30 FOUNDATION_EXPORT NSString *const kFIRMessagingSendTo;
31 FOUNDATION_EXPORT NSString *const kFIRMessagingSendTTL;
32 FOUNDATION_EXPORT NSString *const kFIRMessagingSendDelay;
33 FOUNDATION_EXPORT NSString *const kFIRMessagingSendMessageID;
34 FOUNDATION_EXPORT NSString *const KFIRMessagingSendMessageAppData;
36 FOUNDATION_EXPORT NSString *const kFIRMessagingMessageInternalReservedKeyword;
37 FOUNDATION_EXPORT NSString *const kFIRMessagingMessagePersistentIDKey;
39 FOUNDATION_EXPORT NSString *const kFIRMessagingMessageIDKey;
40 FOUNDATION_EXPORT NSString *const kFIRMessagingMessageAPNSContentAvailableKey;
41 FOUNDATION_EXPORT NSString *const kFIRMessagingMessageSyncViaMCSKey;
42 FOUNDATION_EXPORT NSString *const kFIRMessagingMessageSyncMessageTTLKey;
43 FOUNDATION_EXPORT NSString *const kFIRMessagingMessageLinkKey;
45 FOUNDATION_EXPORT NSString *const kFIRMessagingRemoteNotificationsProxyEnabledInfoPlistKey;
47 FOUNDATION_EXPORT NSString *const kFIRMessagingApplicationSupportSubDirectory;
50 FOUNDATION_EXPORT NSString *const kFIRMessagingCheckinFetchedNotification;
51 FOUNDATION_EXPORT NSString *const kFIRMessagingAPNSTokenNotification;
52 FOUNDATION_EXPORT NSString *const kFIRMessagingFCMTokenNotification;
53 FOUNDATION_EXPORT NSString *const kFIRMessagingInstanceIDTokenRefreshNotification __deprecated_msg("Use kFIRMessagingRegistrationTokenRefreshNotification instead");
54 FOUNDATION_EXPORT NSString *const kFIRMessagingRegistrationTokenRefreshNotification;
56 FOUNDATION_EXPORT const int kFIRMessagingSendTtlDefault; // 24 hours