Skip to content

libface_detector_v2_jni.so not aligned to 16 KB page size - Google Play rejection #84

Description

@KLEIODEVS

What happened?

Package

@react-native-ml-kit/face-detection v1.3.2

Problem

The native library libface_detector_v2_jni.so bundled in this package
is not aligned to 16 KB page boundaries, causing Google Play Console to
flag it as non-compliant.

Libraries flagged by Play Console

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

Impact

Google Play enforced 16 KB page size compliance since November 2025 for
all app updates. This is blocking publishing for apps targeting
Android 15+ devices.

Environment

  • @react-native-ml-kit/face-detection: 1.3.2
  • React Native: 0.77.3
  • Android compileSdk: 35
  • AGP: 8.13.1

Expected Behavior

Native .so files should be aligned to 16 KB boundaries.

Version

@react-native-ml-kit/barcode-scanning: version
@react-native-ml-kit/face-detection: version
@react-native-ml-kit/identify-languages: version
@react-native-ml-kit/image-labeling: version
@react-native-ml-kit/text-recognition: version
@react-native-ml-kit/translate-text: version

Which ML Kit packages do you use?

  • @react-native-ml-kit/barcode-scanning
  • @react-native-ml-kit/face-detection
  • @react-native-ml-kit/identify-languages
  • @react-native-ml-kit/image-labeling
  • @react-native-ml-kit/text-recognition
  • @react-native-ml-kit/translate-text

What platforms are you seeing this issue on?

  • Android
  • iOS

System Information

@

Steps to Reproduce

Steps to Reproduce

  1. Install @react-native-ml-kit/face-detection
  2. Build release AAB
  3. Upload to Google Play Console
  4. Check App Bundle Explorer → 16 KB warnings

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions