Skip to content

App crashes on launch when enabling 16 KB page size support (Android ARM64)Β #516

@harshapamnani

Description

@harshapamnani

Description

Our React Native application crashes immediately on launch after switching to 16 KB memory page size (default in RN 0.77 / Android ARM64).
The crash log indicates a page size mismatch in the Razorpay native library (.so files).
This is currently blocking app updates due to Google Play requirement for 16 KB page size support.

Razorpay Package Version :

"react-native-razorpay": "^2.3.0"

Java and Gradle Version (android) :

JDK 17 , 8.6.0

Error Log (adb logcat):
dlopen failed: invalid page size
error loading librazorpay.so
page size mismatch: expected 16384, found 4096
Abort message: "ELF binary not page-aligned"

Steps To Reproduce

Steps to Reproduce:
Update React Native to >= 0.76 (which enables 16 KB page size)
Build and run app on a device using ARM64
App instantly crashes before rendering any UI

Expected Behavior:
Razorpay native SDK should provide .so binaries compiled with 16 KB page size for ARM64 devices.

Impact:
Blocking Play Store release
Any RN app using Razorpay cannot upgrade to React Native 0.77 safely

Request:
Please update the native binaries to support 16 KB page size, matching the new Android requirement.
If possible, kindly share ETA or temporary workarounds to prevent blocking deployments.2

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