TypeScript/hybrid layer not implementing new enableWatchdogTerminationTracking setting
bramosopengov opened this issue · comments
bramosopengov commented
Environment
Upgrading from version 0.11.4 to version 0.12.2 of Sentry Capacitor
Steps to Reproduce
- Prior to upgrading to v0.12.2, our app implemented a setting called
enableOutOfMemoryTracking
- This setting is used to disable events sent to Sentry by the native layer if the OS kills the native app on iOS.
- We are setting it to
false
to disable out of memory tracking on iOS.
Expected Result
We expected setting enableOutOfMemoryTracking: false
to disable out of memory tracking on iOS.
Actual Result
Out of memory tracking still occurs on iOS.
It seems this setting was renamed to enableWatchdogTerminationTracking
with version 8.0.0 of Sentry Apple SDK. This might be why configuring the setting enableOutOfMemoryTracking: false
no longer seems to disable it.
LucasZF commented
Thank you for opening this Issue and for pointing out a culprit, this should be fixed soon!