Skip to content

⚠️ Support for Android 16 KB page size #241

@vkukade-altir

Description

@vkukade-altir

Hi @baronha ,
First of all, thank you for this awesome library and all your efforts in maintaining it 🙏

Background

Google has announced that by November 1, 2025, all native libraries published to Google Play must support a 16 KB page size.
Reference: Page Size Support Documentation

Currently, when building with latest version of react-native-multiple-image-picker (2.2.3), the following warnings appear:

libMultipleImagePicker.so - 4KB load section alignment, but 16 KB is required.
libimage_processing_util_jni.so - 4KB load section alignment, but 16 KB is required.

Investigation

Based on the discussion here:
Google Issue Tracker
CameraX Developers Group

It seems that:
• libimage_processing_util_jni.so is bundled with androidx.camera:camera-core.
• Versions 1.2.x / 1.3.x of CameraX were compiled with 4KB page size alignment, causing the warning.
• This is fixed starting from CameraX 1.4.0.

Dependency Analysis

react-native-multiple-image-picker doesn’t pull CameraX directly but instead depends on:

implementation 'io.github.lucksiege:camerax:v3.11.2'

From dependency resolution:

io.github.lucksiege:camerax:v3.11.2
↳ androidx.camera:camera-view:1.2.1
↳ androidx.camera:camera-core:1.2.1

This confirms that the library currently uses CameraX 1.2.1, which does not support 16KB page size.

Could you please make the changes to make this library 16kb Page size compatible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions