skip to Main Content

Flutter – Bluetooth does not work when I lock the device's screen

When I lock the screen, bluetooth does not receive data, but it still scans. I use flutter_blue_plus 1.32.4 and flutter_background_service 5.0.5. <uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" /> <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> <!-- legacy for Android 11 or lower --> <uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />…

VIEW QUESTION
Back To Top
Search