generator-beslauncher
v1.0.1
Published
Creates a cross-platform web-launcher to be installed in the workspace. the app will simply invoke the system browser with the pre-defined url, and close the app in the background. aka. bookmarks in the workspace.
Downloads
5
Readme
Yeoman Generator - Cross Platform Web Launcher
This is a Yeoman generator that will build a cross platform web launcher (an icon that sits on the phone, which launches the system browser to a predefined URL) typically installed in the workspace, and based upon the BES10 Web-Launcher Sample app.
Author
Setup
Before using this generator you must have your development environment(s) setup, and ready to roll for each platform you plan on building an app for. Refer to the Cordova Platform Guides which will walk you through the setup process.
Platform Setup Guides
Yeoman and Generator Installation
Yeoman is an NPM module, and installed globally through Node.js's npm
command
- Download and install Node.js
- Install Yeoman:
npm install -g yo
- Install this generator:
npm install -g generator-beslauncher
Running the Generator
To run the generator run the following from terminal / command-prompt
yo beslauncher
or, to list all installed generators and manually run it
yo
The generator will prompt you for eight answers.
- Name - Displayed under the app icon.
- ID - Unique ID, typically in the com.companyname.appname format.
- Description - Short description of the app.
- Company Name - Your company name.
- Company Email - Contact email.
- Company Website - Website.
- URL - Where the app will 'launch' to.
- Platforms - Select all Platforms you want to build for. You must have the Platform environment already. setup
Next Steps
Next you need to build
your new app. The --release flag indicates the app will be packaged for release.
*Note: For BlackBerry 10, you'll be prompted for your Signing Password. This is the password you chose when you Setup your Signing Keys.
cordova build --release
Done
At this point you should have a fully customized, cross-platform web launcher. For more information on how to test and deploy this app on each platform refer to the Cordova Platform Guides.