Open josuah opened 2 months ago
The Flutter Blue Plus recommended AndroidManifest.xml
settings to appear to be slightly different to what's currently in noa-flutter
's manifest: FBP reference at least for Android versions <= 11. (E.g. maxSdkVersion attributes, absence of BLUETOOTH_ADMIN entirely etc.)
I haven't investigated how it fails due to these differences, I just always copy that whole block of permissions into the Android Manifest as-is when adding FBP to a project.
Will update these permissions 👍
Doesn't ask for Bluetooth permission on Android 8.1.0 so I can't use it :(
WARNING - Couldn't obtain Bluetooth permission. PlatformException(androidException, java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10141 nor current process has android.permission.BLUETOOTH., java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10141 nor current process has android.permission.BLUETOOTH. at android.os.Parcel.readException(Parcel.java:2013) at android.os.Parcel.readException(Parcel.java:1959) at android.bluetooth.IBluetooth$Stub$Proxy.getState(IBluetooth.java:908) at android.bluetooth.BluetoothAdapter.getLeState(BluetoothAdapter.java:892) at android.bluetooth.BluetoothAdapter.getLeAccess(BluetoothAdapter.java:905) at android.bluetooth.BluetoothAdapter.getBluetoothLeScanner(BluetoothAdapter.java:688) at b3.p.E(Unknown Source:2623) at s3.k$a.a(Unknown Source:17) at h3.c.l(Unknown Source:18) at h3.c.m(Unknown Source:41) at h3.c.i(Unknown Source:0) at h3.b.run(Unknown Source:12) at android.os.Handler.handleCallback(Handler.java:790) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6548) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:445) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857) , null) INFO - Starting to scan for devices INFO - Stopping scan for devices
As reported on https://discord.com/channels/963222352534048818/1270235803708166184:
Samsung S9+ Android 10
One someone else's phone, it asks for Location permissions and Bluetooth permissions. It also had a different landing page where you can sign in with google instead of typing in your email.
What was attempted: