Closed jennmueng closed 2 years ago
It isn't quite clear the usage of in_app for Type/JavaScript code, for now all I found was the following mention:
My current sugestion for this fix: consider all browser frames as in_app as long as they don't come from vendor.*.js and polyfills.*.js.
What do you think @bruno-garcia and @marandaneto?
@AbhiPrasad or @lobsterkatie might help here, I don't know the inApp logic for JS that well.
I recently re-worked all the stack parsing code so I can confirm that all browser frames are considered in_app
.
The capacitor SDK does rewrite frames and override this though: https://github.com/getsentry/sentry-capacitor/blob/9e38a41dc55a40bb4a848744a904bd00af595509/src/sdk.ts#L57-L69
Closing this since the expected behavior was implemented.
In the image above, the typescript file is marked
in_app: false
, while the JS file is markedin_app: true
. It should be the other way around.