I\'m trying to include an AAR file with my React Native Android app so that I can access its features using native code. How can I bundle an AAR so that native code can impo
Copy the library.aar file into react-native-module-name/android/libs. Create the libs folder if it doesn't exists.
In react-native-module-name/android/build.gradle:
dependencies {
implementation fileTree(dir: "libs", include: ["*.aar"])
implementation 'com.facebook.react:react-native:+' // From node_modules
}