Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 tasks
kikeelectronico opened this issue Feb 22, 2023 · 1 comment
Open
5 tasks
Labels

Comments

@kikeelectronico
Copy link

kikeelectronico commented Feb 22, 2023

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.

@dalemi666
Copy link

Same problem,
is there a chance to have a new version of the extension to solve the problem for android > 12 ?
Please give an answer
Emilio.

ewpatton added a commit that referenced this issue Jul 28, 2023
Fixes #70

Change-Id: I0b9c27b7de25444c04e70785ec698d017b60d162
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants