Skip to content

Native library libc49b.so doesn't support 16KB page sizes - Blocks Android 15 compatibility and Play Store submissions #258

@talhauzair-28

Description

@talhauzair-28

Describe the issue

The react-native-square-in-app-payments package includes a native library (libc49b.so) that only supports 4KB page sizes. This prevents apps from being compatible with Android 15 (API 35) devices using 16KB page sizes and blocks Play Store submissions that target Android 15.

When analyzing the APK/AAB, the build system reports:
ArchivePathEntry: pathPrefix="", path="/lib/arm64-v8a/libc49b.so"
This supports 4KB

Environment

Package version: react-native-square-in-app-payments@1.7.6
React Native version: 0.81.5
Target SDK: Android 15 (API 35)
Build system: Gradle
Expo SDK: 54.0.0

Library Details

The problematic library appears in all architectures:
lib/arm64-v8a/libc49b.so (460,688 bytes)
lib/armeabi-v7a/libc49b.so (256,056 bytes)
lib/x86/libc49b.so (334,388 bytes)
lib/x86_64/libc49b.so (398,552 bytes)

To Reproduce

  1. Create React Native app with react-native-square-in-app-payments@1.7.6
  2. Configure for Android 15:
gradle   // android/app/build.gradle
   android {
       compileSdkVersion 36
       defaultConfig {
           targetSdkVersion 35
       }
   }
  1. Add 16KB page size property to AndroidManifest.xml:
   <application>
       <property android:name="android.app.16kb_pages.enabled" android:value="true"/>
   </application>
  1. Build release bundle: ./gradlew bundleRelease
  2. Analyze the bundle: unzip -l app-release.aab | grep libc49b.so

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions