@react-native-firebase/crashlytics 23.7.0 → 23.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/commonjs/handlers.js +175 -0
  2. package/dist/commonjs/handlers.js.map +1 -0
  3. package/dist/commonjs/index.js +38 -0
  4. package/dist/commonjs/index.js.map +1 -0
  5. package/dist/commonjs/modular.js +256 -0
  6. package/dist/commonjs/modular.js.map +1 -0
  7. package/dist/commonjs/namespaced.js +138 -0
  8. package/dist/commonjs/namespaced.js.map +1 -0
  9. package/dist/commonjs/package.json +1 -0
  10. package/dist/commonjs/types/crashlytics.js +47 -0
  11. package/dist/commonjs/types/crashlytics.js.map +1 -0
  12. package/dist/commonjs/version.js +9 -0
  13. package/dist/commonjs/version.js.map +1 -0
  14. package/{lib → dist/module}/handlers.js +39 -36
  15. package/dist/module/handlers.js.map +1 -0
  16. package/{ios/RNFBCrashlytics/RNFBCrashlyticsModule.h → dist/module/index.js} +10 -6
  17. package/dist/module/index.js.map +1 -0
  18. package/{lib/modular/index.js → dist/module/modular.js} +37 -43
  19. package/dist/module/modular.js.map +1 -0
  20. package/dist/module/namespaced.js +135 -0
  21. package/dist/module/namespaced.js.map +1 -0
  22. package/dist/module/package.json +1 -0
  23. package/dist/module/types/crashlytics.js +43 -0
  24. package/dist/module/types/crashlytics.js.map +1 -0
  25. package/dist/module/version.js +5 -0
  26. package/dist/module/version.js.map +1 -0
  27. package/dist/typescript/commonjs/lib/handlers.d.ts +28 -0
  28. package/dist/typescript/commonjs/lib/handlers.d.ts.map +1 -0
  29. package/dist/typescript/commonjs/lib/index.d.ts +5 -0
  30. package/dist/typescript/commonjs/lib/index.d.ts.map +1 -0
  31. package/{lib/modular/index.d.ts → dist/typescript/commonjs/lib/modular.d.ts} +37 -40
  32. package/dist/typescript/commonjs/lib/modular.d.ts.map +1 -0
  33. package/dist/typescript/commonjs/lib/namespaced.d.ts +12 -0
  34. package/dist/typescript/commonjs/lib/namespaced.d.ts.map +1 -0
  35. package/dist/typescript/commonjs/lib/types/crashlytics.d.ts +117 -0
  36. package/dist/typescript/commonjs/lib/types/crashlytics.d.ts.map +1 -0
  37. package/dist/typescript/commonjs/lib/version.d.ts +2 -0
  38. package/dist/typescript/commonjs/lib/version.d.ts.map +1 -0
  39. package/dist/typescript/commonjs/package.json +1 -0
  40. package/dist/typescript/module/lib/handlers.d.ts +28 -0
  41. package/dist/typescript/module/lib/handlers.d.ts.map +1 -0
  42. package/dist/typescript/module/lib/index.d.ts +5 -0
  43. package/dist/typescript/module/lib/index.d.ts.map +1 -0
  44. package/dist/typescript/module/lib/modular.d.ts +193 -0
  45. package/dist/typescript/module/lib/modular.d.ts.map +1 -0
  46. package/dist/typescript/module/lib/namespaced.d.ts +12 -0
  47. package/dist/typescript/module/lib/namespaced.d.ts.map +1 -0
  48. package/dist/typescript/module/lib/types/crashlytics.d.ts +117 -0
  49. package/dist/typescript/module/lib/types/crashlytics.d.ts.map +1 -0
  50. package/dist/typescript/module/lib/version.d.ts +2 -0
  51. package/dist/typescript/module/lib/version.d.ts.map +1 -0
  52. package/dist/typescript/module/package.json +1 -0
  53. package/lib/handlers.ts +196 -0
  54. package/{ios/RNFBCrashlytics/RNFBCrashlyticsNativeHelper.h → lib/index.ts} +8 -11
  55. package/lib/modular.ts +249 -0
  56. package/lib/{index.js → namespaced.ts} +51 -22
  57. package/lib/types/crashlytics.ts +159 -0
  58. package/lib/version.ts +2 -0
  59. package/package.json +60 -8
  60. package/tsconfig.json +21 -0
  61. package/CHANGELOG.md +0 -1136
  62. package/RNFBCrashlytics.podspec +0 -54
  63. package/android/.editorconfig +0 -10
  64. package/android/build.gradle +0 -102
  65. package/android/lint.xml +0 -5
  66. package/android/settings.gradle +0 -1
  67. package/android/src/main/AndroidManifest.xml +0 -15
  68. package/android/src/main/java/io/invertase/firebase/crashlytics/Constants.java +0 -29
  69. package/android/src/main/java/io/invertase/firebase/crashlytics/JavaScriptError.java +0 -28
  70. package/android/src/main/java/io/invertase/firebase/crashlytics/ReactNativeFirebaseCrashlyticsInitProvider.java +0 -130
  71. package/android/src/main/java/io/invertase/firebase/crashlytics/ReactNativeFirebaseCrashlyticsModule.java +0 -223
  72. package/android/src/main/java/io/invertase/firebase/crashlytics/ReactNativeFirebaseCrashlyticsNativeHelper.java +0 -18
  73. package/android/src/main/java/io/invertase/firebase/crashlytics/ReactNativeFirebaseCrashlyticsPackage.java +0 -41
  74. package/android/src/main/java/io/invertase/firebase/crashlytics/UnhandledPromiseRejection.java +0 -28
  75. package/app.plugin.js +0 -1
  76. package/ios/RNFBCrashlytics/RNFBCrashlyticsInitProvider.h +0 -33
  77. package/ios/RNFBCrashlytics/RNFBCrashlyticsInitProvider.m +0 -142
  78. package/ios/RNFBCrashlytics/RNFBCrashlyticsModule.m +0 -248
  79. package/ios/RNFBCrashlytics/RNFBCrashlyticsNativeHelper.m +0 -36
  80. package/ios/RNFBCrashlytics.xcodeproj/project.pbxproj +0 -359
  81. package/ios/RNFBCrashlytics.xcodeproj/xcshareddata/IDETemplateMacros.plist +0 -24
  82. package/ios_config.sh +0 -25
  83. package/lib/index.d.ts +0 -287
  84. package/lib/version.js +0 -2
  85. package/plugin/build/android/applyPlugin.d.ts +0 -6
  86. package/plugin/build/android/applyPlugin.js +0 -28
  87. package/plugin/build/android/buildscriptDependency.d.ts +0 -6
  88. package/plugin/build/android/buildscriptDependency.js +0 -29
  89. package/plugin/build/android/constants.d.ts +0 -3
  90. package/plugin/build/android/constants.js +0 -7
  91. package/plugin/build/android/index.d.ts +0 -3
  92. package/plugin/build/android/index.js +0 -7
  93. package/plugin/build/index.d.ts +0 -3
  94. package/plugin/build/index.js +0 -12
  95. package/plugin/tsconfig.tsbuildinfo +0 -1
  96. package/react-native.config.js +0 -35
