For this application I've written a Toaster plugin. It gives you an opportunity to use native android toasts. Plugin is published to NPM
and installs automatically.
You can visit demo page of web version. Note that some features such as notifications and vibration would not work.
Also you can download APK and install it on your device.
Demo page is generated on travis-ci
. It deploys to gh-pages
automaticaly every time when build is successfull.
Make sure you have Node.js installed.
$ git clone git@github.com:yaroslav0507/PWO.git # or clone your own fork
$ cd PWO
$ npm install
$ npm start
Your app should now be running on port #4000.
Default browser should open and display application in the new tab. All changes in the code will be immediately reflected in your browser by browser-sync
$ ionic build android - for android build
$ ionic build ios - for ios build
$ ionic emulate android - to start app in AVD
There are two ways how you can deploy application to device.
- Copy apk from
PWO/platforms/android/build/outputs/apk/android-debug.apk
to your device and install it under file system. - Connect device via USB cable and execute next command in console (Android SDK and Ionic CLI is required)
ionic run android
- for android devicesionic run ios
- for ios devices
PS: All images and content are used for application demonstration and fun :)