Skip to content

App crashes when using BLE extension on both Android 12 and 13 #70

@kikeelectronico

Description

@kikeelectronico

Describe the bug

When using the BLE extension, the app crashes on Android versions 12 and 13 because the lack of bluetooth_scan and bluetooth_connect permissions.

Affects

  • Designer
  • Blocks editor
  • [ x] Companion
  • [x ] Compiled apps
  • Buildserver
  • Debugging
  • Other... (please describe)

Expected behavior

I am not sure if the permissions are requested by App Inventor in other cases. If thats the case: MIT AI2 Companion/build app requests for the required permissions.

Steps to reproduce

On an Android 12 or Android 13 device.

  1. Import Bluetooth LE extension.
  2. Scan devices (the app will crash on some devices at this point).
  3. Connect to a BLE device (other devices will crash at this point).

Extra info:
I am using BBC micro:bit for my tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions