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

React native autolinking support, opting in certain dependencies #145

Open
StephenDocP opened this issue Mar 6, 2021 · 4 comments
Open

Comments

@StephenDocP
Copy link

Thank you for building this plugin, its a great idea, and excited about the impact it'll have on building our iOS apps.

We use React native, and it now supports auto-linking, is there a way to optionally apply the :binary => true option to these dependencies. Since they are not defined in the pod file.

I tried to implement something in the pre_install hook, but with no luck.

Do you have any suggestions or help on how to get this to work?

Thank you.

@EyMaddis
Copy link

EyMaddis commented Jun 7, 2021

The savings for RN projects can be used.
Our non-complex app has a compile time of 30-45 minutes on bitrise.io which could be improved radically by precompilation.
This relates to #33 because RN dependecies are local dependencies. The difference to other local dependencies is that they could actually be "fingerprinted" via the yarn.lock or package-lock.json files from Node.js.

@sidferreira
Copy link

@StephenDocP @EyMaddis I'm trying as well... so far I had to use all_binary! and remove Flipper, but still get some errors related to dSyms.

I wanna try some ideas later...

@dmeenhuis
Copy link

@StephenDocP @EyMaddis @sidferreira did any of you have any luck getting this to work in a React Native app? Trying this myself in an attempt to speed up our builds in Azure DevOps, but haven't been able to get it to work.

@sidferreira
Copy link

@StephenDocP @EyMaddis @sidferreira did any of you have any luck getting this to work in a React Native app? Trying this myself in an attempt to speed up our builds in Azure DevOps, but haven't been able to get it to work.

No.. Gave up a little afterwards

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

4 participants