Is there a pkg file upload size limit of 4MB ? Now days with audio, image and short video, it is very easy for a package to be larger than 4MB. Can we increase that limit ?
Yes, there appears to be a limit. Static Analysis will emit an error if you exceed it. What Effects Channel Package Size discusses some of the assets that can affect the size. Lastly, Memory Management in the SceneGraph core docs explains how to avoid exceeding the limit.
If you want the app looks better there would be a lot of art work, all those consume spaces. store on the network will simply slowdown the response time. it should allow at least 50MB upload size!!
Yes, there is a 4MB package limit, and it won’t be increasing.
We are still shipping and supporting devices with small amounts of flash storage (currently, as little as 512MB, which also needs to include the operating system and required libraries), so we require small packages to ensure that the devices don’t need to constantly reload channels over the network.
Given current memory price trends, I wouldn’t expect that we’ll be increasing that space available on new devices anytime soon.
Thank you for explaining this and also providing the expectation !
