Corona Enterprise already supports “reading” from *.obb expansion files. The only thing you have to do is create the expansion file yourself, which is really just a zip file, and add the following AndroidManifest.xml entry telling Corona that an expansion file exists.
\<manifest ...\> \<application ...\> \<activity android:name="com.ansca.corona.CoronaActivity" ...\> \<!-- Add this meta-data entry within the CoronaActivity tag. --\> \<!-- This tells Corona that an expansion file exists. --\> \<meta-data android:name="usesExpansionFile" android:value="true"/\> \</activity\> \</application\> \</manifest\>
Remember, Corona Enterprise is just a library which you integrate into your own Android application project. You’re really compiling with Google’s Android SDK. So, you have to create the Google Play expansion file yourself according to Google’s documentation. What I recommend is for you to move all of your assets from your Corona project folder to another folder for you to zip up and rename it with a *.obb extension. When you do an Android build, ideally, only the Lua scripts should be included within your APK’s assets. The app template we provide with Corona Enterprise will automatically compile the Lua scripts, bundle them within a “resource.car” file, and move that to your Android app project’s “assets” folder as a pre-build step within your “build.xml”.