I'm developing an android library (packaged as .aar), using the com.android.library plugin. I have hooked in react native to my activity using the instructions provided in https://facebook.github.io/react-native/docs/embedded-app-android.html.
However, when i run gradlew.bat build in my project, the generated package ./build/outputs/arr/{projectname-(debug/release)}.aar doesn't contain the bundle index.android.bundle therefore react native fails to find it.
Is there any other steps that I need to do to get the bundle generated and packaged using gradle?
Thanks