Skip to content

Commit

Permalink
Step 11.1: Add Android platform to Cordova
Browse files Browse the repository at this point in the history
  • Loading branch information
darkbasic committed Oct 16, 2017
1 parent 3ed7352 commit 772b2db
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
6 changes: 1 addition & 5 deletions config.xml
Expand Up @@ -16,11 +16,6 @@
<preference name="BackupWebStorage" value="none" />
<preference name="SplashMaintainAspectRatio" value="true" />
<preference name="FadeSplashScreenDuration" value="300" />

<!--
Change these to configure how the splashscreen displays and fades in/out.
More info here: https://github.com/apache/cordova-plugin-splashscreen
-->
<preference name="SplashShowOnlyFirstTime" value="false" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="3000" />
Expand Down Expand Up @@ -87,4 +82,5 @@
<plugin name="cordova-plugin-device" spec="1.1.4" />
<plugin name="cordova-plugin-splashscreen" spec="~4.0.1" />
<plugin name="cordova-plugin-ionic-webview" spec="^1.1.11" />
<engine name="android" spec="~6.3.0" />
</widget>
22 changes: 21 additions & 1 deletion package.json
Expand Up @@ -32,7 +32,14 @@
"@ionic/storage": "2.0.1",
"angular2-moment": "^1.7.0",
"babel-runtime": "^6.26.0",
"cordova-android": "^6.3.0",
"cordova-plugin-device": "^1.1.4",
"cordova-plugin-ionic-webview": "^1.1.15",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-statusbar": "git+https://github.com/apache/cordova-plugin-statusbar.git",
"cordova-plugin-whitelist": "^1.3.1",
"ionic-angular": "3.7.1",
"ionic-plugin-keyboard": "^2.2.1",
"ionicons": "3.0.0",
"lodash": "^4.17.4",
"meteor-node-stubs": "^0.2.11",
Expand All @@ -55,5 +62,18 @@
"description": "whatsapp: An Ionic project",
"config": {
"ionic_webpack": "./webpack.config.js"
},
"cordova": {
"plugins": {
"ionic-plugin-keyboard": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-webview": {}
},
"platforms": [
"android"
]
}
}
}

0 comments on commit 772b2db

Please sign in to comment.