Skip to content

feat(barcode-scanner): update androidx.camera from 1.1.0 to 1.5.1 to support 16 KB memory page sizes#3038

Merged
FabianLars merged 2 commits intotauri-apps:v2from
impierce:chore/bump-androidx-camera
Oct 20, 2025
Merged

feat(barcode-scanner): update androidx.camera from 1.1.0 to 1.5.1 to support 16 KB memory page sizes#3038
FabianLars merged 2 commits intotauri-apps:v2from
impierce:chore/bump-androidx-camera

Conversation

@daniel-mader
Copy link
Copy Markdown
Contributor

Starting November 1st, 2025, all Android builds are required to support 16 KB memory page sizes.

The plugin barcode-scanner currently uses androidx.camera dependency in version 1.1.0 (June 2022).

Google Play flags the following libraries to be incompatible with 16 KB page sizes:

  • base/lib/arm64-v8a/libimage_processing_util_jni.so
  • base/lib/x86_64/libimage_processing_util_jni.so

Upgrading to the latest version of the androidx.camera should resolve the issue.

@daniel-mader daniel-mader requested a review from a team as a code owner October 20, 2025 11:16
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 20, 2025

Package Changes Through 9592242

There are 12 changes which include barcode-scanner with patch, barcode-scanner-js with patch, deep-link with patch, deep-link-js with patch, fs with patch, fs-js with patch, geolocation with patch, geolocation-js with patch, opener with patch, opener-js with patch, updater with minor, updater-js with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
api-example 2.0.36 2.0.37
api-example-js 2.0.32 2.0.33
deep-link-example-js 2.2.6 2.2.7
barcode-scanner 2.4.0 2.4.1
barcode-scanner-js 2.4.0 2.4.1
deep-link 2.4.3 2.4.4
deep-link-js 2.4.3 2.4.4
fs 2.4.2 2.4.3
fs-js 2.4.2 2.4.3
dialog 2.4.0 2.4.1
dialog-js 2.4.0 2.4.1
geolocation 2.3.0 2.3.1
geolocation-js 2.3.0 2.3.1
opener 2.5.0 2.5.1
opener-js 2.5.0 2.5.1
http 2.5.2 2.5.3
http-js 2.5.2 2.5.3
persisted-scope 2.3.2 2.3.3
single-instance 2.3.4 2.3.5
updater 2.9.0 2.10.0
updater-js 2.9.0 2.10.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@Legend-Master Legend-Master linked an issue Oct 20, 2025 that may be closed by this pull request
@FabianLars
Copy link
Copy Markdown
Member

Thanks for the PR! Would you mind adding a small changefile (check the .changes dir for examples) as well? :)

@daniel-mader
Copy link
Copy Markdown
Contributor Author

daniel-mader commented Oct 20, 2025

There seems to be an issue with an incompatible Gradle plugin version:

Dependency 'androidx.camera:camera-core:1.5.1' requires Android Gradle plugin 8.6.0 or higher.
This build currently uses Android Gradle plugin 8.5.1.

I am not sure if this is only happening with my local (cached) dependencies, or it will also generally break in this workspace.
When updating the plugin manually, I get:

Error resolving plugin [id: 'com.android.library', version: '8.13.0']
> The request for this plugin could not be satisfied because the plugin is already on the classpath with an unknown version, so compatibility cannot be checked.

Is there a plugin version for the entire workspace somewhere or is it my local config?

EDIT: Nevermind, you already opened another PR: #3039 👍

@FabianLars
Copy link
Copy Markdown
Member

yeah i was a bit quick on the approve button. i forgot that sdk requirement changes aren't a breaking change in android land.

@daniel-mader
Copy link
Copy Markdown
Contributor Author

Just asking, why are you bumping to 8.11.0 instead of 8.13.0 (latest)?

@FabianLars
Copy link
Copy Markdown
Member

just matching tauri's version

@FabianLars FabianLars merged commit 654bf48 into tauri-apps:v2 Oct 20, 2025
8 checks passed
@daniel-mader daniel-mader deleted the chore/bump-androidx-camera branch October 22, 2025 22:53
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.

[BUG] [barcode-scanner] support for 16KB page size

2 participants