Skip to content

Remove unused media permissions and bump to 3.5.3 - #23

Merged
marsicdev merged 2 commits into
main-v3from
release/3.5.3
Oct 1, 2026
Merged

marsicdev merged 2 commits into
main-v3from
release/3.5.3

Conversation

@marsicdev

@marsicdev marsicdev commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Google Play rejects the AAB under the Photo and Video Permissions policy because the manifest declared READ_MEDIA_IMAGES, READ_MEDIA_VIDEO and READ_MEDIA_AUDIO. The manifest merger report shows all three come from the app manifest, not from any library. The app never requests them: import and export use the Storage Access Framework and invoice sharing uses cacheDir with a FileProvider.

  • Remove the three media permissions from the manifest
  • Remove WRITE_EXTERNAL_STORAGE prompts before export and invoice share (SAF and FileProvider need no storage permission on any API level)
  • Request only CAMERA at dashboard start; import flows on API < 29 still request storage at use time
  • Trim FileUtils.java to trimCache and getAvailableSpaceInKB, the only members referenced
  • Bump version to 3.5.3

Test plan

  • CI build passes
  • Upload AAB to Play Console, confirm no Photo and Video Permissions rejection
  • Journal and catalog export on Android 9 and Android 13+
  • Invoice share and print
  • Journal and catalog import on Android 9 and Android 13+

Google Play rejects the bundle under the Photo and Video Permissions
policy because the manifest declared READ_MEDIA_IMAGES, READ_MEDIA_VIDEO
and READ_MEDIA_AUDIO. The app never requests them: import and export use
the Storage Access Framework and invoice sharing uses cacheDir with a
FileProvider.

Drop the three permissions, remove the WRITE_EXTERNAL_STORAGE prompts
that gated export and share, request only CAMERA at dashboard start, and
trim FileUtils to the two methods still in use.
setup-android v3 installs the removed 'tools' SDK package and fails
with "Failed to find package 'tools'". v4 drops it and runs on Node 24.
Bump checkout, setup-java and action-gh-release to their Node 24 majors
and pin the runner to ubuntu-24.04 ahead of the ubuntu-latest migration.
@marsicdev
marsicdev merged commit 0313b3b into main-v3 Oct 1, 2026
1 check passed
@marsicdev
marsicdev deleted the release/3.5.3 branch October 1, 2026 14:07
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