@amazon-devices/expo-asset provides an Expo universal module to download assets and pass them into other APIs.
Installation
-
Add the JavaScript library dependency in the
package.jsonfile. -
Reinstall dependencies using the
npm installcommand.
Examples
The following example demonstrates how to download and store assets locally with theuseAssets hook.
loadAsync method.

