Skip to content

librtmpdroid.so needs 16 KB page alignment for Google Play compliance #108

@SwirlAdmin

Description

@SwirlAdmin

Version

v2.0.2

Which operating systems have you used?

  • Android
  • iOS

Environment that reproduces the issue

Hi team,

Google Play now requires all apps to support 16 KB memory page sizes—enforcement begins November 1, 2025.

Currently, your library bundles a librtmpdroid.so native binary that is aligned with 4 KB pages, triggering Play Console warnings and non-compliance risks.

Could you please rebuild the native binaries using NDK r25 or newer to support 16 KB page alignment?

Thanks and appreciated!

Is it reproducible in the example application?

Yes

RTMP Server

Not applicable – this issue is about native binary alignment, not streaming behavior.

Reproduction steps

  • Build a release APK with the library installed.

  • Upload the APK to Google Play Console (internal track).

  • Go to "Pre-launch report" or "Policy issues".

  • See warning: "Your app must support 16 KB memory page sizes..."

Expected result

.so binaries in the APK (especially librtmpdroid.so) should be aligned to 16 KB memory pages to comply with new Android requirements.

Actual result

The library bundles .so binaries compiled with 4 KB page alignment, violating Play's upcoming policy.

Additional context

  • React Native: 0.80.2

  • Library version: @api.video/react-native-livestream@2.0.2

  • NDK in use: 27.1.12297006

  • Target SDK: 35

  • Affected architecture: arm64-v8a, armeabi-v7a

Relevant logs output

Metadata

Metadata

Assignees

No one assigned

    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