feat(ble): update kable-core to v0.44.0 + surface missing-permission scan failures#6165
Merged
Conversation
|
…44.0 Kable 0.44.0 renamed the ExperimentalApi annotation to ExperimentalKableApi. Updates the import and @OptIn on readRssi() so :core:ble compiles. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Kable throws a bare IllegalStateException("Missing required <permission> for
scanning") when a scan-time runtime permission is denied (ACCESS_COARSE/FINE
_LOCATION on Android <12, BLUETOOTH_SCAN on 12+). The classifier returned null
for it, so the scan died silently — ~31k non-fatal events in Crashlytics with
no user-facing signal.
Map it to a new BleScanStartFailureReason.MissingScanPermission via the
existing scan-start pipeline, and show "Grant the Nearby devices (or Location)
permission" instead of the generic scan-failed message. Message-matching is
unavoidable (Kable exposes no typed exception here); a regression test guards
the wording.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
jamesarich
enabled auto-merge
July 9, 2026 03:02
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.43.1→0.44.0Release Notes
JuulLabs/kable (com.juul.kable:kable-core)
v0.44.0Compare Source
Escalate deprecation of
Bluetooth.availability(#977)If you previously relied on
Bluetooth.availability, you'll now need to maintain your own version in your codebase.Rename experimental API annotation (#1114)
Be sure to change references for Kable's
ExperimentalApitoExperimentalKableApi.🔨 Changes
🤖 Android
android-compileversion to 37 (#1162)🍎 Apple
🧰 Maintenance
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.