Forked from AppPresser 3
These are the files used to compile mobile apps using AppPresser. They are based on Ionic 3, and use Angular 6 and Typescript.
This repository is for developers using AppPresser who want to make a lot of custom changes. If you make changes to these files, you cannot use the app builder, because it will overwrite your changes.
If you are not familiar with the command line, Angular 6, and Typescript, we recommend using our visual app builder instead of editing these files.
First, make sure you have node and npm installed.
- Clone this repository, cd into the directory
cd appp-funkflex
, and runnpm install
. - Install the Ionic CLI tools
sudo npm install -g ionic
- Run
npm run serve
to preview the app in your browser
Consult the Ionic documentation for cli commands, custom components, and more.
delete node_modules folder
npm install ionic-angular@latest --save npm install @ionic/app-scripts@latest --save-dev npm install -g cordova
npm install
cordova platform rm ios ionic cordova platform add ios ionic cordova plugin remove cordova-plugin-console ionic cordova plugin rm cordova-plugin-statusbar ionic cordova plugin add https://github.com/apache/cordova-plugin-statusbar.git
If cordova and/or ionic is not updated properly, you will get build errors.
Also, prod builds might see issues because of a webpack update https://github.com/ionic-team/ionic-app-scripts/releases/tag/v3.0.0
- Run
npm run build
- Copy the www/build/* folder to phonegap/funkmaster-flex/build/
- Zip the funkmaster-flex folder
- Upload funkmaster-flex.zip to https://build.phonegap.com/
- Scan the QR code to install on your device.
- Run
npm run build --prod
- Copy the www/build/* folder to phonegap/funkmaster-flex/build/
- Zip the funkmaster-flex folder
- Upload funkmaster-flex.zip to https://build.phonegap.com/
- Scan the QR code to install on your device.