Getting started

Setup ionic environment - to know more about ionic environment setup see ionic framework official document - https://ionicframework.com/docs/intro/installation/​
  1. Unzip downloaded files

  2. Change your details in app/config.xml. Change id, name, description, author, email, href

     <?xml version='1.0' encoding='utf-8'?>
     <widget id="com.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
         <name>WooCommerce</name>
         <description>An awesome WooCommerce app.</description>
         <author email="support@mstoreapp.com" href="http://mstoreapp.com/">Mstoreapp Team</author>
    
  3. Add your Wordpress website url in ./src/providers/service.ts file

     url: any = 'http://example.com';
    
  4. Change direcory to app project

     cd app
    
  5. Add android and ios platform to your project

     $ ionic cordova platform add android
    
     $ ionic cordova platform add ios
    
  6. Install WordPress Plugins

  7. Run your project on browser

     $ ionic serve
    
  8. Build android app

     $ ionic cordova platform add ios
    
  9. Build iOS app

     $ ionic cordova build ios
    
  10. Debug apk may take time to load on some android devices. you need to build --prod to load faster

    $ ionic cordova build android --prod
    
    $ ionic cordova build ios --prod
    

results matching ""

    No results matching ""