These are the files used to compile mobile apps using AppPresser. They are based on Ionic 2, and use Angular 2 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 2, 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 ap3
, and runnpm install
. - Install the Ionic CLI tools
sudo npm install -g ionic
- Change src/providers/globalvars/globalvars.ts to your myapppresser.com account information. For example:
appid: string = '12';
apiurl: string = 'https://myapppresser.com/site-slug/'
endpoint: string = 'wp-json/ap3/v1/app/12';
- Run
ionic serve
to preview the app in your browser
Consult the Ionic documentation for cli commands, custom components, and more.