You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/guide/crash-reporting-sentry.md
+75Lines changed: 75 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -282,3 +282,78 @@ Your crashes should appear in your Sentry dashboard shortly after triggering.
282
282
---
283
283
284
284
You're now successfully integrated with Sentry, gaining powerful insights into your app's performance and stability.
285
+
286
+
## Example Repo
287
+
288
+
You can compare your setup against this example repo which follows this documentation.
289
+
290
+
https://github.com/NativeScript/example-sentry
291
+
292
+
## Config Considerations
293
+
294
+
Within `nativescript.config.ts`, be mindful of the following.
295
+
296
+
```ts
297
+
exportdefault {
298
+
discardUncaughtJsExceptions: true,
299
+
android: {
300
+
v8Flags: '--expose_gc',
301
+
markingMode: 'none',
302
+
codeCache: true,
303
+
suppressCallJSMethodExceptions: true,
304
+
},
305
+
}
306
+
```
307
+
308
+
The options to `discardUncaughtJsExceptions` and `suppressCallJSMethodExceptions` will suppress JavaScript exceptions like those using `throw` which can prevent them from showing up in Sentry so just keep that in mind.
309
+
310
+
## Flavor Notes
311
+
312
+
Various flavors may need some extra considerations.
0 commit comments