@sentry/react-native 6.0.0-alpha.0 → 6.0.0-alpha.2
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/RNSentry.podspec +22 -15
- package/android/src/main/java/io/sentry/react/RNSentryModuleImpl.java +4 -0
- package/android/src/newarch/java/io/sentry/react/RNSentryModule.java +5 -0
- package/android/src/oldarch/java/io/sentry/react/RNSentryModule.java +5 -0
- package/dist/js/NativeRNSentry.d.ts +1 -0
- package/dist/js/NativeRNSentry.d.ts.map +1 -1
- package/dist/js/NativeRNSentry.js.map +1 -1
- package/dist/js/index.d.ts +1 -1
- package/dist/js/index.d.ts.map +1 -1
- package/dist/js/index.js +1 -1
- package/dist/js/index.js.map +1 -1
- package/dist/js/integrations/default.d.ts.map +1 -1
- package/dist/js/integrations/default.js +4 -4
- package/dist/js/integrations/default.js.map +1 -1
- package/dist/js/integrations/exports.d.ts +2 -1
- package/dist/js/integrations/exports.d.ts.map +1 -1
- package/dist/js/integrations/exports.js +2 -1
- package/dist/js/integrations/exports.js.map +1 -1
- package/dist/js/options.d.ts +6 -2
- package/dist/js/options.d.ts.map +1 -1
- package/dist/js/options.js.map +1 -1
- package/dist/js/profiling/integration.js.map +1 -1
- package/dist/js/replay/networkUtils.d.ts +0 -1
- package/dist/js/replay/networkUtils.d.ts.map +1 -1
- package/dist/js/sdk.d.ts +4 -0
- package/dist/js/sdk.d.ts.map +1 -1
- package/dist/js/sdk.js +8 -0
- package/dist/js/sdk.js.map +1 -1
- package/dist/js/tools/metroconfig.d.ts +1 -1
- package/dist/js/tools/metroconfig.d.ts.map +1 -1
- package/dist/js/tools/metroconfig.js.map +1 -1
- package/dist/js/tools/sentryMetroSerializer.d.ts.map +1 -1
- package/dist/js/tools/sentryMetroSerializer.js +1 -0
- package/dist/js/tools/sentryMetroSerializer.js.map +1 -1
- package/dist/js/tools/utils.d.ts.map +1 -1
- package/dist/js/tools/utils.js +1 -1
- package/dist/js/tools/utils.js.map +1 -1
- package/dist/js/tools/vendor/metro/utils.d.ts.map +1 -1
- package/dist/js/tools/vendor/metro/utils.js +3 -0
- package/dist/js/tools/vendor/metro/utils.js.map +1 -1
- package/dist/js/tracing/integrations/nativeFrames.d.ts +1 -0
- package/dist/js/tracing/integrations/nativeFrames.d.ts.map +1 -1
- package/dist/js/tracing/integrations/nativeFrames.js +132 -193
- package/dist/js/tracing/integrations/nativeFrames.js.map +1 -1
- package/dist/js/tracing/reactnativetracing.js +1 -1
- package/dist/js/tracing/reactnativetracing.js.map +1 -1
- package/dist/js/tracing/reactnavigation.d.ts.map +1 -1
- package/dist/js/tracing/reactnavigation.js.map +1 -1
- package/dist/js/tracing/timetodisplaynative.types.d.ts +0 -1
- package/dist/js/tracing/timetodisplaynative.types.d.ts.map +1 -1
- package/dist/js/utils/AsyncExpiringMap.d.ts +56 -0
- package/dist/js/utils/AsyncExpiringMap.d.ts.map +1 -0
- package/dist/js/utils/AsyncExpiringMap.js +130 -0
- package/dist/js/utils/AsyncExpiringMap.js.map +1 -0
- package/dist/js/vendor/react-native/index.d.ts +0 -1
- package/dist/js/vendor/react-native/index.d.ts.map +1 -1
- package/dist/js/vendor/react-native/index.js.map +1 -1
- package/dist/js/version.d.ts +1 -1
- package/dist/js/version.js +1 -1
- package/dist/js/version.js.map +1 -1
- package/dist/js/wrapper.d.ts +1 -0
- package/dist/js/wrapper.d.ts.map +1 -1
- package/dist/js/wrapper.js +12 -0
- package/dist/js/wrapper.js.map +1 -1
- package/ios/RNSentry.mm +6 -4
- package/ios/RNSentryReplay.m +4 -0
- package/package.json +24 -26
- package/plugin/build/utils.js +6 -6
- package/plugin/build/withSentry.js +2 -2
- package/plugin/build/withSentryAndroid.js +2 -2
- package/plugin/build/withSentryIOS.js +3 -3
- package/src/js/NativeRNSentry.ts +1 -0
- package/ts3.8/dist/js/NativeRNSentry.d.ts +1 -0
- package/ts3.8/dist/js/index.d.ts +1 -1
- package/ts3.8/dist/js/integrations/exports.d.ts +2 -1
- package/ts3.8/dist/js/options.d.ts +6 -2
- package/ts3.8/dist/js/replay/networkUtils.d.ts +0 -1
- package/ts3.8/dist/js/sdk.d.ts +4 -0
- package/ts3.8/dist/js/tracing/integrations/nativeFrames.d.ts +1 -0
- package/ts3.8/dist/js/tracing/timetodisplaynative.types.d.ts +0 -1
- package/ts3.8/dist/js/utils/AsyncExpiringMap.d.ts +56 -0
- package/ts3.8/dist/js/vendor/react-native/index.d.ts +0 -1
- package/ts3.8/dist/js/version.d.ts +1 -1
- package/ts3.8/dist/js/wrapper.d.ts +1 -0
- package/CHANGELOG.md +0 -3332
- package/android/.gitignore +0 -302
- package/samples/react-native/react-native.config.js +0 -17
package/android/.gitignore
DELETED
|
@@ -1,302 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# Created by https://www.gitignore.io/api/gradle,android,intellij,androidstudio
|
|
3
|
-
# Edit at https://www.gitignore.io/?templates=gradle,android,intellij,androidstudio
|
|
4
|
-
|
|
5
|
-
### Android ###
|
|
6
|
-
# Built application files
|
|
7
|
-
*.apk
|
|
8
|
-
*.ap_
|
|
9
|
-
*.aab
|
|
10
|
-
|
|
11
|
-
# Files for the ART/Dalvik VM
|
|
12
|
-
*.dex
|
|
13
|
-
|
|
14
|
-
# Java class files
|
|
15
|
-
*.class
|
|
16
|
-
|
|
17
|
-
# Generated files
|
|
18
|
-
bin/
|
|
19
|
-
gen/
|
|
20
|
-
out/
|
|
21
|
-
release/
|
|
22
|
-
|
|
23
|
-
# Gradle files
|
|
24
|
-
.gradle/
|
|
25
|
-
build/
|
|
26
|
-
|
|
27
|
-
# Local configuration file (sdk path, etc)
|
|
28
|
-
local.properties
|
|
29
|
-
|
|
30
|
-
# Proguard folder generated by Eclipse
|
|
31
|
-
proguard/
|
|
32
|
-
|
|
33
|
-
# Log Files
|
|
34
|
-
*.log
|
|
35
|
-
|
|
36
|
-
# Android Studio Navigation editor temp files
|
|
37
|
-
.navigation/
|
|
38
|
-
|
|
39
|
-
# Android Studio captures folder
|
|
40
|
-
captures/
|
|
41
|
-
|
|
42
|
-
# IntelliJ
|
|
43
|
-
*.iml
|
|
44
|
-
.idea/workspace.xml
|
|
45
|
-
.idea/tasks.xml
|
|
46
|
-
.idea/gradle.xml
|
|
47
|
-
.idea/assetWizardSettings.xml
|
|
48
|
-
.idea/dictionaries
|
|
49
|
-
.idea/libraries
|
|
50
|
-
# Android Studio 3 in .gitignore file.
|
|
51
|
-
.idea/caches
|
|
52
|
-
.idea/modules.xml
|
|
53
|
-
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
|
|
54
|
-
.idea/navEditor.xml
|
|
55
|
-
|
|
56
|
-
# Keystore files
|
|
57
|
-
# Uncomment the following lines if you do not want to check your keystore files in.
|
|
58
|
-
#*.jks
|
|
59
|
-
#*.keystore
|
|
60
|
-
|
|
61
|
-
# External native build folder generated in Android Studio 2.2 and later
|
|
62
|
-
.externalNativeBuild
|
|
63
|
-
|
|
64
|
-
# Google Services (e.g. APIs or Firebase)
|
|
65
|
-
# google-services.json
|
|
66
|
-
|
|
67
|
-
# Freeline
|
|
68
|
-
freeline.py
|
|
69
|
-
freeline/
|
|
70
|
-
freeline_project_description.json
|
|
71
|
-
|
|
72
|
-
# fastlane
|
|
73
|
-
fastlane/report.xml
|
|
74
|
-
fastlane/Preview.html
|
|
75
|
-
fastlane/screenshots
|
|
76
|
-
fastlane/test_output
|
|
77
|
-
fastlane/readme.md
|
|
78
|
-
|
|
79
|
-
# Version control
|
|
80
|
-
vcs.xml
|
|
81
|
-
|
|
82
|
-
# lint
|
|
83
|
-
lint/intermediates/
|
|
84
|
-
lint/generated/
|
|
85
|
-
lint/outputs/
|
|
86
|
-
lint/tmp/
|
|
87
|
-
# lint/reports/
|
|
88
|
-
|
|
89
|
-
### Android Patch ###
|
|
90
|
-
gen-external-apklibs
|
|
91
|
-
output.json
|
|
92
|
-
|
|
93
|
-
# Replacement of .externalNativeBuild directories introduced
|
|
94
|
-
# with Android Studio 3.5.
|
|
95
|
-
.cxx/
|
|
96
|
-
|
|
97
|
-
### Intellij ###
|
|
98
|
-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
|
|
99
|
-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
100
|
-
|
|
101
|
-
# User-specific stuff
|
|
102
|
-
.idea/**/workspace.xml
|
|
103
|
-
.idea/**/tasks.xml
|
|
104
|
-
.idea/**/usage.statistics.xml
|
|
105
|
-
.idea/**/dictionaries
|
|
106
|
-
.idea/**/shelf
|
|
107
|
-
|
|
108
|
-
# Generated files
|
|
109
|
-
.idea/**/contentModel.xml
|
|
110
|
-
|
|
111
|
-
# Sensitive or high-churn files
|
|
112
|
-
.idea/**/dataSources/
|
|
113
|
-
.idea/**/dataSources.ids
|
|
114
|
-
.idea/**/dataSources.local.xml
|
|
115
|
-
.idea/**/sqlDataSources.xml
|
|
116
|
-
.idea/**/dynamic.xml
|
|
117
|
-
.idea/**/uiDesigner.xml
|
|
118
|
-
.idea/**/dbnavigator.xml
|
|
119
|
-
|
|
120
|
-
# Gradle
|
|
121
|
-
.idea/**/gradle.xml
|
|
122
|
-
.idea/**/libraries
|
|
123
|
-
|
|
124
|
-
# Gradle and Maven with auto-import
|
|
125
|
-
# When using Gradle or Maven with auto-import, you should exclude module files,
|
|
126
|
-
# since they will be recreated, and may cause churn. Uncomment if using
|
|
127
|
-
# auto-import.
|
|
128
|
-
# .idea/modules.xml
|
|
129
|
-
# .idea/*.iml
|
|
130
|
-
# .idea/modules
|
|
131
|
-
# *.iml
|
|
132
|
-
# *.ipr
|
|
133
|
-
|
|
134
|
-
# CMake
|
|
135
|
-
cmake-build-*/
|
|
136
|
-
|
|
137
|
-
# Mongo Explorer plugin
|
|
138
|
-
.idea/**/mongoSettings.xml
|
|
139
|
-
|
|
140
|
-
# File-based project format
|
|
141
|
-
*.iws
|
|
142
|
-
|
|
143
|
-
# IntelliJ
|
|
144
|
-
|
|
145
|
-
# mpeltonen/sbt-idea plugin
|
|
146
|
-
.idea_modules/
|
|
147
|
-
|
|
148
|
-
# JIRA plugin
|
|
149
|
-
atlassian-ide-plugin.xml
|
|
150
|
-
|
|
151
|
-
# Cursive Clojure plugin
|
|
152
|
-
.idea/replstate.xml
|
|
153
|
-
|
|
154
|
-
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
155
|
-
com_crashlytics_export_strings.xml
|
|
156
|
-
crashlytics.properties
|
|
157
|
-
crashlytics-build.properties
|
|
158
|
-
fabric.properties
|
|
159
|
-
|
|
160
|
-
# Editor-based Rest Client
|
|
161
|
-
.idea/httpRequests
|
|
162
|
-
|
|
163
|
-
# Android studio 3.1+ serialized cache file
|
|
164
|
-
.idea/caches/build_file_checksums.ser
|
|
165
|
-
|
|
166
|
-
### Intellij Patch ###
|
|
167
|
-
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
|
|
168
|
-
|
|
169
|
-
# *.iml
|
|
170
|
-
# modules.xml
|
|
171
|
-
# .idea/misc.xml
|
|
172
|
-
# *.ipr
|
|
173
|
-
|
|
174
|
-
# Sonarlint plugin
|
|
175
|
-
.idea/**/sonarlint/
|
|
176
|
-
|
|
177
|
-
# SonarQube Plugin
|
|
178
|
-
.idea/**/sonarIssues.xml
|
|
179
|
-
|
|
180
|
-
# Markdown Navigator plugin
|
|
181
|
-
.idea/**/markdown-navigator.xml
|
|
182
|
-
.idea/**/markdown-navigator/
|
|
183
|
-
|
|
184
|
-
### Gradle ###
|
|
185
|
-
.gradle
|
|
186
|
-
|
|
187
|
-
# Ignore Gradle GUI config
|
|
188
|
-
gradle-app.setting
|
|
189
|
-
|
|
190
|
-
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
|
|
191
|
-
!gradle-wrapper.jar
|
|
192
|
-
|
|
193
|
-
# Cache of project
|
|
194
|
-
.gradletasknamecache
|
|
195
|
-
|
|
196
|
-
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
|
|
197
|
-
# gradle/wrapper/gradle-wrapper.properties
|
|
198
|
-
|
|
199
|
-
### Gradle Patch ###
|
|
200
|
-
**/build/
|
|
201
|
-
|
|
202
|
-
### AndroidStudio ###
|
|
203
|
-
# Covers files to be ignored for android development using Android Studio.
|
|
204
|
-
|
|
205
|
-
# Built application files
|
|
206
|
-
|
|
207
|
-
# Files for the ART/Dalvik VM
|
|
208
|
-
|
|
209
|
-
# Java class files
|
|
210
|
-
|
|
211
|
-
# Generated files
|
|
212
|
-
|
|
213
|
-
# Gradle files
|
|
214
|
-
|
|
215
|
-
# Signing files
|
|
216
|
-
.signing/
|
|
217
|
-
|
|
218
|
-
# Local configuration file (sdk path, etc)
|
|
219
|
-
|
|
220
|
-
# Proguard folder generated by Eclipse
|
|
221
|
-
|
|
222
|
-
# Log Files
|
|
223
|
-
|
|
224
|
-
# Android Studio
|
|
225
|
-
/*/build/
|
|
226
|
-
/*/local.properties
|
|
227
|
-
/*/out
|
|
228
|
-
/*/*/build
|
|
229
|
-
/*/*/production
|
|
230
|
-
*.ipr
|
|
231
|
-
*~
|
|
232
|
-
*.swp
|
|
233
|
-
|
|
234
|
-
# Android Patch
|
|
235
|
-
|
|
236
|
-
# External native build folder generated in Android Studio 2.2 and later
|
|
237
|
-
|
|
238
|
-
# NDK
|
|
239
|
-
obj/
|
|
240
|
-
|
|
241
|
-
# IntelliJ IDEA
|
|
242
|
-
/out/
|
|
243
|
-
|
|
244
|
-
# User-specific configurations
|
|
245
|
-
.idea/caches/
|
|
246
|
-
.idea/libraries/
|
|
247
|
-
.idea/shelf/
|
|
248
|
-
.idea/.name
|
|
249
|
-
.idea/compiler.xml
|
|
250
|
-
.idea/copyright/profiles_settings.xml
|
|
251
|
-
.idea/encodings.xml
|
|
252
|
-
.idea/misc.xml
|
|
253
|
-
.idea/scopes/scope_settings.xml
|
|
254
|
-
.idea/vcs.xml
|
|
255
|
-
.idea/jsLibraryMappings.xml
|
|
256
|
-
.idea/datasources.xml
|
|
257
|
-
.idea/dataSources.ids
|
|
258
|
-
.idea/sqlDataSources.xml
|
|
259
|
-
.idea/dynamic.xml
|
|
260
|
-
.idea/uiDesigner.xml
|
|
261
|
-
|
|
262
|
-
# OS-specific files
|
|
263
|
-
.DS_Store
|
|
264
|
-
.DS_Store?
|
|
265
|
-
._*
|
|
266
|
-
.Spotlight-V100
|
|
267
|
-
.Trashes
|
|
268
|
-
ehthumbs.db
|
|
269
|
-
Thumbs.db
|
|
270
|
-
|
|
271
|
-
# Legacy Eclipse project files
|
|
272
|
-
.classpath
|
|
273
|
-
.project
|
|
274
|
-
.cproject
|
|
275
|
-
.settings/
|
|
276
|
-
|
|
277
|
-
# Mobile Tools for Java (J2ME)
|
|
278
|
-
.mtj.tmp/
|
|
279
|
-
|
|
280
|
-
# Package Files #
|
|
281
|
-
*.war
|
|
282
|
-
*.ear
|
|
283
|
-
|
|
284
|
-
# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
|
|
285
|
-
hs_err_pid*
|
|
286
|
-
|
|
287
|
-
## Plugin-specific files:
|
|
288
|
-
|
|
289
|
-
# mpeltonen/sbt-idea plugin
|
|
290
|
-
|
|
291
|
-
# JIRA plugin
|
|
292
|
-
|
|
293
|
-
# Mongo Explorer plugin
|
|
294
|
-
.idea/mongoSettings.xml
|
|
295
|
-
|
|
296
|
-
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
297
|
-
|
|
298
|
-
### AndroidStudio Patch ###
|
|
299
|
-
|
|
300
|
-
!/gradle/wrapper/gradle-wrapper.jar
|
|
301
|
-
|
|
302
|
-
# End of https://www.gitignore.io/api/gradle,android,intellij,androidstudio
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// Without this config the codegen fails
|
|
2
|
-
// because it can find @sentry/react-native
|
|
3
|
-
// in the dependencies
|
|
4
|
-
const path = require('path');
|
|
5
|
-
|
|
6
|
-
module.exports = {
|
|
7
|
-
project: {
|
|
8
|
-
ios: {
|
|
9
|
-
automaticPodsInstallation: true,
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
dependencies: {
|
|
13
|
-
RNSentry: {
|
|
14
|
-
root: path.resolve(__dirname, '../../'),
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
};
|