@@ -1,359 +0,0 @@
1
- // !$*UTF8*$!
2
- {
3
- archiveVersion = 1;
4
- classes = {
5
- };
6
- objectVersion = 48;
7
- objects = {
8
-
9
- /* Begin PBXBuildFile section */
10
- 2744B98621F45429004F8E3F /* RNFBCrashlyticsModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 2744B98521F45429004F8E3F /* RNFBCrashlyticsModule.m */; };
11
- 2748D82422371C1C00FC8DC8 /* RNFBCrashlyticsInitProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 2748D82322371C1C00FC8DC8 /* RNFBCrashlyticsInitProvider.m */; };
12
- C66637BB25FA560700DCAA51 /* RNFBCrashlyticsNativeHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = C66637BA25FA560700DCAA51 /* RNFBCrashlyticsNativeHelper.m */; };
13
- /* End PBXBuildFile section */
14
-
15
- /* Begin PBXCopyFilesBuildPhase section */
16
- 2744B98021F45429004F8E3F /* CopyFiles */ = {
17
- isa = PBXCopyFilesBuildPhase;
18
- buildActionMask = 2147483647;
19
- dstPath = "";
20
- dstSubfolderSpec = 16;
21
- files = (
22
- );
23
- runOnlyForDeploymentPostprocessing = 0;
24
- };
25
- /* End PBXCopyFilesBuildPhase section */
26
-
27
- /* Begin PBXFileReference section */
28
- 2744B98221F45429004F8E3F /* libRNFBCrashlytics.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNFBCrashlytics.a; sourceTree = BUILT_PRODUCTS_DIR; };
29
- 2744B98421F45429004F8E3F /* RNFBCrashlyticsModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RNFBCrashlyticsModule.h; path = RNFBCrashlytics/RNFBCrashlyticsModule.h; sourceTree = SOURCE_ROOT; };
30
- 2744B98521F45429004F8E3F /* RNFBCrashlyticsModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = RNFBCrashlyticsModule.m; path = RNFBCrashlytics/RNFBCrashlyticsModule.m; sourceTree = SOURCE_ROOT; };
31
- 2748D82222371C0900FC8DC8 /* RNFBCrashlyticsInitProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNFBCrashlyticsInitProvider.h; sourceTree = "<group>"; };
32
- 2748D82322371C1C00FC8DC8 /* RNFBCrashlyticsInitProvider.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNFBCrashlyticsInitProvider.m; sourceTree = "<group>"; };
33
- C66637BA25FA560700DCAA51 /* RNFBCrashlyticsNativeHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNFBCrashlyticsNativeHelper.m; sourceTree = "<group>"; };
34
- C66637BD25FA561D00DCAA51 /* RNFBCrashlyticsNativeHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNFBCrashlyticsNativeHelper.h; sourceTree = "<group>"; };
35
- /* End PBXFileReference section */
36
-
37
- /* Begin PBXFrameworksBuildPhase section */
38
- 2744B97F21F45429004F8E3F /* Frameworks */ = {
39
- isa = PBXFrameworksBuildPhase;
40
- buildActionMask = 2147483647;
41
- files = (
42
- );
43
- runOnlyForDeploymentPostprocessing = 0;
44
- };
45
- /* End PBXFrameworksBuildPhase section */
46
-
47
- /* Begin PBXGroup section */
48
- 2744B97521F452B8004F8E3F /* Products */ = {
49
- isa = PBXGroup;
50
- children = (
51
- 2744B98221F45429004F8E3F /* libRNFBCrashlytics.a */,
52
- );
53
- name = Products;
54
- sourceTree = "<group>";
55
- };
56
- 2744B98321F45429004F8E3F /* RNFBCrashlytics */ = {
57
- isa = PBXGroup;
58
- children = (
59
- 2744B98421F45429004F8E3F /* RNFBCrashlyticsModule.h */,
60
- 2744B98521F45429004F8E3F /* RNFBCrashlyticsModule.m */,
61
- 2748D82222371C0900FC8DC8 /* RNFBCrashlyticsInitProvider.h */,
62
- 2748D82322371C1C00FC8DC8 /* RNFBCrashlyticsInitProvider.m */,
63
- C66637BD25FA561D00DCAA51 /* RNFBCrashlyticsNativeHelper.h */,
64
- C66637BA25FA560700DCAA51 /* RNFBCrashlyticsNativeHelper.m */,
65
- );
66
- path = RNFBCrashlytics;
67
- sourceTree = "<group>";
68
- };
69
- 3323F52AAFE26B7384BE4DE3 = {
70
- isa = PBXGroup;
71
- children = (
72
- 2744B98321F45429004F8E3F /* RNFBCrashlytics */,
73
- 2744B97521F452B8004F8E3F /* Products */,
74
- );
75
- sourceTree = "<group>";
76
- };
77
- /* End PBXGroup section */
78
-
79
- /* Begin PBXNativeTarget section */
80
- 2744B98121F45429004F8E3F /* RNFBCrashlytics */ = {
81
- isa = PBXNativeTarget;
82
- buildConfigurationList = 2744B98821F45429004F8E3F /* Build configuration list for PBXNativeTarget "RNFBCrashlytics" */;
83
- buildPhases = (
84
- 2744B97E21F45429004F8E3F /* Sources */,
85
- 2744B97F21F45429004F8E3F /* Frameworks */,
86
- 2744B98021F45429004F8E3F /* CopyFiles */,
87
- );
88
- buildRules = (
89
- );
90
- dependencies = (
91
- );
92
- name = RNFBCrashlytics;
93
- productName = RNFBCrashlytics;
94
- productReference = 2744B98221F45429004F8E3F /* libRNFBCrashlytics.a */;
95
- productType = "com.apple.product-type.library.static";
96
- };
97
- /* End PBXNativeTarget section */
98
-
99
- /* Begin PBXProject section */
100
- 3323F95273A95DB34F55C6D7 /* Project object */ = {
101
- isa = PBXProject;
102
- attributes = {
103
- CLASSPREFIX = RNFBCrashlytics;
104
- LastUpgradeCheck = 1010;
105
- ORGANIZATIONNAME = Invertase;
106
- TargetAttributes = {
107
- 2744B98121F45429004F8E3F = {
108
- CreatedOnToolsVersion = 10.1;
109
- ProvisioningStyle = Automatic;
110
- };
111
- };
112
- };
113
- buildConfigurationList = 3323F1C5716BA966BBBB95A4 /* Build configuration list for PBXProject "RNFBCrashlytics" */;
114
- compatibilityVersion = "Xcode 8.0";
115
- developmentRegion = English;
116
- hasScannedForEncodings = 0;
117
- knownRegions = (
118
- en,
119
- );
120
- mainGroup = 3323F52AAFE26B7384BE4DE3;
121
- productRefGroup = 2744B97521F452B8004F8E3F /* Products */;
122
- projectDirPath = "";
123
- projectRoot = "";
124
- targets = (
125
- 2744B98121F45429004F8E3F /* RNFBCrashlytics */,
126
- );
127
- };
128
- /* End PBXProject section */
129
-
130
- /* Begin PBXSourcesBuildPhase section */
131
- 2744B97E21F45429004F8E3F /* Sources */ = {
132
- isa = PBXSourcesBuildPhase;
133
- buildActionMask = 2147483647;
134
- files = (
135
- C66637BB25FA560700DCAA51 /* RNFBCrashlyticsNativeHelper.m in Sources */,
136
- 2748D82422371C1C00FC8DC8 /* RNFBCrashlyticsInitProvider.m in Sources */,
137
- 2744B98621F45429004F8E3F /* RNFBCrashlyticsModule.m in Sources */,
138
- );
139
- runOnlyForDeploymentPostprocessing = 0;
140
- };
141
- /* End PBXSourcesBuildPhase section */
142
-
143
- /* Begin XCBuildConfiguration section */
144
- 2744B98921F45429004F8E3F /* Debug */ = {
145
- isa = XCBuildConfiguration;
146
- buildSettings = {
147
- ALWAYS_SEARCH_USER_PATHS = NO;
148
- CLANG_ANALYZER_NONNULL = YES;
149
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
150
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
151
- CLANG_CXX_LIBRARY = "libc++";
152
- CLANG_ENABLE_MODULES = YES;
153
- CLANG_ENABLE_OBJC_ARC = YES;
154
- CLANG_ENABLE_OBJC_WEAK = YES;
155
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
156
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
157
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
158
- CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
159
- CODE_SIGN_IDENTITY = "iPhone Developer";
160
- CODE_SIGN_STYLE = Automatic;
161
- COPY_PHASE_STRIP = NO;
162
- DEBUG_INFORMATION_FORMAT = dwarf;
163
- GCC_C_LANGUAGE_STANDARD = gnu11;
164
- GCC_DYNAMIC_NO_PIC = NO;
165
- GCC_OPTIMIZATION_LEVEL = 0;
166
- GCC_PREPROCESSOR_DEFINITIONS = (
167
- "DEBUG=1",
168
- "$(inherited)",
169
- );
170
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
171
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
172
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
173
- MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
174
- MTL_FAST_MATH = YES;
175
- OTHER_LDFLAGS = "-ObjC";
176
- PRODUCT_NAME = "$(TARGET_NAME)";
177
- SDKROOT = iphoneos;
178
- SKIP_INSTALL = YES;
179
- TARGETED_DEVICE_FAMILY = "1,2";
180
- };
181
- name = Debug;
182
- };
183
- 2744B98A21F45429004F8E3F /* Release */ = {
184
- isa = XCBuildConfiguration;
185
- buildSettings = {
186
- ALWAYS_SEARCH_USER_PATHS = NO;
187
- CLANG_ANALYZER_NONNULL = YES;
188
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
189
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
190
- CLANG_CXX_LIBRARY = "libc++";
191
- CLANG_ENABLE_MODULES = YES;
192
- CLANG_ENABLE_OBJC_ARC = YES;
193
- CLANG_ENABLE_OBJC_WEAK = YES;
194
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
195
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
196
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
197
- CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
198
- CODE_SIGN_IDENTITY = "iPhone Developer";
199
- CODE_SIGN_STYLE = Automatic;
200
- COPY_PHASE_STRIP = NO;
201
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
202
- ENABLE_NS_ASSERTIONS = NO;
203
- GCC_C_LANGUAGE_STANDARD = gnu11;
204
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
205
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
206
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
207
- MTL_ENABLE_DEBUG_INFO = NO;
208
- MTL_FAST_MATH = YES;
209
- OTHER_LDFLAGS = "-ObjC";
210
- PRODUCT_NAME = "$(TARGET_NAME)";
211
- SDKROOT = iphoneos;
212
- SKIP_INSTALL = YES;
213
- TARGETED_DEVICE_FAMILY = "1,2";
214
- VALIDATE_PRODUCT = YES;
215
- };
216
- name = Release;
217
- };
218
- 3323F77D701E1896E6D239CF /* Release */ = {
219
- isa = XCBuildConfiguration;
220
- buildSettings = {
221
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
222
- CLANG_WARN_BOOL_CONVERSION = YES;
223
- CLANG_WARN_COMMA = YES;
224
- CLANG_WARN_CONSTANT_CONVERSION = YES;
225
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
226
- CLANG_WARN_EMPTY_BODY = YES;
227
- CLANG_WARN_ENUM_CONVERSION = YES;
228
- CLANG_WARN_INFINITE_RECURSION = YES;
229
- CLANG_WARN_INT_CONVERSION = YES;
230
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
231
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
232
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
233
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
234
- CLANG_WARN_STRICT_PROTOTYPES = YES;
235
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
236
- CLANG_WARN_UNREACHABLE_CODE = YES;
237
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
238
- ENABLE_STRICT_OBJC_MSGSEND = YES;
239
- FRAMEWORK_SEARCH_PATHS = (
240
- "$(inherited)",
241
- "${BUILT_PRODUCTS_DIR}/**",
242
- "${SRCROOT}/../../../ios/Firebase/**",
243
- "$(FIREBASE_SEARCH_PATH)/Firebase/**",
244
- "$(SRCROOT)/../../../ios/Pods/FirebaseCrashlytics/Frameworks",
245
- "$(SRCROOT)/../../../tests/ios/Pods/FirebaseCrashlytics/Frameworks",
246
- );
247
- GCC_NO_COMMON_BLOCKS = YES;
248
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
249
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
250
- GCC_WARN_UNDECLARED_SELECTOR = YES;
251
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
252
- GCC_WARN_UNUSED_FUNCTION = YES;
253
- GCC_WARN_UNUSED_VARIABLE = YES;
254
- HEADER_SEARCH_PATHS = (
255
- "$(inherited)",
256
- "$(REACT_SEARCH_PATH)/React/**",
257
- "$(SRCROOT)/../../react-native/React/**",
258
- "$(SRCROOT)/../../react-native-firebase/ios/**",
259
- "$(FIREBASE_SEARCH_PATH)/Firebase/**",
260
- "${SRCROOT}/../../../ios/Firebase/**",
261
- "${SRCROOT}/../../../ios/Pods/Headers/Public/**",
262
- "${SRCROOT}/../../../tests/ios/Pods/Headers/Public/**",
263
- "$(SRCROOT)/../../../node_modules/react-native/React/**",
264
- "$(SRCROOT)/../../../node_modules/react-native-firebase/ios/**",
265
- "$(SRCROOT)/../../../packages/app/ios/**",
266
- );
267
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
268
- LIBRARY_SEARCH_PATHS = "$(inherited)";
269
- MACH_O_TYPE = staticlib;
270
- OTHER_LDFLAGS = "$(inherited)";
271
- PRODUCT_NAME = "$(TARGET_NAME)";
272
- SKIP_INSTALL = YES;
273
- };
274
- name = Release;
275
- };
276
- 3323F7E33E1559A2B9826720 /* Debug */ = {
277
- isa = XCBuildConfiguration;
278
- buildSettings = {
279
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
280
- CLANG_WARN_BOOL_CONVERSION = YES;
281
- CLANG_WARN_COMMA = YES;
282
- CLANG_WARN_CONSTANT_CONVERSION = YES;
283
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
284
- CLANG_WARN_EMPTY_BODY = YES;
285
- CLANG_WARN_ENUM_CONVERSION = YES;
286
- CLANG_WARN_INFINITE_RECURSION = YES;
287
- CLANG_WARN_INT_CONVERSION = YES;
288
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
289
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
290
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
291
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
292
- CLANG_WARN_STRICT_PROTOTYPES = YES;
293
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
294
- CLANG_WARN_UNREACHABLE_CODE = YES;
295
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
296
- ENABLE_STRICT_OBJC_MSGSEND = YES;
297
- ENABLE_TESTABILITY = YES;
298
- FRAMEWORK_SEARCH_PATHS = (
299
- "$(inherited)",
300
- "${BUILT_PRODUCTS_DIR}/**",
301
- "${SRCROOT}/../../../ios/Firebase/**",
302
- "$(FIREBASE_SEARCH_PATH)/Firebase/**",
303
- "$(SRCROOT)/../../../ios/Pods/FirebaseCrashlytics/Frameworks",
304
- );
305
- GCC_NO_COMMON_BLOCKS = YES;
306
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
307
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
308
- GCC_WARN_UNDECLARED_SELECTOR = YES;
309
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
310
- GCC_WARN_UNUSED_FUNCTION = YES;
311
- GCC_WARN_UNUSED_VARIABLE = YES;
312
- HEADER_SEARCH_PATHS = (
313
- "$(inherited)",
314
- "$(REACT_SEARCH_PATH)/React/**",
315
- "$(SRCROOT)/../../react-native/React/**",
316
- "$(SRCROOT)/../../react-native-firebase/ios/**",
317
- "$(FIREBASE_SEARCH_PATH)/Firebase/**",
318
- "${SRCROOT}/../../../ios/Firebase/**",
319
- "${SRCROOT}/../../../ios/Pods/Headers/Public/**",
320
- "${SRCROOT}/../../../tests/ios/Pods/Headers/Public/**",
321
- "$(SRCROOT)/../../../node_modules/react-native/React/**",
322
- "$(SRCROOT)/../../../node_modules/react-native-firebase/ios/**",
323
- "$(SRCROOT)/../../../packages/app/ios/**",
324
- );
325
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
326
- LIBRARY_SEARCH_PATHS = "$(inherited)";
327
- MACH_O_TYPE = staticlib;
328
- ONLY_ACTIVE_ARCH = YES;
329
- OTHER_LDFLAGS = "$(inherited)";
330
- PRODUCT_NAME = "$(TARGET_NAME)";
331
- SKIP_INSTALL = YES;
332
- };
333
- name = Debug;
334
- };
335
- /* End XCBuildConfiguration section */
336
-
337
- /* Begin XCConfigurationList section */
338
- 2744B98821F45429004F8E3F /* Build configuration list for PBXNativeTarget "RNFBCrashlytics" */ = {
339
- isa = XCConfigurationList;
340
- buildConfigurations = (
341
- 2744B98921F45429004F8E3F /* Debug */,
342
- 2744B98A21F45429004F8E3F /* Release */,
343
- );
344
- defaultConfigurationIsVisible = 0;
345
- defaultConfigurationName = Release;
346
- };
347
- 3323F1C5716BA966BBBB95A4 /* Build configuration list for PBXProject "RNFBCrashlytics" */ = {
348
- isa = XCConfigurationList;
349
- buildConfigurations = (
350
- 3323F7E33E1559A2B9826720 /* Debug */,
351
- 3323F77D701E1896E6D239CF /* Release */,
352
- );
353
- defaultConfigurationIsVisible = 0;
354
- defaultConfigurationName = Release;
355
- };
356
- /* End XCConfigurationList section */
357
- };
358
- rootObject = 3323F95273A95DB34F55C6D7 /* Project object */;
359
- }
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>FILEHEADER</key>
6
- <string>
7
- /**
8
- * Copyright (c) 2016-present Invertase Limited &amp; Contributors
9
- *
10
- * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
11
- * you may not use this library except in compliance with the License.
12
- * You may obtain a copy of the License at
13
- *
14
- * http://www.apache.org/licenses/LICENSE-2.0
15
- *
16
- * Unless required by applicable law or agreed to in writing, software
17
- * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
18
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- * See the License for the specific language governing permissions and
20
- * limitations under the License.
21
- *
22
- */</string>
23
- </dict>
24
- </plist>
package/ios_config.sh DELETED
@@ -1,25 +0,0 @@
1
- #!/usr/bin/env bash
2
- #
3
- # Copyright (c) 2016-present Invertase Limited & Contributors
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this library except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
- #
17
- set -e
18
-
19
- if [[ ${PODS_ROOT} ]]; then
20
- echo "info: Exec FirebaseCrashlytics Run from Pods"
21
- "${PODS_ROOT}/FirebaseCrashlytics/run"
22
- else
23
- echo "info: Exec FirebaseCrashlytics Run from framework"
24
- "${PROJECT_DIR}/FirebaseCrashlytics.framework/run"
25
- fi
package/lib/index.d.ts DELETED
@@ -1,287 +0,0 @@
1
- /*
2
- * Copyright (c) 2016-present Invertase Limited & Contributors
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this library 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
- */
17
-
18
- import { ReactNativeFirebase } from '@react-native-firebase/app';
19
-
20
- /**
21
- * Firebase Crashlytics package for React Native.
22
- *
23
- * #### Example: Access the firebase export from the `crashlytics` package:
24
- *
25
- * ```js
26
- * import { firebase } from '@react-native-firebase/crashlytics';
27
- *
28
- * // firebase.crashlytics().X
29
- * ```
30
- *
31
- * #### Example: Using the default export from the `crashlytics` package:
32
- *
33
- * ```js
34
- * import crashlytics from '@react-native-firebase/crashlytics';
35
- *
36
- * // crashlytics().X
37
- * ```
38
- *
39
- * #### Example: Using the default export from the `app` package:
40
- *
41
- * ```js
42
- * import firebase from '@react-native-firebase/app';
43
- * import '@react-native-firebase/crashlytics';
44
- *
45
- * // firebase.crashlytics().X
46
- * ```
47
- *
48
- * @firebase crashlytics
49
- */
50
- export namespace FirebaseCrashlyticsTypes {
51
- import FirebaseModule = ReactNativeFirebase.FirebaseModule;
52
-
53
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type
54
- export interface Statics {}
55
-
56
- /**
57
- * The Firebase Crashlytics service interface.
58
- *
59
- * > This module is available for the default app only.
60
- *
61
- * #### Example
62
- *
63
- * Get the Crashlytics service for the default app:
64
- *
65
- * ```js
66
- * const defaultAppCrashlytics = firebase.crashlytics();
67
- * ```
68
- */
69
- export class Module extends FirebaseModule {
70
- /**
71
- * Whether Crashlytics reporting is enabled.
72
- *
73
- * #### Example
74
- *
75
- * ```js
76
- * const isEnabled = firebase.crashlytics().isCrashlyticsCollectionEnabled;
77
- * ```
78
- *
79
- */
80
- isCrashlyticsCollectionEnabled: boolean;
81
- /**
82
- * Determines whether there are any unsent crash reports cached on the device. The callback only executes
83
- * if automatic data collection is disabled.
84
- *
85
- * #### Example
86
- *
87
- * ```js
88
- * async checkReports() {
89
- * // returns boolean value
90
- * const unsentReports = await firebase.crashlytics().checkForUnsentReports();
91
- * }
92
- *
93
- * checkReports();
94
- * ```
95
- *
96
- */
97
- checkForUnsentReports(): Promise<boolean>;
98
- /**
99
- * Deletes any unsent reports on the device. This method only applies if automatic data collection is
100
- * disabled.
101
- *
102
- * #### Example
103
- *
104
- * ```js
105
- * firebase.crashlytics().deleteUnsentReports();
106
- * ```
107
- *
108
- */
109
- deleteUnsentReports(): Promise<void>;
110
- /**
111
- * Returns a boolean value indicating whether the app crashed during the previous execution.
112
- *
113
- * #### Example
114
- *
115
- * ```js
116
- * async didCrashPreviously() {
117
- * // returns boolean value
118
- * const didCrash = await firebase.crashlytics().didCrashOnPreviousExecution();
119
- * }
120
- *
121
- * didCrashPreviously();
122
- * ```
123
- *
124
- */
125
- didCrashOnPreviousExecution(): Promise<boolean>;
126
-
127
- /**
128
- * Cause your app to crash for testing purposes. This is a native crash and will not contain a javascript stack trace.
129
- * Note that crashes are intercepted by debuggers on iOS so no report will be seen under those conditions. Additionally
130
- * if it is a debug build you will need to ensure your firebase.json is configured to enable crashlytics even in debug mode.
131
- *
132
- * #### Example
133
- *
134
- * ```js
135
- * firebase.crashlytics().crash();
136
- * ```
137
- *
138
- */
139
- crash(): void;
140
-
141
- /**
142
- * Log a message that will appear in any subsequent Crash or Non-fatal error reports.
143
- *
144
- * #### Example
145
- *
146
- * ```js
147
- * firebase.crashlytics().log('Testing a crash');
148
- * firebase.crashlytics().crash();
149
- * ```
150
- *
151
- * @param message
152
- */
153
- log(message: string): void;
154
-
155
- /**
156
- * Record a JavaScript Error.
157
- *
158
- * The JavaScript stack trace is converted into a mock native iOS or Android exception before submission.
159
- * The line numbers in the stack trace (if available) will be relative to the javascript bundle built by your packager,
160
- * after whatever transpilation or minimization steps happen. You will need to maintain sourcemaps to decode them if desired.
161
- *
162
- * #### Example
163
- *
164
- * ```js
165
- * firebase.crashlytics().recordError(
166
- * new Error('An error was caught')
167
- * );
168
- * ```
169
- *
170
- * @param error Expects an instance of Error; e.g. classes that extend Error will also be supported.
171
- * @param jsErrorName Optional string containing Javascript error name
172
- */
173
- recordError(error: Error, jsErrorName?: string): void;
174
- /**
175
- * Enqueues any unsent reports on the device to upload to Crashlytics. This method only applies if
176
- * automatic data collection is disabled.
177
- *
178
- * #### Example
179
- *
180
- * ```js
181
- * firebase.crashlytics().sendUnsentReports();
182
- * ```
183
- */
184
- sendUnsentReports(): void;
185
-
186
- /**
187
- * Specify a user identifier which will be visible in the Firebase Crashlytics console.
188
- *
189
- * It is recommended for privacy purposes that this value be a value that's meaningless to a third-party
190
- * observer; such as an arbitrary string that ties an end-user to a record in your system e.g. a database record id.
191
- *
192
- * #### Example
193
- *
194
- * ```js
195
- * // Custom user id
196
- * await firebase.crashlytics().setUserId('123456789');
197
- * // Firebase auth uid
198
- * await firebase.crashlytics().setUserId(
199
- * firebase.auth().currentUser.uid
200
- * );
201
- * ```
202
- *
203
- * @param userId An arbitrary string that ties an end-user to a record in your system e.g. a database record id.
204
- */
205
- setUserId(userId: string): Promise<null>;
206
-
207
- /**
208
- * Sets a string value to be associated with the given attribute name which will be visible in the Firebase Crashlytics console.
209
- *
210
- * #### Example
211
- *
212
- * ```js
213
- * await firebase.crashlytics().setAttribute('role', 'admin');
214
- * ```
215
- *
216
- * @param name The name of the attribute to set.
217
- * @param value A string value for the given attribute.
218
- */
219
- setAttribute(name: string, value: string): Promise<null>;
220
-
221
- /**
222
- * Like `setAttribute` but for multiple attributes.
223
- *
224
- * #### Example
225
- *
226
- * ```js
227
- * await firebase.crashlytics().setAttributes({
228
- * role: 'admin',
229
- * followers: '13',
230
- * });
231
- * ```
232
- *
233
- * @param attributes An object of key/value attribute name and values.
234
- */
235
- setAttributes(attributes: { [key: string]: string }): Promise<null>;
236
-
237
- /**
238
- * Enable/disable Crashlytics reporting.
239
- *
240
- * Use this for opt-in first user data collection flows combined with `firebase.json` settings to disable auto collection.
241
- *
242
- * #### Example
243
- *
244
- * ```js
245
- * // Disable crash reporting
246
- * await firebase.crashlytics().setCrashlyticsCollectionEnabled(false);
247
- * ```
248
- *
249
- * @param enabled A boolean value representing whether to enable Crashlytics error collection.
250
- */
251
- setCrashlyticsCollectionEnabled(enabled: boolean): Promise<null>;
252
- }
253
- }
254
-
255
- declare const defaultExport: ReactNativeFirebase.FirebaseModuleWithStatics<
256
- FirebaseCrashlyticsTypes.Module,
257
- FirebaseCrashlyticsTypes.Statics
258
- >;
259
-
260
- export const firebase: ReactNativeFirebase.Module & {
261
- crashlytics: typeof defaultExport;
262
- app(
263
- name?: string,
264
- ): ReactNativeFirebase.FirebaseApp & { crashlytics(): FirebaseCrashlyticsTypes.Module };
265
- };
266
-
267
- export default defaultExport;
268
-
269
- export * from './modular';
270
-
271
- /**
272
- * Attach namespace to `firebase.` and `FirebaseApp.`.
273
- */
274
- declare module '@react-native-firebase/app' {
275
- namespace ReactNativeFirebase {
276
- import FirebaseModuleWithStatics = ReactNativeFirebase.FirebaseModuleWithStatics;
277
- interface Module {
278
- crashlytics: FirebaseModuleWithStatics<
279
- FirebaseCrashlyticsTypes.Module,
280
- FirebaseCrashlyticsTypes.Statics
281
- >;
282
- }
283
- interface FirebaseApp {
284
- crashlytics(): FirebaseCrashlyticsTypes.Module;
285
- }
286
- }
287
- }
package/lib/version.js DELETED
@@ -1,2 +0,0 @@
1
- // Generated by genversion.
2
- module.exports = '23.7.0';