Android module resources are not added to the app's index.json

You must Login before you can answer or comment on any questions.

I built a module which includes a zip file with assets it requires. That zip needs to be extracted to the sdcard for the module to function. It seemed very straight forward since I peeked into the generated apk for my app and saw that the zip was placed in the Resources folder along side my js files, but it didn't work.

I couldn't read the file and didn't know why until I came across the index.json file and noticed that it didn't include references to the module assets.

For now, since I control the module and app, I can move the zip to the app for access. Going forward, how can can we go about getting some or all of a module's assets/resources to be indexed and included in that index.json file?

Your Answer

Think you can help? Login to answer this question!