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

fix(INJI-39): add new Bluetooth permission for Android12 [ hotfix ] #48

Merged

Conversation

vharsh
Copy link

@vharsh vharsh commented May 17, 2023

Reason for adding BLUETOOTH_{SCAN,CONNECT,ADVERTISE}

Reason for adding BLUETOOTH_{SCAN,CONNECT,ADVERTISE}

- enables Android12(API level31 & above) devices to scan for BLE
  peripherals
  ref: https://developer.android.com/guide/topics/connectivity/bluetooth/permissions#declare-android12-or-higher
  without this changeset, an exception is thrown
- this permission was added in API level 31, hence bumped up
  compileSdkVersion

Co-authored-by: Alka Prasad <prasadalka1998@gmail.com>
@vharsh vharsh requested review from ravikp and Alka1703 May 17, 2023 06:28
@vharsh vharsh changed the title fix(INJI-39): add new Bluetooth permission for Android12 fix(INJI-39): add new Bluetooth permission for Android12 [ hotfix ] May 17, 2023
@vharsh
Copy link
Author

vharsh commented May 17, 2023

I've pushed the changes @krishnakumar4a4, I'll test this on Android 10 & available Android 13 and revert back.

@vharsh
Copy link
Author

vharsh commented May 18, 2023

@krishnakumar4a4 I've tested the changes, please review it.

@krishnakumar4a4 krishnakumar4a4 merged commit 6a84054 into release-0.9.1 May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants