In My Application I want to show if the developer mode is on then show one screen for restriction of developer mode
My Application in Flutter
I try to get devoption value from the settings
int devOptions =Settings.Secure.getInt(this.getContentResolver(),Settings.Global.DEVELOPMENT_SETTINGS_ENABLED , 0);
2
Answers
you can use below package :
and use like this (currently this works for android only):
Here’s a quick solution to detect developer options in Flutter:
Don’t forget: device_info_plus: ^9.1.0 in pubspec.yaml