I'm trying to get the functionality of android Settings class in my flutter app. Using the app_settings package for this. I'm using the "AppSettings.openBluetoothSettings();" function, and instead of taking me to the bluetooth page where I can enable or disable the bluetooth, it takes me to the "Connected Devices" page.
I checked kotlin part of the package and saw this:
openSettings(Settings.ACTION_BLUETOOTH_SETTINGS, asAnotherTask)
This code somehow works differently depends on the Android version. When I test it in Android 9, it works as expected. However with Android 12,it sends me the "Connected Devices" page.