Skip to content

Support libraries based on JSI modules (Android) #581

Closed

Description

Proposal

First of all, thanks to all the contributors for this great tool! As far as I understand it, it doesn't support libraries such as react-native-reanimated on Android because they require special setup, such as tampering with MainApplication.java.

Alternatives

A bare React Native project.

Implementation Details

The tool could check for entries in rnx-kit (package.json) such as animation and provide the setup files matching the current react-native version. Some additional setup might be required by hand; for example adding a babel plugin in babel.config.js.

Additional Context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. tido64 commented on Nov 11, 2021

    @tido64
    Member

    Thanks for the suggestion, Jules Sam. Randolph (@jsamr). I think this is a really good idea. I'm following up with some folks to make sure the JSI stuff is stable enough before we implement this. I also think that this is something that we should get into @react-native-community/cli as part of auto-linking. That way we don't lock the feature to this tool. I will keep you posted.

  2. tido64 commented on Mar 18, 2022

    @tido64
    Member

    Closing this in favour of react-native-community/cli#1527 and reactwg/react-native-new-architecture#2 (comment). Please voice your concerns/questions/suggestions there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplatform: Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions