Geen omschrijving

FIRIMessageCode.h 7.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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 <Foundation/Foundation.h>
  17. // The format of the debug code will show in the log as: e.g.
  18. // for code 1000, it will show as I-IID001000.
  19. typedef NS_ENUM(NSInteger, FIRInstanceIDMessageCode) {
  20. // DO NOT USE 2000, 2002.
  21. kFIRInstanceIDMessageCodeFIRApp000 = 1000, // I-IID001000
  22. kFIRInstanceIDMessageCodeFIRApp001 = 1001,
  23. kFIRInstanceIDMessageCodeFIRApp002 = 1002,
  24. kFIRInstanceIDMessageCodeInternal001 = 2001,
  25. kFIRInstanceIDMessageCodeInternal002 = 2002,
  26. // FIRInstanceID.m
  27. // DO NOT USE 4000.
  28. kFIRInstanceIDMessageCodeInstanceID000 = 3000,
  29. kFIRInstanceIDMessageCodeInstanceID001 = 3001,
  30. kFIRInstanceIDMessageCodeInstanceID002 = 3002,
  31. kFIRInstanceIDMessageCodeInstanceID003 = 3003,
  32. kFIRInstanceIDMessageCodeInstanceID004 = 3004,
  33. kFIRInstanceIDMessageCodeInstanceID005 = 3005,
  34. kFIRInstanceIDMessageCodeInstanceID006 = 3006,
  35. kFIRInstanceIDMessageCodeInstanceID007 = 3007,
  36. kFIRInstanceIDMessageCodeInstanceID008 = 3008,
  37. kFIRInstanceIDMessageCodeInstanceID009 = 3009,
  38. kFIRInstanceIDMessageCodeInstanceID010 = 3010,
  39. kFIRInstanceIDMessageCodeInstanceID011 = 3011,
  40. kFIRInstanceIDMessageCodeInstanceID012 = 3012,
  41. kFIRInstanceIDMessageCodeInstanceID013 = 3013,
  42. kFIRInstanceIDMessageCodeInstanceID014 = 3014,
  43. kFIRInstanceIDMessageCodeInstanceID015 = 3015,
  44. kFIRInstanceIDMessageCodeRefetchingTokenForAPNS = 3016,
  45. kFIRInstanceIDMessageCodeInstanceID017 = 3017,
  46. kFIRInstanceIDMessageCodeInstanceID018 = 3018,
  47. // FIRInstanceIDAuthService.m
  48. kFIRInstanceIDMessageCodeAuthService000 = 5000,
  49. kFIRInstanceIDMessageCodeAuthService001 = 5001,
  50. kFIRInstanceIDMessageCodeAuthService002 = 5002,
  51. kFIRInstanceIDMessageCodeAuthService003 = 5003,
  52. kFIRInstanceIDMessageCodeAuthService004 = 5004,
  53. kFIRInstanceIDMessageCodeAuthServiceCheckinInProgress = 5004,
  54. // FIRInstanceIDBackupExcludedPlist.m
  55. // Do NOT USE 6003
  56. kFIRInstanceIDMessageCodeBackupExcludedPlist000 = 6000,
  57. kFIRInstanceIDMessageCodeBackupExcludedPlist001 = 6001,
  58. kFIRInstanceIDMessageCodeBackupExcludedPlist002 = 6002,
  59. // FIRInstanceIDCheckinService.m
  60. kFIRInstanceIDMessageCodeService000 = 7000,
  61. kFIRInstanceIDMessageCodeService001 = 7001,
  62. kFIRInstanceIDMessageCodeService002 = 7002,
  63. kFIRInstanceIDMessageCodeService003 = 7003,
  64. kFIRInstanceIDMessageCodeService004 = 7004,
  65. kFIRInstanceIDMessageCodeService005 = 7005,
  66. kFIRInstanceIDMessageCodeService006 = 7006,
  67. kFIRInstanceIDInvalidNetworkSession = 7007,
  68. kFIRInstanceIDInvalidSettingResponse = 7008,
  69. // FIRInstanceIDCheckinStore.m
  70. // DO NOT USE 8002, 8004 - 8008
  71. kFIRInstanceIDMessageCodeCheckinStore000 = 8000,
  72. kFIRInstanceIDMessageCodeCheckinStore001 = 8001,
  73. kFIRInstanceIDMessageCodeCheckinStore003 = 8003,
  74. kFIRInstanceIDMessageCodeCheckinStoreCheckinPlistDeleted = 8009,
  75. kFIRInstanceIDMessageCodeCheckinStoreCheckinPlistSaved = 8010,
  76. // FIRInstanceIDKeyPair.m
  77. // DO NOT USE 9001, 9003
  78. kFIRInstanceIDMessageCodeKeyPair000 = 9000,
  79. kFIRInstanceIDMessageCodeKeyPair002 = 9002,
  80. kFIRInstanceIDMessageCodeKeyPairMigrationError = 9004,
  81. kFIRInstanceIDMessageCodeKeyPairMigrationSuccess = 9005,
  82. kFIRInstanceIDMessageCodeKeyPairNoLegacyKeyPair = 9006,
  83. // FIRInstanceIDKeyPairStore.m
  84. kFIRInstanceIDMessageCodeKeyPairStore000 = 10000,
  85. kFIRInstanceIDMessageCodeKeyPairStore001 = 10001,
  86. kFIRInstanceIDMessageCodeKeyPairStore002 = 10002,
  87. kFIRInstanceIDMessageCodeKeyPairStore003 = 10003,
  88. kFIRInstanceIDMessageCodeKeyPairStore004 = 10004,
  89. kFIRInstanceIDMessageCodeKeyPairStore005 = 10005,
  90. kFIRInstanceIDMessageCodeKeyPairStore006 = 10006,
  91. kFIRInstanceIDMessageCodeKeyPairStore007 = 10007,
  92. kFIRInstanceIDMessageCodeKeyPairStore008 = 10008,
  93. kFIRInstanceIDMessageCodeKeyPairStoreCouldNotLoadKeyPair = 10009,
  94. // FIRInstanceIDKeyPairUtilities.m
  95. kFIRInstanceIDMessageCodeKeyPairUtilities000 = 11000,
  96. kFIRInstanceIDMessageCodeKeyPairUtilities001 = 11001,
  97. kFIRInstanceIDMessageCodeKeyPairUtilitiesFirstConcatenateParamNil = 11002,
  98. // DO NOT USE 12000 - 12014
  99. // FIRInstanceIDStore.m
  100. // DO NOT USE 13004, 13005, 13007, 13008, 13010, 13011, 13013, 13014
  101. kFIRInstanceIDMessageCodeStore000 = 13000,
  102. kFIRInstanceIDMessageCodeStore001 = 13001,
  103. kFIRInstanceIDMessageCodeStore002 = 13002,
  104. kFIRInstanceIDMessageCodeStore003 = 13003,
  105. kFIRInstanceIDMessageCodeStore006 = 13006,
  106. kFIRInstanceIDMessageCodeStore009 = 13009,
  107. kFIRInstanceIDMessageCodeStore012 = 13012,
  108. // FIRInstanceIDTokenManager.m
  109. // DO NOT USE 14002, 14005
  110. kFIRInstanceIDMessageCodeTokenManager000 = 14000,
  111. kFIRInstanceIDMessageCodeTokenManager001 = 14001,
  112. kFIRInstanceIDMessageCodeTokenManager003 = 14003,
  113. kFIRInstanceIDMessageCodeTokenManager004 = 14004,
  114. kFIRInstanceIDMessageCodeTokenManagerErrorDeletingFCMTokensOnAppReset = 14006,
  115. kFIRInstanceIDMessageCodeTokenManagerDeletedFCMTokensOnAppReset = 14007,
  116. kFIRInstanceIDMessageCodeTokenManagerSavedAppVersion = 14008,
  117. kFIRInstanceIDMessageCodeTokenManagerErrorInvalidatingAllTokens = 14009,
  118. kFIRInstanceIDMessageCodeTokenManagerAPNSChanged = 14010,
  119. kFIRInstanceIDMessageCodeTokenManagerAPNSChangedTokenInvalidated = 14011,
  120. kFIRInstanceIDMessageCodeTokenManagerInvalidateStaleToken = 14012,
  121. // FIRInstanceIDTokenStore.m
  122. // DO NOT USE 15002 - 15013
  123. kFIRInstanceIDMessageCodeTokenStore000 = 15000,
  124. kFIRInstanceIDMessageCodeTokenStore001 = 15001,
  125. kFIRInstanceIDMessageCodeTokenStoreExceptionUnarchivingTokenInfo = 15015,
  126. // DO NOT USE 16000, 18004
  127. // FIRInstanceIDUtilities.m
  128. kFIRInstanceIDMessageCodeUtilitiesMissingBundleIdentifier = 18000,
  129. kFIRInstanceIDMessageCodeUtilitiesAppEnvironmentUtilNotAvailable = 18001,
  130. kFIRInstanceIDMessageCodeUtilitiesCannotGetHardwareModel = 18002,
  131. kFIRInstanceIDMessageCodeUtilitiesCannotGetSystemVersion = 18003,
  132. // FIRInstanceIDTokenOperation.m
  133. kFIRInstanceIDMessageCodeTokenOperationFailedToSignParams = 19000,
  134. // FIRInstanceIDTokenFetchOperation.m
  135. // DO NOT USE 20004, 20005
  136. kFIRInstanceIDMessageCodeTokenFetchOperationFetchRequest = 20000,
  137. kFIRInstanceIDMessageCodeTokenFetchOperationRequestError = 20001,
  138. kFIRInstanceIDMessageCodeTokenFetchOperationBadResponse = 20002,
  139. kFIRInstanceIDMessageCodeTokenFetchOperationBadTokenStructure = 20003,
  140. // FIRInstanceIDTokenDeleteOperation.m
  141. kFIRInstanceIDMessageCodeTokenDeleteOperationFetchRequest = 21000,
  142. kFIRInstanceIDMessageCodeTokenDeleteOperationRequestError = 21001,
  143. kFIRInstanceIDMessageCodeTokenDeleteOperationBadResponse = 21002,
  144. // FIRInstanceIDTokenInfo.m
  145. kFIRInstanceIDMessageCodeTokenInfoBadAPNSInfo = 22000,
  146. kFIRInstanceIDMessageCodeTokenInfoFirebaseAppIDChanged = 22001,
  147. kFIRInstanceIDMessageCodeTokenInfoLocaleChanged = 22002,
  148. // FIRInstanceIDKeychain.m
  149. kFIRInstanceIDKeychainReadItemError = 23000,
  150. kFIRInstanceIDKeychainAddItemError = 23001,
  151. kFIRInstanceIDKeychainDeleteItemError = 23002,
  152. kFIRInstanceIDKeychainCreateKeyPairError = 23003,
  153. kFIRInstanceIDKeychainUpdateItemError = 23004,
  154. // FIRInstanceIDStringEncoding.m
  155. kFIRInstanceIDStringEncodingBufferUnderflow = 24000,
  156. kFIRInstanceIDStringEncodingBufferOverflow = 24001,
  157. };