App.launchScreens

App.launchScreens(launchScreens) Set the launch screen images for your mobile app. Arguments launchScreens Object A dictionary where keys are different devices, screen sizes, and orientations, and the values are image paths relative to the project root directory. For Android, launch screen images should be special "Nine-patch" image files that specify how they should be stretched. See the Android docs. Valid key values: iphone_2x (640x960) iphone5 (640x1136) iphone6 (750x1334) iphone

App.info

App.info(options) Set your mobile app's core configuration information. Options id, version, name, description, author, email, website String Each of the options correspond to a key in the app's core configuration as described in the Cordova documentation.

App.icons

App.icons(icons) Set the icons for your mobile app. Arguments icons Object An Object where the keys are different devices and screen sizes, and values are image paths relative to the project root directory. Valid key values: iphone_2x (120x120) iphone_3x (180x180) ipad (76x76) ipad_2x (152x152) ipad_pro (167x167) ios_settings (29x29) ios_settings_2x (58x58) ios_settings_3x (87x87) ios_spotlight (40x40) ios_spotlight_2x (80x80) android_mdpi (48x48) android_hdpi (72x72) androi

App.configurePlugin

App.configurePlugin(id, config) Set the build-time configuration for a Cordova plugin. Arguments id String The identifier of the plugin you want to configure. config Object A set of key-value pairs which will be passed at build-time to configure the specified plugin.

App.accessRule

App.accessRule(pattern, [options]) Set a new access rule based on origin domain for your app. By default your application has a limited list of servers it can contact. Use this method to extend this list. Default access rules: tel:*, geo:*, mailto:*, sms:*, market:* are allowed and are handled by the system (e.g. opened in the phone app or an email client) http://localhost:* is used to serve the app's assets from. The domain or address of the Meteor server to connect to for DDP and hot cod

api.versionsFrom

package.js api.versionsFrom(meteorRelease) Use versions of core packages from a release. Unless provided, all packages will default to the versions released along with meteorRelease. This will save you from having to figure out the exact versions of the core packages you want to use. For example, if the newest release of meteor is METEOR@0.9.0 and it includes jquery@1.0.0, you can write api.versionsFrom('METEOR@0.9.0') in your package, and when you later write api.use('jquery'), it will b

api.use

package.js api.use(packageNames, [architecture], [options]) Depend on package packagename. Arguments packageNames String or Array of Strings Packages being depended on. Package names may be suffixed with an @version tag. In general, you must specify a package's version (e.g., 'accounts@1.0.0' to use version 1.0.0 or a higher compatible version (ex: 1.0.1, 1.5.0, etc.) of the accounts package). If you are sourcing core packages from a Meteor release with versionsFrom, you may leave off

api.imply

package.js api.imply(packageNames, [architecture]) Give users of this package access to another package (by passing in the string packagename) or a collection of packages (by passing in an array of strings [packagename1, packagename2] Arguments packageNames String or Array of Strings Name of a package, or array of package names, with an optional @version component for each. architecture String or Array of Strings If you only use the package on the server (or the client), you can p

api.export

package.js api.export(exportedObjects, [architecture], [exportOptions], exportOptions.testOnly) Export package-level variables in your package. The specified variables (declared without var in the source code) will be available to packages that use your package. If your package sets the debugOnly, prodOnly or testOnly options to true when it calls Package.describe(), then packages that use your package will need to use Package["package-name"].ExportedVariableName to access the value of an

api.addFiles

package.js api.addFiles(filenames, [architecture], [options]) Specify source code files for your package. Arguments filenames String or Array of Strings Paths to the source files. architecture String or Array of Strings If you only want to use the file on the server (or the client), you can pass this argument (e.g., 'server', 'client', 'web.browser', 'web.cordova') to specify what architecture the file is used with. You can specify multiple architectures by passing in an array, fo