Giter Site home page Giter Site logo

ap3's Introduction

Ionic app files for AppPresser 3

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.

Usage

First, make sure you have node and npm installed.

  1. Clone this repository, cd into the directory cd ap3, and run npm install.
  2. Install the Ionic CLI tools

sudo npm install -g ionic

  1. 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';
  1. Run ionic serve to preview the app in your browser

Consult the Ionic documentation for cli commands, custom components, and more.

Update notes after updating Ionic

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

Possible issues

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

ap3's People

Contributors

scottopolis avatar shprink avatar stillatmylinux avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.