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

[rfc ...] use Maven AAR & Pod for platform-specific native code? #271

Open
brodycj opened this issue Mar 2, 2020 · 1 comment
Open

[rfc ...] use Maven AAR & Pod for platform-specific native code? #271

brodycj opened this issue Mar 2, 2020 · 1 comment

Comments

@brodycj
Copy link
Owner

brodycj commented Mar 2, 2020

In theory it should be possible to publish native Android implementations as AARs on Maven and a native iOS implementations as Pods.

I have not yet worked with this idea, hope to get a chance (someday).

Maybe an idea for react-native-community/discussions-and-proposals#49 (move iOS & Android specific functionality to their own packages).

@6pm
Copy link

6pm commented Jun 5, 2020

you can add *.aar files as usual in rn project - just add your *.aar module to /android/libs folder and add this line to build.gradle file into dependencies section -
implementation fileTree(dir: "libs", include: ["*.aar"])

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

No branches or pull requests

2 participants