Ask questionsAccessing static assets


Let's say I would like to use static assets (such as text files, png's, etc) in a node app on Android. I noticed we have service.getProcess().exposeHostDirectory, and it feels like this would be a good way to expose a folder containing the static assets, but it's unclear where such a folder should go.

Android also gives us context.getAssets(), but it seems that Android bundles their static assets in a way that's incompatible with the more traditional file directory structure model expected by node.

Is serving static assets a supported scenario in LiquidCore?


Answer questions rgerd

Got it, makes sense. Thank you.


Related questions

No questions were found.
Github User Rank List