sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Report if `DEVELOPMENT_SETTINGS_ENABLED` is enabled on Android

Open marandaneto opened this issue 2 years ago • 4 comments

Description

This can be part of the device context most likely.

fun Context.isDeveloperOptionsEnabled(): Boolean = Settings.Global.getInt(
    contentResolver, Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0
) != 0

marandaneto avatar Jul 06 '23 11:07 marandaneto