import splashScreen from "../img/logo.png";
import channelPoster from "../img/channel-poster.png";

/**
 * If you have to create multipackage configuration
 * getPackageInfo must return object whih has `packages` property
 * and all packages should be a fields of `packages`
 * name of field should be a package name usually the same as alias
 * which used with this package
 * also `packages` must have `default` field with mandatory fields `splashScreen`
 * `splashColor` and `screenSaver` if application used as screen saver
 * also default may contain fields which are common for all packages. All
 * packages would be extended with these values at build time.
 *
 *  For example
 *  export const getPackageInfo = () => ({
 *    packages: {
 *      default: {
 *        splashScreen: splashScreen
 *        splashColor: "#000000"
 *      },
 *      qa: {
 *        title: "banvor QA"
 *        minFirmwareVersion: "11.0.0",
 *        ...
 *      },
 *      staging: {
 *        title: "banvor Staging"
 *        minFirmwareVersion: "10.5.0",
 *        ...
 *      }
 *    }
 *  })
 */

export const getPackageInfo = () => ({
    title: "Roku CloudSDK App: Banvor",
    splashScreen,
    channelPoster, // maps to mm_icon_focus_XX in manifest
    majorVersion: 1, // note minor version and build version will be managed by tooling
    splashColor: "#000000",

    bootParams: {
        bootSplashColor: [0, 0, 0],
        bootSplashImage: splashScreen
    },
    minFirmwareVersion: "13.0.0",
    useNdkLib: true,
    useCloudland: true
});
