You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.8 KiB

  1. /*
  2. * Copyright 2019 Google
  3. *
  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
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  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.
  15. */
  16. #import "FIRInstanceIDConstants.h"
  17. // Commands
  18. NSString *const kFIRInstanceID_CMD_RST = @"RST";
  19. // NOTIFICATIONS
  20. NSString *const kFIRInstanceIDCheckinFetchedNotification = @"com.google.gcm.notif-checkin-fetched";
  21. NSString *const kFIRInstanceIDAPNSTokenNotification = @"com.firebase.iid.notif.apns-token";
  22. NSString *const kFIRInstanceIDDefaultGCMTokenFailNotification =
  23. @"com.firebase.iid.notif.fcm-token-fail";
  24. NSString *const kFIRInstanceIDIdentityInvalidatedNotification = @"com.google.iid.identity-invalid";
  25. // Miscellaneous
  26. NSString *const kFIRInstanceIDAllScopeIdentifier = @"iid-all";
  27. NSString *const kFIRInstanceIDDefaultTokenScope = @"*";
  28. NSString *const kFIRInstanceIDSubDirectoryName = @"Google/FirebaseInstanceID";
  29. // Registration Options
  30. NSString *const kFIRInstanceIDTokenOptionsAPNSKey = @"apns_token";
  31. NSString *const kFIRInstanceIDTokenOptionsAPNSIsSandboxKey = @"apns_sandbox";
  32. NSString *const kFIRInstanceIDTokenOptionsFirebaseAppIDKey = @"gmp_app_id";
  33. NSString *const kFIRInstanceIDAppDelegateProxyEnabledInfoPlistKey =
  34. @"FirebaseAppDelegateProxyEnabled";
  35. // iOS Keychain error https://forums.developer.apple.com/thread/4743
  36. // An undocumented error code hence need to be redeclared.
  37. const int kFIRInstanceIDSecMissingEntitlementErrorCode = -34018;