cli icon indicating copy to clipboard operation
cli copied to clipboard

Autolinking assets without pods

Open maxkomarychev opened this issue 5 years ago • 4 comments

Hi,

I am working on a package whose sole sole purpose is to provide some fonts. I have created react-native.config.js in the package but native projects are not modified unless I do react-native link <packagename>.

Considering the fact that react-native link will soon be removed what's the right way to do this kind of stuff?

Only thing that comes to my mind so far is to provide empty navite code so that pods/gradle code can link it up (haven't tried that yet though).

Is there a better way?

Thanks.

maxkomarychev avatar Jun 25 '20 06:06 maxkomarychev

There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.

github-actions[bot] avatar Nov 27 '22 03:11 github-actions[bot]

We need a story around linking assets without changing native code. Reopening

thymikee avatar Dec 05 '22 12:12 thymikee

I'm exactly in this position right now, thanks for reopening

rborn avatar Dec 15 '22 09:12 rborn

Any ideas how this would work?

finnp avatar Apr 01 '23 11:04 finnp

Autolinking assets was implemented with new link-assets command! 🙌

szymonrybczak avatar Jun 24 '24 19:06 szymonrybczak