EExcel 丞燕快速查詢2

EExcel 丞燕快速查詢2
EExcel 丞燕快速查詢2 https://sandk.ffbizs.com/

ionic always update for best New || Speed up initial loading

https://github.com/driftyco/ionic/issues/6776#issuecomment-267961514
https://github.com/driftyco/ionic-app-scripts/issues/596

This problem.... just update

>> ionic info

Ionic Framework
Ionic CLI
Ionic App Lib
Ionic App Scripts

Cordova CLI: 6.5.0
Ionic Framework Version: 2.0.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.1

So
1、npm update to best new

npm update -g


2、uninstall ionic

npm uninstall ionic


3、install ionic

npm install -g ionic


4、update package.js  in project

npm install -g npm-check-updates
npm-check-updates
npm-check-updates -u
npm install

or only check

npm outdated


5、update ionic-native  (maybe npm-check-updates update to new)

npm update ionic-native


6、maybe
ionic state reset


Finial Step:

ionic info

and

ionic start new-project-for-check-update blank --v2

see package.json  is laste new


ok~~


.developer

ionic run android --prod


.release

ionic build android --release --prod


Usually app start down then 1s for black screen

Error: Current working directory is not a Cordova-based project.

https://github.com/driftyco/ionic-cli/issues/935

just put www directory on root

ionic2 icons splashscreen 產生圖片

https://gxiangco.gitbooks.io/m3-app-dev/content/part4/%E6%9B%B4%E6%8F%9Bicons%E5%8F%8Asplashscreen.html

1、 change resource icon.png and splash.png

2、ionic resources  

3、check resource android and ios images is changed ?

4、apk
4.1、 ionic platform remove android  then  ionic platform add  android
or
4.2、
ionic build android
copy res android and ios images to platform/android or ios inside

ionic2 PhotoViewer local file

https://ionicframework.com/docs/v2/native/photo-viewer/

follow step just do.


Now focus

https://github.com/sarriaroman/photoviewer/issues/11

ps:   declare var cordova: any;
ps2: cordova plugin add cordova-plugin-file

www/assets/img  is ionic2 now version, maybe future change, but now this is correct

  showImage(imageUrl) {
    if (this.platform.is('cordova') && this.platform.is('android')) {
      File.readAsDataURL(cordova.file.applicationDirectory + "www/assets/img/", imageUrl)
      .then((dataURL:string) => {
        PhotoViewer.show(dataURL, "", {share: false})
      })
      .catch(
        (err)=>{alert("err: "+err)
      });
    } else if (this.platform.is('cordova') && this.platform.is('ios')) {
      PhotoViewer.show(cordova.file.applicationDirectory + "www/assets/img/"+imageUrl);
    }
  }


https://github.com/apache/cordova-plugin-file


==========
https://www.npmjs.com/package/ionic-img-viewer

this.app can't find in app

import { App } from 'ionic-angular';