npm install
npm install -g cordova ionic
ionic state reset
ionic state restore
cordova telemetry on
ionic serve
ionic serve --lab
ionic serve -lc -s -p 80
ionic run android --device
ionic run android --emulator
ionic plugin add cordova-plugin-camera
...
npm install --save @ionic-native/geolocation
...
ionic g page myPage
pages
| - my-page
|
| - √ Create app/pages/my-page/my-page.html
| - √ Create app/pages/my-page/my-page.ts
| - √ Create app/pages/my-page/my-page.scss
ionic g provider authService
providers
|
| - √ Create app/providers/my-data/auth-service.ts
Obtener solo las herramientas de línea de comando
LINUX SDK Platform-Tools for Linux
export HOME="/home/$(whoami)"
export ANDROID_HOME="$HOME/Android/Sdk"
OS X SDK Platform-Tools for Mac
sudo nano /etc/paths
/Users/andmud/Library/Android/sdk/platform-tools
/Users/andmud/Library/Android/sdk/tools
WINDOWS SDK Platform-Tools for Windows
ANDROID_HOME = %USERPROFILE%\AppData\Local\Android\sdk\
PATH = %USERPROFILE%\AppData\Local\Android\sdk\platform-tools
PATH = %USERPROFILE%\AppData\Local\Android\sdk\tools