0% found this document useful (0 votes)
50 views1 page

Ionic Commands

The document provides instructions for setting up an Ionic project including commands to list Ionic starter templates, create a project, add pages and services. It also includes steps for adding the Cordova plugin, listing plugins, installing platforms and building. Commands are given for installing Gradle, the Skeleton Loader plugin, and the Camera plugin. The document also provides a path and code snippet to paste into a network security configuration file to allow cleartext traffic when facing API connection issues.

Uploaded by

sivagokul526
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views1 page

Ionic Commands

The document provides instructions for setting up an Ionic project including commands to list Ionic starter templates, create a project, add pages and services. It also includes steps for adding the Cordova plugin, listing plugins, installing platforms and building. Commands are given for installing Gradle, the Skeleton Loader plugin, and the Camera plugin. The document also provides a path and code snippet to paste into a network security configuration file to allow cleartext traffic when facing API connection issues.

Uploaded by

sivagokul526
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

See the details : ionic start --list

Create project command : ionic start myApp blank --type=angular --routing


Create page : ionic generate page test
create service page : ionic generate service storage

Add cordova,
Install cordova : npm i -g cordova or ionic cordova run browser --- and --- npm
add @ionic/cordova-builders and ng add @ionic/cordova-builders
ionic cordova platform add android
ionic cordova platform remove android

Cordova build command,


ionic cordova build android

Plugin List Command,


cordova plugin list

Plugin Add Command,


ionic cordova plugin add <plugin name>

Gradle Install Process,

Dowmnload a gradle zip file from browser.


Create new Gradle folder in Local-disk C.
Add gradle file zip file into Gradle folder.

Open Environment,
Click on the "Environment Variables" button in the "Advanced" tab.
Under "System Variables", find the "Path" variable and click "Edit".
Click "New" and add the path to the Gradle bin directory.Copy and paste the exact
directory.
Click "OK" to save the changes and close all the windows.

Ionic install command--


npm install -g @ionic/cli

Skeleton loader install command --


npm install ngx-skeleton-loader@3.2.0

Skeleton loader uninstall command --


npm uninstall ngx-skeleton-loader --save --force

ionic cordova camera plugin,


npm install @awesome-cordova-plugins/camera @ionic-native/camera

============================
C:\apps android\spmob\Shippage_Android\resources\android\xml\
network_security_config.xml --- path to paste the belo code

usend in network.xml while faceing issue in api conections


<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>

You might also like