Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let's not build reactnativeutilsjni shared library #4

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

SparshaSaha
Copy link
Owner

Summary

We will not build the shared library named reactnativeutilsjni as it is built from the same sources as reactnativejni. It makes sense to remove the duplicate copy. This change should help reduce the apk size for android apps.

This is similar to a recently merged PR in main:
facebook#34339

Changelog

[Android][Changed] - Replaced reactnativeutilsjni with reactnativejni in the build process to reduce size

Test Plan

Built react-native 0.68 from source and it builds the .aar successfully.

It has to be tested against:

  1. New Architecture
  2. Old Architecture

@SparshaSaha SparshaSaha merged commit 4a82e06 into 0.68-stable Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants