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