RuleIn force

4 MB app package size

The app file size must be 4 MB or less. This is certification criterion 3.7, and it applies to every submitted package.

In force (criterion 3.7)

What the rule is

Certification criterion 3.7 requires the app file size to be 4 MB or less.

Roku has not announced a later package-size limit or a new date for this cap.

Who it affects

Every Roku app submitted to the Streaming Store.

How to fix it

  1. Keep your packaged app at 4 MB or less. Move large assets off the package and load them at runtime when you can.
  2. Measure the zip you will submit, not only the project folder, before you upload it.

Check your app

Run this in your project folder or zip. It checks this rule on your machine, and nothing about your project is uploaded.

npx roku-preflight check --only package-size

Official source