Just share final update ~~except copy /src folder , seems that there are no plugin.. would you please let me know the installation procedure of plugin and npm....
I have do as below
1. sudo ionic cordova plugin add cordova-plugin-statusbar
2. sudo ionic cordova plugin add cordova-plugin-splashscreen
3. sudo ionic cordova plugin add cordova-plugin-device
4. sudo ionic cordova plugin add cordova-plugin-console
5. sudo ionic cordova plugin add cordova-plugin-whitelist
6. sudo ionic cordova plugin add ionic-plugin-keyboard
7. sudo ionic cordova plugin add cordova-plugin-x-socialsharing
8. sudo ionic cordova plugin add cordova-plugin-inappbrowser
9. sudo ionic cordova plugin add com.paypal.cordova.mobilesdk
and following 3 steps
sudo npm install --save @ionic-native/social-sharing
sudo npm install --save @ionic-native/in-app-browser
sudo npm install --save @ionic-native/paypal
it can enter the page but unsuccessful to log in and access network ..
I am not sure how many plugin packages and npm should be run ...
can you let me know the npm and procedure of plugin ...
Finally... the terminal displayed as below :
sudo ionic serve
Password:
Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703
--nobrowser - Ctrl+C to cancel
[14:05:14] watch started ...
[14:05:14] build dev started ...
[14:05:14] clean started ...
[14:05:15] clean finished in 7 ms
[14:05:15] copy started ...
[14:05:15] deeplinks started ...
[14:05:15] deeplinks finished in 241 ms
[14:05:15] transpile started ...
[14:05:22] transpile finished in 6.70 s
[14:05:22] preprocess started ...
[14:05:22] preprocess finished in less than 1 ms
[14:05:22] webpack started ...
[14:05:23] copy finished in 8.76 s
[14:05:36] webpack finished in 14.09 s
[14:05:36] sass started ...
Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.
[14:05:38] sass finished in 2.16 s
[14:05:38] postprocess started ...
[14:05:38] postprocess finished in 24 ms
[14:05:38] lint started ...
[14:05:38] build dev finished in 23.44 s
[14:05:38] watch ready in 23.64 s
[14:05:38] dev server running:
http://localhost:8104/
[OK] Development server running!
Local:
http://localhost:8104
External:
http://192.168.1.41:8104, http://10.2.0.2:8104
DevApp: foodly@8104 on Wingde-MacBook-Pro.local
[14:05:45] tslint: src/app/services/services.ts, line: 2
'Http' is declared but its value is never read.
L1: import { Injectable } from '@angular/core';
L2: import { Http,Headers} from '@angular/http';
L3: import 'rxjs/Rx';
[14:05:45] tslint: src/pages/forgot/forgot.ts, line: 4
All imports on this line are unused.
L3: import { Services } from '../../app/services/services';
L4: import {Login} from '../login/login';
[14:05:45] tslint: src/pages/avis/avis.ts, line: 28
Duplicate variable: 'index1'
L28: for (var index1 = 0; index1 < 5-this.product.note[index].note; index1++) {
L29: this.product.note[index].starout.push(index1);
[14:05:45] tslint: src/pages/avis/avis.ts, line: 20
'element' is declared but its value is never read.
L19: for (var index = 0; index < this.product.note.length; index++) {
L20: var element = this.product.note[index];
L21: this.product.note[index].star=[];
[14:05:45] tslint: src/pages/avis/avis.ts, line: 2
'AlertController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
[14:05:45] tslint: src/pages/avis/avis.ts, line: 2
'LoadingController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
[14:05:45] tslint: src/pages/detailprod/detailprod.ts, line: 53
Duplicate variable: 'index'
L53: for (var index = 0; index < 5-this.product.rate; index++) {
L54: this.starout.push(index);
[14:05:45] tslint: src/pages/detailprod/detailprod.ts, line: 182
Duplicate variable: 'price'
L181: produit.qte = 1;
L182: var price = 0;
L183: if (produit.hot_deal==="1"

{
[14:05:45] tslint: src/pages/contact/contact.ts, line: 3
All imports on this line are unused.
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
L3: import {Http} from '@angular/http';
L4: import { Services } from '../../app/services/services';
[14:05:45] tslint: src/pages/detailconseil/detailconseil.ts, line: 2
'AlertController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
L3: import { Services } from '../../app/services/services';
[14:05:46] tslint: src/pages/detailconseil/detailconseil.ts, line: 2
'LoadingController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
L3: import { Services } from '../../app/services/services';
[14:05:46] tslint: src/pages/about/about.ts, line: 2
'NavParams' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
L3: import {Http} from '@angular/http';
[14:05:46] tslint: src/pages/about/about.ts, line: 3
All imports on this line are unused.
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
L3: import {Http} from '@angular/http';
L4: import { Services } from '../../app/services/services';
[14:05:46] tslint: src/pages/home/home.ts, line: 2
'NavParams' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, NavParams } from 'ionic-angular';
L3: import {ContactPage} from '../contact/contact';
[14:05:46] tslint: src/pages/valide/valide.ts, line: 62
Duplicate variable: 'leprice'
L61: } else {
L62: var leprice = this.products1[i].item_price * this.products1[i].qte;
L63: this.price = this.price + leprice;
[14:05:46] tslint: src/pages/valide/valide.ts, line: 93
'j' is declared but its value is never read.
L92: this.price = price;
L93: var i, j;
L94: var ids = new Array();
[14:05:46] tslint: src/pages/valide/valide.ts, line: 2
'ViewController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: mport { NavController, AlertController, LoadingController, NavParams, ViewController } from 'ionic-angular';
L3: import {Credit} from '../credit/credit';
[14:05:46] tslint: src/pages/valide/valide.ts, line: 3
All imports on this line are unused.
L2: import { NavController, AlertController, LoadingController, NavParams, ViewController } from 'ionic-angular';
L3: import {Credit} from '../credit/credit';
L4: import { Services } from '../../app/services/services';
[14:05:46] tslint: src/pages/mycart/mycart.ts, line: 72
Duplicate variable: 'i'
L71: //calcul du prix
L72: for (var i = 0; i < this.products1.length; i++) {
L73: if (this.products1[i].solde) {
[14:05:46] tslint: src/pages/mycart/mycart.ts, line: 77
Duplicate variable: 'leprix'
L76: } else {
L77: var leprix = this.products1[i].prix * this.products1[i].qte;
L78: this.prix = this.prix + leprix;
[14:05:46] tslint: src/pages/mycart/mycart.ts, line: 111
Duplicate variable: 'price'
L110: produit.qte = qte;
L111: var price = 0;
L112: if (produit.solde) {
[14:05:46] tslint: src/pages/mycart/mycart.ts, line: 141
Duplicate variable: 'i'
L140: //ajouter -1 dans la qte du produit
L141: for (var i = 0; i < this.mycart.length; i++) {
L142: if (this.mycart[i].id === produit.id) {
[14:05:46] tslint: src/pages/mycart/mycart.ts, line: 165
'price' is declared but its value is never read.
L164: this.products1.splice(this.products1.indexOf(produit), 1);
L165: var price = 0;
L166: if (produit.solde) {
[14:05:46] tslint: src/pages/mycart/mycart.ts, line: 2
'AlertController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams, ViewController } from 'ionic-angular'
L3: import {Login} from '../login/login';
[14:05:46] tslint: src/pages/mycart/mycart.ts, line: 2
'LoadingController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams, ViewController } from 'ionic-angular'
L3: import {Login} from '../login/login';
[14:05:46] tslint: src/pages/tabs/tabs.ts, line: 27
'temp' is declared but its value is never read.
L27: var temp= this;
L28: if(sessionStorage.getItem('foody_nbrcart'

){
[14:05:46] tslint: src/pages/profil/profil.ts, line: 2
'LoadingController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
L3: import {Modifprof} from '../modifprof/modifprof';
[14:05:46] tslint: src/pages/propos/propos.ts, line: 2
'AlertController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
[14:05:46] tslint: src/pages/propos/propos.ts, line: 2
'LoadingController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
[14:05:46] tslint: src/pages/listproduit/listproduit.ts, line: 2
'NavParams' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
L3: import { Services } from '../../app/services/services';
[14:05:46] tslint: src/app/services/truncate.ts, line: 1
'PipeTransform' is declared but its value is never read.
L1: import { Pipe, PipeTransform } from '@angular/core';
[14:05:46] tslint: src/pages/catcomptoir/catcomptoir.ts, line: 2
'AlertController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
L3: import { Services } from '../../app/services/services';
[14:05:46] tslint: src/pages/catcomptoir/catcomptoir.ts, line: 2
'LoadingController' is declared but its value is never read.
L1: import { Component } from '@angular/core';
L2: import { NavController, AlertController, LoadingController, NavParams } from 'ionic-angular';
L3: import { Services } from '../../app/services/services';
[14:05:46] tslint: src/providers/service.ts, line: 2
'Http' is declared but its value is never read.
L1: import { Injectable } from '@angular/core';
L2: import { Http, Headers } from '@angular/http';
L3: import 'rxjs/add/operator/map';
[14:05:46] lint finished in 7.67 s
[14:06:46] build started ...
[14:06:46] deeplinks update started ...
[14:06:46] deeplinks update finished in 164 ms
[14:06:46] transpile update started ...
[14:06:47] transpile update finished in 137 ms
[14:06:47] webpack update started ...
[14:06:47] webpack update finished in 947 ms
[14:06:48] build finished in 1.62 s
[14:06:53] tslint: src/providers/service.ts, line: 2
'Http' is declared but its value is never read.
L1: import { Injectable } from '@angular/core';
L2: import { Http, Headers } from '@angular/http';
L3: import 'rxjs/add/operator/map';