Packaging up resources in the LG package (.ipk)

I’m trying to create an ipk file.
my appinfo.json looks like this:

{
  "id": "test",
  "version": "1.0.0",
  "vendor": "My Company",
  "type": "web",
  "main": "index.html",
  "title": "Test",
  "icon": "icon.png",
  "largeIcon": "largeIcon.png"
}

In the same folder, I have an index.html which looks like this:

<!DOCTYPE html>
<html>
  <head>
    <title>Test app</title>
  </head>
  <body>
    <video autoplay muted>
      <source
        src="./video.mp4"
        type="video/mp4"
        width="100vw"
        height="100vh"
      />
    </video>
  </body>
</html>

as you can see I have a video.mp4 file sitting next to the index.html.

I realised that creating a package using ares-package ./test creates the .ipk file but it doesn’t bundle the video file within the package.

I was wondering if there is a way to bundle assets along with the index.html in an LG package?

App assets should be included in the .ipk file. We have checked that there is no problem in app packaging with the latest version of CLI. If the problem persists, please email us the following at developer@lge.com:

  • The version of OS you are using.
  • Your test project as a .zip file.