biodiv commented on issue #1755: URL: https://github.com/apache/cordova-android/issues/1755#issuecomment-2785560550
I think it would be a great benefit to include `install-time` assets to enable larger apps. The other delivery methods could be left unsupported first in my opinion. Points 4 to 6 mentioned by @breautek do not apply to `install-time` assets if I grasped the documentation correctly, and they can be up to 1.5GB in size. I read through this [https://developer.android.com/guide/playcore/asset-delivery/integrate-java#groovy](https://developer.android.com/guide/playcore/asset-delivery/integrate-java#groovy) and came up with the following idea: - enhance the gradle build system to handle one additional android module: `AssetDelivery` - install-time configuration only - in the cordova android template, add support for one additional folder (`asset-delivery`) on the same level as `www`. The user can then put the asset files in there. The `asset-delivery` folder can be left empty and does not have to exist. - during build, copy these files on `asset-delivery` into the android module according to the spec - make them accessible from the webview, I do not know yet how to do this. I also read through the cordova plugin documentation, but could not figure out a way how to implement the changes required for the gradle build system with the plugin approach. Maybe, if the focus is on install-time assets, the plugin approach is not so important. However, I have no experience with cordova plugins. I'll give it a shot, but I can't promise I will succeed. Any thoughts are appreciated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org