@bugsee/react-native 7.0.0-beta3 → 7.0.0-beta4
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.
- package/README.md +228 -10
- package/android/build.gradle +9 -0
- package/android/consumer-rules.pro +3 -0
- package/android/src/main/java/com/bugsee/reactnative/BreadcrumbFilterBridge.java +224 -20
- package/android/src/main/java/com/bugsee/reactnative/BugseeModule.java +44 -21
- package/android/src/main/java/com/bugsee/reactnative/BugseeOptionEnums.java +15 -0
- package/android/src/main/java/com/bugsee/reactnative/LogFilterBridge.java +119 -5
- package/android/src/main/java/com/bugsee/reactnative/NetworkCaptureProbe.java +107 -0
- package/android/src/main/java/com/bugsee/reactnative/NetworkFilterBridge.java +129 -14
- package/android/src/main/java/com/bugsee/reactnative/ReactNativeWrapperInitProvider.java +48 -0
- package/android/src/main/java/com/bugsee/reactnative/SpanHandles.java +64 -8
- package/android/src/main/java/com/bugsee/reactnative/StartupHold.java +237 -0
- package/ios/BugseeModule.mm +293 -155
- package/ios/Support/Package.resolved +2 -2
- package/ios/Support/Package.swift +1 -1
- package/ios/Support/Sources/BugseeRNSupport/BGSRNBlackout.m +14 -0
- package/ios/Support/Sources/BugseeRNSupport/BGSRNDeleteCollectedData.m +33 -0
- package/ios/Support/Sources/BugseeRNSupport/BGSRNFilterArming.m +22 -0
- package/ios/Support/Sources/BugseeRNSupport/BGSRNFilterDeadline.m +110 -0
- package/ios/Support/Sources/BugseeRNSupport/BGSRNSpanHandles.m +40 -6
- package/ios/Support/Sources/BugseeRNSupport/BGSRNWrapper.m +1 -1
- package/ios/Support/Sources/BugseeRNSupport/include/BGSRNBlackout.h +23 -0
- package/ios/Support/Sources/BugseeRNSupport/include/BGSRNCreatedReportOps.h +2 -0
- package/ios/Support/Sources/BugseeRNSupport/include/BGSRNDeleteCollectedData.h +29 -0
- package/ios/Support/Sources/BugseeRNSupport/include/BGSRNFilterArming.h +26 -0
- package/ios/Support/Sources/BugseeRNSupport/include/BGSRNFilterDeadline.h +68 -0
- package/ios/Support/Sources/BugseeRNSupport/include/BGSRNReportHandlerBridge.h +5 -0
- package/ios/Support/Sources/BugseeRNSupport/include/BGSRNReportOps.h +5 -0
- package/ios/Support/Sources/BugseeRNSupport/include/BGSRNSpanHandles.h +16 -2
- package/ios/Support/Sources/BugseeRNSupport/include/BGSRNWrapperChannelHolder.h +5 -0
- package/ios/Support/Tests/BugseeRNSupportTests/BGSRNBlackoutTests.m +38 -0
- package/ios/Support/Tests/BugseeRNSupportTests/BGSRNDeleteCollectedDataTests.m +135 -0
- package/ios/Support/Tests/BugseeRNSupportTests/BGSRNFakeReport.h +5 -0
- package/ios/Support/Tests/BugseeRNSupportTests/BGSRNFilterArmingTests.m +48 -0
- package/ios/Support/Tests/BugseeRNSupportTests/BGSRNFilterDeadlineTests.m +230 -0
- package/ios/Support/Tests/BugseeRNSupportTests/BGSRNReportHandlerBridgeTests.m +5 -0
- package/ios/Support/Tests/BugseeRNSupportTests/BGSRNSpanHandlesTests.m +86 -6
- package/ios/Support/Tests/BugseeRNSupportTests/BGSRNWrapperChannelHolderTests.m +5 -0
- package/ios/Support/Tests/BugseeRNSupportTests/BGSRNWrapperTests.m +1 -1
- package/native-versions.json +2 -2
- package/package.json +1 -1
- package/plugin/build/dsym-script.d.ts +11 -0
- package/plugin/build/dsym-script.js +26 -3
- package/plugin/build/dsym-script.js.map +1 -1
- package/plugin/build/index.d.ts +27 -0
- package/plugin/build/index.js +33 -21
- package/plugin/build/index.js.map +1 -1
- package/plugin/build/manifest.d.ts +37 -0
- package/plugin/build/manifest.js +67 -1
- package/plugin/build/manifest.js.map +1 -1
- package/plugin/build/native-versions.baked.json +1 -1
- package/scripts/compose-then-inject.js +4 -2
- package/scripts/hermes-sourcemaps.js +40 -3
- package/src/NativeBugsee.ts +39 -22
- package/src/apm/span.ts +42 -7
- package/src/breadcrumbs/filter.ts +104 -13
- package/src/breadcrumbs/types.ts +6 -4
- package/src/breadcrumbs/url-scrub.ts +75 -0
- package/src/exceptions/ErrorBoundary.tsx +4 -1
- package/src/exceptions/RootErrorReporter.tsx +1 -1
- package/src/exceptions/handlers.ts +17 -1
- package/src/exceptions/report.ts +30 -8
- package/src/index.ts +125 -33
- package/src/logs/filter.ts +19 -8
- package/src/network/filter.ts +17 -5
- package/src/options/AndroidLaunchOptions.ts +310 -24
- package/src/options/BugseeLaunchOptions.ts +463 -18
- package/src/options/IOSLaunchOptions.ts +164 -8
- package/src/options/android-options-manifest.json +63 -6
- package/src/options/enums.ts +28 -0
- package/src/options/ios-enums.json +6 -5
- package/src/options/ios-options-manifest.json +594 -0
- package/src/options/keys.ts +19 -1
- package/src/options/noAccessor.ts +16 -0
- package/src/options/option-keys.json +9 -3
- package/src/options/unknownKeys.ts +198 -0
|
@@ -0,0 +1,594 @@
|
|
|
1
|
+
{
|
|
2
|
+
"buildConfiguration": "release",
|
|
3
|
+
"generatedAt": "2026-11-16T19:43:51Z",
|
|
4
|
+
"manifestVersion": 1,
|
|
5
|
+
"options": [
|
|
6
|
+
{
|
|
7
|
+
"default": null,
|
|
8
|
+
"hidden": true,
|
|
9
|
+
"key": "com.bugsee.option.$$ENDPOINT",
|
|
10
|
+
"module": "Bugsee",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"default": false,
|
|
15
|
+
"hidden": false,
|
|
16
|
+
"key": "com.bugsee.option.capture.avplayer",
|
|
17
|
+
"module": "Bugsee",
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"default": false,
|
|
22
|
+
"hidden": false,
|
|
23
|
+
"key": "com.bugsee.option.capture.bluetooth-status",
|
|
24
|
+
"module": "Bugsee",
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"default": false,
|
|
29
|
+
"hidden": false,
|
|
30
|
+
"key": "com.bugsee.option.capture.breadcrumbs",
|
|
31
|
+
"module": "Bugsee",
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"default": false,
|
|
36
|
+
"hidden": false,
|
|
37
|
+
"key": "com.bugsee.option.capture.breadcrumbs.extras",
|
|
38
|
+
"module": "Bugsee",
|
|
39
|
+
"type": "boolean"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"default": false,
|
|
43
|
+
"hidden": false,
|
|
44
|
+
"key": "com.bugsee.option.capture.camera-preview",
|
|
45
|
+
"module": "Bugsee",
|
|
46
|
+
"type": "boolean"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"default": "MachAndBSD",
|
|
50
|
+
"enum": {
|
|
51
|
+
"name": "BugseeCrashHandlerType",
|
|
52
|
+
"values": {
|
|
53
|
+
"BSD": 1,
|
|
54
|
+
"Mach": 2,
|
|
55
|
+
"MachAndBSD": 3
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"hidden": false,
|
|
59
|
+
"key": "com.bugsee.option.capture.crash-handler-type",
|
|
60
|
+
"module": "Bugsee",
|
|
61
|
+
"type": "enum"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"default": 128,
|
|
65
|
+
"hidden": false,
|
|
66
|
+
"key": "com.bugsee.option.capture.crash-signals",
|
|
67
|
+
"module": "Bugsee",
|
|
68
|
+
"type": "int"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"default": false,
|
|
72
|
+
"hidden": false,
|
|
73
|
+
"key": "com.bugsee.option.capture.device-network-names",
|
|
74
|
+
"module": "Bugsee",
|
|
75
|
+
"type": "boolean"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"default": false,
|
|
79
|
+
"hidden": false,
|
|
80
|
+
"key": "com.bugsee.option.capture.disk-space",
|
|
81
|
+
"module": "Bugsee",
|
|
82
|
+
"type": "boolean"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"default": true,
|
|
86
|
+
"hidden": false,
|
|
87
|
+
"key": "com.bugsee.option.capture.logs",
|
|
88
|
+
"module": "Bugsee",
|
|
89
|
+
"type": "boolean"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"default": "Verbose",
|
|
93
|
+
"enum": {
|
|
94
|
+
"name": "BugseeLogLevel",
|
|
95
|
+
"values": {
|
|
96
|
+
"Debug": 4,
|
|
97
|
+
"Error": 1,
|
|
98
|
+
"Info": 3,
|
|
99
|
+
"Verbose": 5,
|
|
100
|
+
"Warning": 2
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"hidden": false,
|
|
104
|
+
"key": "com.bugsee.option.capture.logs.level",
|
|
105
|
+
"module": "Bugsee",
|
|
106
|
+
"type": "enum"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"default": false,
|
|
110
|
+
"hidden": false,
|
|
111
|
+
"key": "com.bugsee.option.capture.logs.oslog",
|
|
112
|
+
"module": "Bugsee",
|
|
113
|
+
"type": "boolean"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"default": true,
|
|
117
|
+
"hidden": false,
|
|
118
|
+
"key": "com.bugsee.option.capture.network",
|
|
119
|
+
"module": "Bugsee",
|
|
120
|
+
"type": "boolean"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"default": 20480,
|
|
124
|
+
"hidden": false,
|
|
125
|
+
"key": "com.bugsee.option.capture.network.body-size-limit",
|
|
126
|
+
"module": "Bugsee",
|
|
127
|
+
"type": "int"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"default": false,
|
|
131
|
+
"hidden": false,
|
|
132
|
+
"key": "com.bugsee.option.capture.network.body-without-type",
|
|
133
|
+
"module": "Bugsee",
|
|
134
|
+
"type": "boolean"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"default": true,
|
|
138
|
+
"hidden": false,
|
|
139
|
+
"key": "com.bugsee.option.capture.network.default-sanitizer",
|
|
140
|
+
"module": "Bugsee",
|
|
141
|
+
"type": "boolean"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"default": false,
|
|
145
|
+
"hidden": false,
|
|
146
|
+
"key": "com.bugsee.option.capture.network.on-launch",
|
|
147
|
+
"module": "Bugsee",
|
|
148
|
+
"type": "boolean"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"default": false,
|
|
152
|
+
"hidden": false,
|
|
153
|
+
"key": "com.bugsee.option.capture.on-device-symbolication",
|
|
154
|
+
"module": "Bugsee",
|
|
155
|
+
"type": "boolean"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"default": false,
|
|
159
|
+
"hidden": false,
|
|
160
|
+
"key": "com.bugsee.option.capture.sample-buffer-display-layer",
|
|
161
|
+
"module": "Bugsee",
|
|
162
|
+
"type": "boolean"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"default": true,
|
|
166
|
+
"hidden": false,
|
|
167
|
+
"key": "com.bugsee.option.capture.screenshot",
|
|
168
|
+
"module": "Bugsee",
|
|
169
|
+
"type": "boolean"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"default": 1,
|
|
173
|
+
"hidden": false,
|
|
174
|
+
"key": "com.bugsee.option.capture.screenshot.scale",
|
|
175
|
+
"module": "Bugsee",
|
|
176
|
+
"type": "float"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"default": false,
|
|
180
|
+
"hidden": false,
|
|
181
|
+
"key": "com.bugsee.option.capture.status-bar-info",
|
|
182
|
+
"module": "Bugsee",
|
|
183
|
+
"type": "boolean"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"default": true,
|
|
187
|
+
"hidden": false,
|
|
188
|
+
"key": "com.bugsee.option.capture.video",
|
|
189
|
+
"module": "Bugsee",
|
|
190
|
+
"type": "boolean"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"default": true,
|
|
194
|
+
"hidden": false,
|
|
195
|
+
"key": "com.bugsee.option.capture.video.adaptive",
|
|
196
|
+
"module": "Bugsee",
|
|
197
|
+
"type": "boolean"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"default": "High",
|
|
201
|
+
"enum": {
|
|
202
|
+
"name": "BugseeFrameRate",
|
|
203
|
+
"values": {
|
|
204
|
+
"High": 3,
|
|
205
|
+
"Low": 1,
|
|
206
|
+
"Medium": 2
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"hidden": false,
|
|
210
|
+
"key": "com.bugsee.option.capture.video.frame-rate",
|
|
211
|
+
"module": "Bugsee",
|
|
212
|
+
"type": "enum"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"default": 0,
|
|
216
|
+
"hidden": false,
|
|
217
|
+
"key": "com.bugsee.option.capture.video.max-frame-rate",
|
|
218
|
+
"module": "Bugsee",
|
|
219
|
+
"type": "int"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"default": 0,
|
|
223
|
+
"hidden": false,
|
|
224
|
+
"key": "com.bugsee.option.capture.video.min-frame-rate",
|
|
225
|
+
"module": "Bugsee",
|
|
226
|
+
"type": "int"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"default": true,
|
|
230
|
+
"hidden": false,
|
|
231
|
+
"key": "com.bugsee.option.capture.video.privacy-blur",
|
|
232
|
+
"module": "Bugsee",
|
|
233
|
+
"type": "boolean"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"default": "Default",
|
|
237
|
+
"enum": {
|
|
238
|
+
"name": "BugseeVideoQuality",
|
|
239
|
+
"values": {
|
|
240
|
+
"Default": 0,
|
|
241
|
+
"High": 2,
|
|
242
|
+
"Medium": 1
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"hidden": false,
|
|
246
|
+
"key": "com.bugsee.option.capture.video.quality",
|
|
247
|
+
"module": "Bugsee",
|
|
248
|
+
"type": "enum"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"default": 1,
|
|
252
|
+
"hidden": false,
|
|
253
|
+
"key": "com.bugsee.option.capture.video.scale",
|
|
254
|
+
"module": "Bugsee",
|
|
255
|
+
"type": "float"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"default": true,
|
|
259
|
+
"hidden": false,
|
|
260
|
+
"key": "com.bugsee.option.capture.view-hierarchy",
|
|
261
|
+
"module": "Bugsee",
|
|
262
|
+
"type": "boolean"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"default": true,
|
|
266
|
+
"hidden": false,
|
|
267
|
+
"key": "com.bugsee.option.capture.websocket",
|
|
268
|
+
"module": "Bugsee",
|
|
269
|
+
"type": "boolean"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"default": true,
|
|
273
|
+
"hidden": false,
|
|
274
|
+
"key": "com.bugsee.option.capture.webview.advanced",
|
|
275
|
+
"module": "Bugsee",
|
|
276
|
+
"type": "boolean"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"default": false,
|
|
280
|
+
"hidden": false,
|
|
281
|
+
"key": "com.bugsee.option.capture.webview.report-trigger",
|
|
282
|
+
"module": "Bugsee",
|
|
283
|
+
"type": "boolean"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"default": null,
|
|
287
|
+
"hidden": false,
|
|
288
|
+
"key": "com.bugsee.option.config.build-target",
|
|
289
|
+
"module": "Bugsee",
|
|
290
|
+
"type": "string"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"default": null,
|
|
294
|
+
"hidden": false,
|
|
295
|
+
"key": "com.bugsee.option.config.build-type",
|
|
296
|
+
"module": "Bugsee",
|
|
297
|
+
"type": "string"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"default": "None",
|
|
301
|
+
"enum": {
|
|
302
|
+
"name": "BugseeDataEncryptionMode",
|
|
303
|
+
"values": {
|
|
304
|
+
"EndToEnd": 2,
|
|
305
|
+
"None": 0,
|
|
306
|
+
"OnDevice": 1
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"hidden": false,
|
|
310
|
+
"key": "com.bugsee.option.config.data-encryption",
|
|
311
|
+
"module": "Bugsee",
|
|
312
|
+
"type": "enum"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"default": 60,
|
|
316
|
+
"hidden": false,
|
|
317
|
+
"key": "com.bugsee.option.config.duration",
|
|
318
|
+
"module": "Bugsee",
|
|
319
|
+
"type": "int"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"default": 150,
|
|
323
|
+
"hidden": false,
|
|
324
|
+
"key": "com.bugsee.option.config.max-data-size",
|
|
325
|
+
"module": "Bugsee",
|
|
326
|
+
"type": "int"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"default": 30,
|
|
330
|
+
"hidden": false,
|
|
331
|
+
"key": "com.bugsee.option.config.max-pending-report-age",
|
|
332
|
+
"module": "Bugsee",
|
|
333
|
+
"type": "int"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"default": 30,
|
|
337
|
+
"hidden": false,
|
|
338
|
+
"key": "com.bugsee.option.config.max-pending-reports",
|
|
339
|
+
"module": "Bugsee",
|
|
340
|
+
"type": "int"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"default": 0,
|
|
344
|
+
"hidden": false,
|
|
345
|
+
"key": "com.bugsee.option.config.notify-flush-delay",
|
|
346
|
+
"module": "Bugsee",
|
|
347
|
+
"type": "int"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"default": false,
|
|
351
|
+
"hidden": false,
|
|
352
|
+
"key": "com.bugsee.option.config.wifi-only-upload",
|
|
353
|
+
"module": "Bugsee",
|
|
354
|
+
"type": "boolean"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"default": false,
|
|
358
|
+
"hidden": false,
|
|
359
|
+
"key": "com.bugsee.option.detect.anomaly",
|
|
360
|
+
"module": "Bugsee",
|
|
361
|
+
"type": "boolean"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"default": true,
|
|
365
|
+
"hidden": false,
|
|
366
|
+
"key": "com.bugsee.option.detect.crash",
|
|
367
|
+
"module": "Bugsee",
|
|
368
|
+
"type": "boolean"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"default": false,
|
|
372
|
+
"hidden": false,
|
|
373
|
+
"key": "com.bugsee.option.detect.crash.fill_empty_exception_stacks",
|
|
374
|
+
"module": "Bugsee",
|
|
375
|
+
"type": "boolean"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"default": true,
|
|
379
|
+
"hidden": false,
|
|
380
|
+
"key": "com.bugsee.option.detect.crash.swift_async_stacktraces",
|
|
381
|
+
"module": "Bugsee",
|
|
382
|
+
"type": "boolean"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"default": true,
|
|
386
|
+
"hidden": false,
|
|
387
|
+
"key": "com.bugsee.option.detect.early-crash",
|
|
388
|
+
"module": "Bugsee",
|
|
389
|
+
"type": "boolean"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"default": true,
|
|
393
|
+
"hidden": false,
|
|
394
|
+
"key": "com.bugsee.option.detect.exit",
|
|
395
|
+
"module": "Bugsee",
|
|
396
|
+
"type": "boolean"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"default": false,
|
|
400
|
+
"hidden": false,
|
|
401
|
+
"key": "com.bugsee.option.detect.frustration",
|
|
402
|
+
"module": "Bugsee",
|
|
403
|
+
"type": "boolean"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"default": false,
|
|
407
|
+
"hidden": false,
|
|
408
|
+
"key": "com.bugsee.option.detect.hang",
|
|
409
|
+
"module": "Bugsee",
|
|
410
|
+
"type": "boolean"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"default": 3000,
|
|
414
|
+
"hidden": false,
|
|
415
|
+
"key": "com.bugsee.option.detect.hang.level.fair",
|
|
416
|
+
"module": "Bugsee",
|
|
417
|
+
"type": "int"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"default": 5000,
|
|
421
|
+
"hidden": false,
|
|
422
|
+
"key": "com.bugsee.option.detect.hang.level.medium",
|
|
423
|
+
"module": "Bugsee",
|
|
424
|
+
"type": "int"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"default": 10000,
|
|
428
|
+
"hidden": false,
|
|
429
|
+
"key": "com.bugsee.option.detect.hang.level.severe",
|
|
430
|
+
"module": "Bugsee",
|
|
431
|
+
"type": "int"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"default": false,
|
|
435
|
+
"hidden": false,
|
|
436
|
+
"key": "com.bugsee.option.detect.http-errors",
|
|
437
|
+
"module": "Bugsee",
|
|
438
|
+
"type": "boolean"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"default": false,
|
|
442
|
+
"hidden": false,
|
|
443
|
+
"key": "com.bugsee.option.detect.main_thread_misuse",
|
|
444
|
+
"module": "Bugsee",
|
|
445
|
+
"type": "boolean"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"default": true,
|
|
449
|
+
"hidden": false,
|
|
450
|
+
"key": "com.bugsee.option.performance.adaptive-sampling",
|
|
451
|
+
"module": "Bugsee",
|
|
452
|
+
"type": "boolean"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"default": true,
|
|
456
|
+
"hidden": false,
|
|
457
|
+
"key": "com.bugsee.option.performance.enabled",
|
|
458
|
+
"module": "Bugsee",
|
|
459
|
+
"type": "boolean"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"default": 0.01,
|
|
463
|
+
"hidden": false,
|
|
464
|
+
"key": "com.bugsee.option.performance.sample-rate",
|
|
465
|
+
"module": "Bugsee",
|
|
466
|
+
"type": "float"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"default": "High",
|
|
470
|
+
"enum": {
|
|
471
|
+
"name": "BugseeSeverityLevel",
|
|
472
|
+
"values": {
|
|
473
|
+
"Blocker": 5,
|
|
474
|
+
"Critical": 4,
|
|
475
|
+
"High": 3,
|
|
476
|
+
"Low": 1,
|
|
477
|
+
"Medium": 2
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"hidden": false,
|
|
481
|
+
"key": "com.bugsee.option.reporting.defaults.bug-priority",
|
|
482
|
+
"module": "Bugsee",
|
|
483
|
+
"type": "enum"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"default": "Blocker",
|
|
487
|
+
"enum": {
|
|
488
|
+
"name": "BugseeSeverityLevel",
|
|
489
|
+
"values": {
|
|
490
|
+
"Blocker": 5,
|
|
491
|
+
"Critical": 4,
|
|
492
|
+
"High": 3,
|
|
493
|
+
"Low": 1,
|
|
494
|
+
"Medium": 2
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"hidden": false,
|
|
498
|
+
"key": "com.bugsee.option.reporting.defaults.crash-priority",
|
|
499
|
+
"module": "Bugsee",
|
|
500
|
+
"type": "enum"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"default": "High",
|
|
504
|
+
"enum": {
|
|
505
|
+
"name": "BugseeSeverityLevel",
|
|
506
|
+
"values": {
|
|
507
|
+
"Blocker": 5,
|
|
508
|
+
"Critical": 4,
|
|
509
|
+
"High": 3,
|
|
510
|
+
"Low": 1,
|
|
511
|
+
"Medium": 2
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"hidden": false,
|
|
515
|
+
"key": "com.bugsee.option.reporting.defaults.error-priority",
|
|
516
|
+
"module": "Bugsee",
|
|
517
|
+
"type": "enum"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"default": false,
|
|
521
|
+
"hidden": false,
|
|
522
|
+
"key": "com.bugsee.option.reporting.triggers.screenshot",
|
|
523
|
+
"module": "Bugsee",
|
|
524
|
+
"type": "boolean"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"default": false,
|
|
528
|
+
"hidden": false,
|
|
529
|
+
"key": "com.bugsee.option.reporting.triggers.shake",
|
|
530
|
+
"module": "Bugsee",
|
|
531
|
+
"type": "boolean"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"default": false,
|
|
535
|
+
"hidden": false,
|
|
536
|
+
"key": "com.bugsee.option.reporting.ui.description-required",
|
|
537
|
+
"module": "Bugsee",
|
|
538
|
+
"type": "boolean"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"default": false,
|
|
542
|
+
"hidden": false,
|
|
543
|
+
"key": "com.bugsee.option.reporting.ui.email-required",
|
|
544
|
+
"module": "Bugsee",
|
|
545
|
+
"type": "boolean"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"default": false,
|
|
549
|
+
"hidden": false,
|
|
550
|
+
"key": "com.bugsee.option.reporting.ui.labels-enabled",
|
|
551
|
+
"module": "Bugsee",
|
|
552
|
+
"type": "boolean"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"default": false,
|
|
556
|
+
"hidden": false,
|
|
557
|
+
"key": "com.bugsee.option.reporting.ui.labels-required",
|
|
558
|
+
"module": "Bugsee",
|
|
559
|
+
"type": "boolean"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"default": false,
|
|
563
|
+
"hidden": false,
|
|
564
|
+
"key": "com.bugsee.option.reporting.ui.priority-selector-enabled",
|
|
565
|
+
"module": "Bugsee",
|
|
566
|
+
"type": "boolean"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"default": "System",
|
|
570
|
+
"enum": {
|
|
571
|
+
"name": "BugseeStyle",
|
|
572
|
+
"values": {
|
|
573
|
+
"BasedOnStatusBar": 2,
|
|
574
|
+
"Dusk": 1,
|
|
575
|
+
"Light": 0,
|
|
576
|
+
"System": 3
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
"hidden": false,
|
|
580
|
+
"key": "com.bugsee.option.reporting.ui.style",
|
|
581
|
+
"module": "Bugsee",
|
|
582
|
+
"type": "enum"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"default": false,
|
|
586
|
+
"hidden": false,
|
|
587
|
+
"key": "com.bugsee.option.reporting.ui.summary-required",
|
|
588
|
+
"module": "Bugsee",
|
|
589
|
+
"type": "boolean"
|
|
590
|
+
}
|
|
591
|
+
],
|
|
592
|
+
"sdk": "ios",
|
|
593
|
+
"sdkVersion": "7.1.0"
|
|
594
|
+
}
|
package/src/options/keys.ts
CHANGED
|
@@ -27,11 +27,29 @@ export const ANDROID_ONLY_KEYS: readonly string[] = keys.android;
|
|
|
27
27
|
*/
|
|
28
28
|
export const UNDECLARED_KEYS: Readonly<Record<'ios' | 'android', readonly string[]>> = {
|
|
29
29
|
ios: ['endpoint'],
|
|
30
|
-
|
|
30
|
+
// `$$DEBUG` and `$$WRAPPER` are internal: the wrapper owns them (it registers
|
|
31
|
+
// itself as the wrapper), and an app has no business setting them.
|
|
32
|
+
android: [
|
|
33
|
+
'com.bugsee.option.$$ENDPOINT',
|
|
34
|
+
'com.bugsee.option.$$DEBUG',
|
|
35
|
+
'com.bugsee.option.$$WRAPPER',
|
|
36
|
+
],
|
|
31
37
|
};
|
|
32
38
|
|
|
39
|
+
export { NO_ACCESSOR } from './noAccessor';
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Options this package defines for itself: sent in the launch options, ignored by the native SDKs, and
|
|
43
|
+
* acted on by the wrapper alone. Listing one here keeps the unknown-key warning quiet for it.
|
|
44
|
+
*
|
|
45
|
+
* The published-manifest check never complains about a key that is here or in an accessor and absent
|
|
46
|
+
* from an SDK's manifest: it only complains about what an SDK publishes that this package lacks.
|
|
47
|
+
*/
|
|
48
|
+
export const RN_OPTION_KEYS: readonly string[] = [];
|
|
49
|
+
|
|
33
50
|
export function keysFor(platform: 'ios' | 'android'): ReadonlySet<string> {
|
|
34
51
|
return new Set([
|
|
52
|
+
...RN_OPTION_KEYS,
|
|
35
53
|
...SHARED_KEYS,
|
|
36
54
|
...(platform === 'ios' ? IOS_ONLY_KEYS : ANDROID_ONLY_KEYS),
|
|
37
55
|
...UNDECLARED_KEYS[platform],
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Keys an SDK registers that have NO first-class accessor on purpose. The
|
|
3
|
+
* coverage test requires every known key to have an accessor or an entry here
|
|
4
|
+
* with a reason, so a new SDK option cannot be silently left unreachable.
|
|
5
|
+
*
|
|
6
|
+
* Keys whose accessor has a different shape than "one setter, one key" (the
|
|
7
|
+
* endpoint override) are covered by {@link UNDECLARED_KEYS}.
|
|
8
|
+
*/
|
|
9
|
+
export const NO_ACCESSOR: Readonly<Record<string, string>> = {
|
|
10
|
+
'com.bugsee.option.config.data-encryption':
|
|
11
|
+
'declared in the iOS SDK\'s private header (BGSOptionsPrivate.h), not its public API',
|
|
12
|
+
'com.bugsee.option.$$DEBUG': 'internal',
|
|
13
|
+
'com.bugsee.option.$$WRAPPER': 'internal; the wrapper registers itself',
|
|
14
|
+
'com.bugsee.option.$$ENDPOINT': 'reached through the `endpoint` accessor',
|
|
15
|
+
endpoint: 'reached through the `endpoint` accessor',
|
|
16
|
+
};
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"shared": [
|
|
3
3
|
"com.bugsee.option.capture.breadcrumbs",
|
|
4
4
|
"com.bugsee.option.capture.breadcrumbs.extras",
|
|
5
|
+
"com.bugsee.option.capture.crash-signals",
|
|
5
6
|
"com.bugsee.option.capture.logs",
|
|
6
7
|
"com.bugsee.option.capture.logs.level",
|
|
7
8
|
"com.bugsee.option.capture.network",
|
|
@@ -21,6 +22,8 @@
|
|
|
21
22
|
"com.bugsee.option.capture.webview.report-trigger",
|
|
22
23
|
"com.bugsee.option.config.duration",
|
|
23
24
|
"com.bugsee.option.config.max-data-size",
|
|
25
|
+
"com.bugsee.option.config.max-pending-report-age",
|
|
26
|
+
"com.bugsee.option.config.max-pending-reports",
|
|
24
27
|
"com.bugsee.option.config.notify-flush-delay",
|
|
25
28
|
"com.bugsee.option.config.wifi-only-upload",
|
|
26
29
|
"com.bugsee.option.detect.anomaly",
|
|
@@ -54,7 +57,6 @@
|
|
|
54
57
|
"com.bugsee.option.capture.bluetooth-status",
|
|
55
58
|
"com.bugsee.option.capture.camera-preview",
|
|
56
59
|
"com.bugsee.option.capture.crash-handler-type",
|
|
57
|
-
"com.bugsee.option.capture.crash-signals",
|
|
58
60
|
"com.bugsee.option.capture.device-network-names",
|
|
59
61
|
"com.bugsee.option.capture.disk-space",
|
|
60
62
|
"com.bugsee.option.capture.logs.oslog",
|
|
@@ -81,11 +83,11 @@
|
|
|
81
83
|
"com.bugsee.option.capture.video.mode",
|
|
82
84
|
"com.bugsee.option.capture.video.secure-scrolling",
|
|
83
85
|
"com.bugsee.option.capture.webview.domain-allowlist",
|
|
84
|
-
"com.bugsee.option.config.max-pending-report-age",
|
|
85
|
-
"com.bugsee.option.config.max-pending-reports",
|
|
86
86
|
"com.bugsee.option.config.report-handler-callback-timeout",
|
|
87
87
|
"com.bugsee.option.config.report-processing-in-process",
|
|
88
|
+
"com.bugsee.option.crash-ndk.tombstone-logs",
|
|
88
89
|
"com.bugsee.option.detect.anr.sampling",
|
|
90
|
+
"com.bugsee.option.detect.crash-ndk",
|
|
89
91
|
"com.bugsee.option.detect.exit.bg_low_memory_as_error",
|
|
90
92
|
"com.bugsee.option.detect.exit.dependency_died",
|
|
91
93
|
"com.bugsee.option.detect.exit.excessive_resource_usage",
|
|
@@ -100,6 +102,10 @@
|
|
|
100
102
|
"com.bugsee.option.detect.exit.user_requested",
|
|
101
103
|
"com.bugsee.option.detect.exit.user_was_stopped",
|
|
102
104
|
"com.bugsee.option.detect.hang.sampling",
|
|
105
|
+
"com.bugsee.option.detect.memory_leaks",
|
|
106
|
+
"com.bugsee.option.detect.memory_leaks.deep_sample_rate",
|
|
107
|
+
"com.bugsee.option.detect.memory_leaks.mode",
|
|
108
|
+
"com.bugsee.option.detect.thread_leaks",
|
|
103
109
|
"com.bugsee.option.performance.upload-mode",
|
|
104
110
|
"com.bugsee.option.reporting.triggers.broadcast",
|
|
105
111
|
"com.bugsee.option.reporting.triggers.notification-bar"
|