Align RewriteFrames trimming.
lucas-zimerman opened this issue · comments
LucasZF commented
I noticed that on Sentry React Native the following StackTrace
'at this(/home/username/sample-workspace/sampleapp.collect.capacitor/node_modules/capacitor/Libraries/Renderer/src/renderers/native/capacitorNativeBaseComponent.js:74:41)\n',
becomes
app:///capacitorNativeBaseComponent.js
where on capacitor it becomes
app:///home/username/sample-workspace/sampleapp.collect.capacitor/node_modules/capacitor/Libraries/Renderer/src/renderers/native/capacitorNativeBaseComponent.js
This doesn't seems to affect the stacktrace as seen below, but ideally, we should Align if we keep this behaviour or migrate to the one used by React Native
LucasZF commented
It was decided to keep the current behaviour and we'll not follow how it's done on React Native