You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build a library that requires manual importing of .aar and .xcframework to the project.
The problem is I can't bundle the native libraries with my react native library since they are proprietary and require you to sign before downloading them, so I need the user of my library to download them and place them in his project before using the react native library I'm making.
For Android
I was able to load the library from the /example/android project using this line of gradle code in the /android/build.gradle :
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to build a library that requires manual importing of
.aar
and.xcframework
to the project.The problem is I can't bundle the native libraries with my react native library since they are proprietary and require you to sign before downloading them, so I need the user of my library to download them and place them in his project before using the react native library I'm making.
For Android
I was able to load the library from the
/example/android
project using this line of gradle code in the/android/build.gradle
:the
rootDir
in points to the/example/android
the followed by/app/libs
which is where the native library should be placed.For iOS
I can't seem to find a similar way to import the library located on
/example/ios
to be used in /iosSo far I have tried the solutions suggested here: #292 but nothing seem to work. The library is in Swift
My background is mostly Android related, so any help on this topic would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions