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
Having internal statistics about how many people actually use dart obfuscation in their apps is helpful. This information should be added in such a way so we can query it in our dashboards, e.g only adding the LoadNativeDebugImagesIntegration if it is an obfuscated event. Currently we always add this integration regardless of build type so it doesn't help us.
-> Loading debug images integration should only be done for obfuscated builds.
The text was updated successfully, but these errors were encountered:
buenaflor
changed the title
Add mechanism to differentiate between obfuscated and non-obfuscated builds
Add mechanism to differentiate between obfuscated and non-obfuscated builds (Dart)
Apr 28, 2025
buenaflor
changed the title
Add mechanism to differentiate between obfuscated and non-obfuscated builds (Dart)
Add mechanism to differentiate between obfuscated and non-obfuscated builds (Dart) and create internal stats board
Apr 28, 2025
Assigned this to you @denrase we want to be able to query how many events were obfuscated or not the easiest way for that is to only add the LoadNativeDebugImagesIntegration only if the build is obfuscated. Currently we always add it to the Dart integrations list which is also unnecessary so we need a isObfuscated check
I have a draft PR open, you can continue it there or take it as inspiration (or ditch it if it doesnt make sense).
This issue should also depend on the debug ID SDK side implementation as there are some changes there.
Some notes:
should isObfuscated only be applicable to non-web targets?
imo yes because web will always be minified in production and usually the word obfuscation is used for native platforms such as mobile an desktop whereas web is minified
if yes we should add LoadNativeDebugImagesIntegration on web always (which adds it to sdk.integration as LoadWebDebugImages and because it's always minified and debug id impl is set up in the integration) but otherwise on other targets only if the build is obfuscated
Uh oh!
There was an error while loading. Please reload this page.
Having internal statistics about how many people actually use dart obfuscation in their apps is helpful. This information should be added in such a way so we can query it in our dashboards, e.g only adding the
LoadNativeDebugImagesIntegration
if it is an obfuscated event. Currently we always add this integration regardless of build type so it doesn't help us.-> Loading debug images integration should only be done for obfuscated builds.
The text was updated successfully, but these errors were encountered: