IDEMSInternational / open-app-builder

PLH App Frontend
GNU General Public License v3.0
6 stars 25 forks source link

[FEATURE] - Remote asset sync #1316

Open chrismclarke opened 2 years ago

chrismclarke commented 2 years ago

Updates 2023-04-10

Work started in #1873, summary tasks below

Generating asset packs

Hosting asset packs

Download asset packs

Links

Updates 2023-03-14

@jfmcquade taken on and has created Remote Assets RFC


Original Issue

What? The current app bundle is approaching size limits that surpass play store limit (150MB) and forces users to download a large number of assets that they may never need (e.g. translated audios)

We need to improve on this system by:

  1. Explore use of android asset delivery as a means to distribute bundles larger than 150MB if required.

  2. Implement a system that allows users to download resources direct from a server and integrate into the app

How? For task (1) that should be a more simple task of exploring the docs to see what is possible and propose how we might integrate into existing pipelines. This is not a preferred option but may be something quick that can be achieved in the short term. Longer term it may still have some use to distinguish between code that could be updated OTA and/or assets that can be optimised to not repeatedly download

For task (2) likely will involve

Other details This is not an uncommon use-case/pattern so it might also be worth spending a bit of time to figure out how similar applications achieve such things

esmeetewinkel commented 1 year ago

Timeline: needed before June 2023 for ParentApp for Teens. Also needed by ParentApp for Kids around that time.

chrismclarke commented 1 year ago

Current RFC working doc for reference https://docs.google.com/document/d/10I7lB5q4VzSiGUeenugP9guWUZ8Tnq95/edit?rtpof=true

jfmcquade commented 11 months ago

Notes taken from #1989

TODO/needs discussion

asset_packs as manifests for downloading files

Version tracking

Fallbacks/placeholder assets