Skip to content

Possibility of converting to standalone native module? #1

@ghost

Description

I have been attempting to dissect this project for a number of days. In its current state (as a complete react-native application) it works quite well however I have been unsuccessful in importing it into an existing application to add ARCore functionality.

From what I have gathered, the application and ARCore seem to be quite closely intertwined. Is separating them into both application and standalone module feasible? Or have you found that, in order to incorporate ARCore into react-native it must be built closely within the application itself? (Which appears to be the case.)

I have tried creating a new module, taking relative segments from this project and then importing said module into a separate react-native application, but did not have any luck. I have also tried importing the entire application as a library into an existing react-native application, but seem to get stuck on the abi defined in build.gradle:

Error: Could not find method getFilter() for arguments [ABI] on object of type com.android.build.gradle.internal.api.LibraryVariantOutputImpl

I'm still relatively new to the react-native native module space, apologies if the answer to this may seem obvious.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions