UNPKG

manifoldjs-cordova

Version:
18 lines (12 loc) 703 B
'use strict'; var manifoldjsLib = require('manifoldjs-lib'); var validationConstants = manifoldjsLib.constants.validation, imageValidation = manifoldjsLib.manifestTools.imageValidation; var constants = require('../../constants'); module.exports = function (manifestContent, callback) { var description = 'Launcher icons of the following sizes are required: 48x48, 72x72, 96x96, 144x144, 192x192, 512x512', platform = constants.platform.subPlatforms.android.id, level = validationConstants.levels.warning, requiredIconSizes = ['48x48', '72x72', '96x96', '144x144', '192x192', '512x512']; imageValidation(manifestContent, description, platform, level, requiredIconSizes, callback); };