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
+69
Original file line number
Diff line number
Diff line change
@@ -282,3 +282,72 @@ 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
+
## Config Considerations
287
+
288
+
Within `nativescript.config.ts`, be mindful of the following.
289
+
290
+
```ts
291
+
exportdefault {
292
+
discardUncaughtJsExceptions: true,
293
+
android: {
294
+
v8Flags: '--expose_gc',
295
+
markingMode: 'none',
296
+
codeCache: true,
297
+
suppressCallJSMethodExceptions: true,
298
+
},
299
+
}
300
+
```
301
+
302
+
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.
303
+
304
+
## Flavor Notes
305
+
306
+
Various flavors may need some extra considerations.
0 commit comments