How to use the expo-asset-utils.arrayFromObject function in expo-asset-utils

To help you get started, we’ve selected a few expo-asset-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github EvanBacon / Expo-Voxel / App.js View on Github external
get files() {
    return [
      ...AssetUtils.arrayFromObject(Assets.images || {}),
      // ...AssetUtils.arrayFromObject(Assets.models || {})
    ];
  }
github expo / expo-asset-utils / example / _App.js View on Github external
get files() {
    return [
      ...AssetUtils.arrayFromObject(Assets.images || {}),
      ...AssetUtils.arrayFromObject(Assets.models || {})
    ];
  }
github EvanBacon / Expo-Crossy-Road / src / AudioManager.js View on Github external
downloadAsync = async () =>
    AssetUtils.cacheAssetsAsync({
      files: [...AssetUtils.arrayFromObject(this.assets)],
    });
github EvanBacon / Sunset-Cyberspace / components / Preload.js View on Github external
get audio() {
    return AssetUtils.arrayFromObject(Assets.audio);
  }
github EvanBacon / Sunset-Cyberspace / components / Preload.js View on Github external
get files() {
    return [
      ...AssetUtils.arrayFromObject(Assets.images),
      ...AssetUtils.arrayFromObject(Assets.models),
    ];
  }
github EvanBacon / Expo-Voxel / App.js View on Github external
get audio() {
    return AssetUtils.arrayFromObject(Assets.audio);
  }
github EvanBacon / Sunset-Cyberspace / components / Preload.js View on Github external
get files() {
    return [
      ...AssetUtils.arrayFromObject(Assets.images),
      ...AssetUtils.arrayFromObject(Assets.models),
    ];
  }
github expo / expo-asset-utils / example / _App.js View on Github external
get audio() {
    return AssetUtils.arrayFromObject(Assets.audio);
  }
github expo / expo-asset-utils / example / _App.js View on Github external
get files() {
    return [
      ...AssetUtils.arrayFromObject(Assets.images || {}),
      ...AssetUtils.arrayFromObject(Assets.models || {})
    ];
  }