Ionic - MaxGolden/Personal_Blogs GitHub Wiki
$ cd myApp
$ ionic cordova platform add android
$ ionic cordova build android
$ ionic cordova run android
-
ionic start <appname>
and then follow the selects.
- Creating Ionic App: ionic start myApp blank --type ionic1
- Moving to App Directory: cd ImageApp
- Adding android platform: ionic cordova platform add android
- Adding Plugin(camera): cordova plugin add cordova-plugin-camera
- Installing Firebase to app: npm install --save firebase
- Building APK: ionic build android
- Running on Device: ionic cordova run android
-
platforms - contains your iOS and Android projects
-
hooks - for custom actions to be taken as your app moves through the Cordova development process
-
plugins - Cordova stores the plugins that you add to your project. Plugins are added by the command:
ionic plugin add {plugin}
-
www - is where your app is developed
-
css - project specific css files
-
img - all the images
-
js - js files to be used in project
-
lib - libraries like angular js are stored here
- Karma - JavaScript command line tool
- Jasmine - framework for testing JavaScript
- npm i -g npm-check-updates
- npm-check-updates –u
- npm install
- npm init
- npm install angular --save
- npm install -g karma-cli
- npm install karma-jasmine jasmine-core --save-dev
- npm install karma-phantomjs-launcher --save-dev
- npm install angular-mocks --save-dev
489123086268-seli2h5mc947nuueubkr4q9c36dsrcep.apps.googleusercontent.com
-
Reserve ID:
-
com.googleusercontent.apps.489123086268-seli2h5mc947nuueubkr4q9c36dsrcep
-
ionic cordova plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=com.googleusercontent.apps.489123086268-seli2h5mc947nuueubkr4q9c36dsrcep
-
ionic cordova plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=com.googleusercontent.apps.489123086268-j2sn6qdl0ofpdirikl38lgq13o48742a --variable WEB_APPLICATION_CLIENT_ID=489123086268-j2sn6qdl0ofpdirikl38lgq13o48742a.apps.googleusercontent.com
-
npm install --save @ionic-native/google-plus
j2sn6qdl0ofpdirikl38lgq13o48742a
- ionic cordova plugin add cordova-plugin-nativestorage
- npm install --save @ionic-native/native-storage