Skip to Content
Ionic Cookbook - Third Edition
book

Ionic Cookbook - Third Edition

by Indermohan Singh
April 2018
Intermediate to advanced content levelIntermediate to advanced
390 pages
8h 46m
English
Packt Publishing
Content preview from Ionic Cookbook - Third Edition

How to do it...

Take a look at the following instructions:

  1. Create a new MyAppVersion app using the blank template, as follows, and navigate to the MyAppVersion folder:
$ ionic start MyAppVersion blank $ cd MyAppVersion
  1. Install the app-version plugin:
$ ionic cordova plugin add cordova-plugin-app-version
$ npm install --save @ionic-native/app-version
  1. Edit ./config.xml by changing the version number, as follows:
<widget id="com.ionicframework.myappversion637242" version="0.0.123" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

Note that your widget id might be different from the one mentioned here. You only need to change the version number. In this case, it is the 0.0.123 version.

  1. Create the services ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Ionic - Second Edition

Learning Ionic - Second Edition

Arvind Ravulavaru
Ionic in Action

Ionic in Action

Jeremy Wilken
Ionic : Hybrid Mobile App Development

Ionic : Hybrid Mobile App Development

Rahat Khanna, Sani Yusuf, Hoc Phan
ReasonML Quick Start Guide

ReasonML Quick Start Guide

Raphael Rafatpanah, Bruno Joseph D'mello

Publisher Resources

ISBN: 9781788623230Supplemental Content