Skip to content

fix(build): install on Android 14; microphone and location hardware optional - #16

Merged
R44VC0RP merged 4 commits into
mainfrom
min-sdk
Nov 9, 2026
Merged

R44VC0RP merged 4 commits into
mainfrom
min-sdk

Conversation

@R44VC0RP

@R44VC0RP R44VC0RP commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Users can't install or even find the app on Google Play: with minSdk 35 Play shows "Your device isn't compatible" on Android 14 and hides the app from search there (several replies to the soft launch on X). Play Console's bundle explorer lists 3,784 supported device models for build 39.

  • minSdk 35 -> 34. Lint at 34 finds one newer API: launchedFromPackage/launchedFromUid in the Assistant caller check (SEC-01/02). On Android 14 every external App Action is treated as unverified, so Ask OpenCode pre-fills and waits for Send, and "call" opens the session without calling: the safe fallback. Android 15+ is unchanged. targetSdk stays 37.
  • Microphone and location are required="false", as the camera already is. They were implied as required by RECORD_AUDIO and ACCESS_FINE_LOCATION, which can exclude tablets and Chromebooks. aapt2 dump badging now shows both as uses-feature-not-required.

Verified: the old APK fails with INSTALL_FAILED_OLDER_SDK on an API 34 emulator; the new one installs and passes onboarding, a real session reply, camera/photos/files, the QR scanner, Settings, the drawer and back gesture, dictation, a Location attachment and a voice-call start (fails at the fake key, no crash); logcat -b crash empty. API 36 smoke test unchanged. Full scripts/check.sh passes.

Not done: Android 13 (13 lint findings in 4 files) and 12 (147 in 27 files); estimates in the QA report.

…here

Lower the shared floor from 35 to 34 without changing target SDK 37. Android 14 treats all external callers as unverified; Android 15+ retains the package, UID and certificate checks for hands-free sending or calling.

Verified the original min-35 install rejection, min-34 install and key flows on API 34, the external send/call fallback, and a smoke test on API 36. The full VM assemble, lint and JVM test gate passed for all modules.
Explicitly mark the features implied by recording and location permissions optional so Play can offer the app to devices without them. Keep runtime permissions and the existing unavailable-input/provider error handling.

Verified aapt2 changed both required features to uses-feature-not-required, with no GPS/network filter, and the full VM build, lint and tests passed. API 34 recorded/stopped dictation and attached an emulator GPS fix without a crash.
@R44VC0RP
R44VC0RP merged commit 3f3689d into main Nov 9, 2026
3 checks passed
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.

1 participant