Skip to content

suxindao/billboard

Repository files navigation

Ionic App Base

A starting project for Ionic that optionally supports using custom SCSS.

Using this project

We recommend using the Ionic CLI to create new Ionic projects that are based on this project but use a ready-made starter template.

For example, to start a new Ionic project with the default tabs interface, make sure the ionic utility is installed:

$ sudo npm install -g ionic cordova

Start a project

$ ionic start myApp blank

Setup sass

$ ionic setup sass

Run on bower

$ ionic serve

Add Android platform

$ ionic platform add android

Add cordova plugin

ionic plugin add cordova-plugin-crosswalk-webview
...
...

Update Android project

$ ionic platform update android
$ ionic run android

Crosswalk with Cordova

ionic plugin add cordova-plugin-crosswalk-webview

More info on this can be found on the Ionic Getting Started page and the Ionic CLI repo.

Issues

Issues have been disabled on this repo, if you do find an issue or have a question consider posting it on the Ionic Forum. Or else if there is truly an error, follow our guidelines for submitting an issue to the main Ionic repository.

Difference between crosswalk

"Mozilla/5.0 (Linux; Android 4.4.2; Coolpad 9976D Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36"

"Mozilla/5.0 (Linux; Android 4.4.2; Coolpad 9976D Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Crosswalk/19.49.514.5 Mobile Safari/537.36"

Ionic Android应用Release指南

  1. 生成命令
keytool -genkey -v -keystore my-release-key.keystore -alias panocean -keyalg RSA -keysize 2048 -validity 10000
keytool -genkeypair -alias migicboard.keystore -keyalg RSA -validity 10000 -keystore migicboard.keystore
  1. 生成 release包
ionic build --release android
  1. 签名
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore /Users/suxindao/work/billboard/platforms/android/build/outputs/apk/android-release-unsigned.apk panocean
jarsigner -verbose -keystore migicboard.keystore -signedjar $build_path/MagicManager-$DATE.apk $apk_path/android-release-unsigned.apk migicboard.keystore
  1. 优化
zipalign -f -v 4 android-release-unsigned.apk MagicManager-release.apk

图标在线制作

http://realfavicongenerator.net/

图片压缩

https://tinypng.com/

以同步的方式运行 Gulp 任务和任务中的步骤

http://www.tuicool.com/articles/BbIrEnU