Skip to content

Commit

Permalink
feat: add new icons and splash screen images
Browse files Browse the repository at this point in the history
  • Loading branch information
dekimasoon committed Apr 20, 2018
1 parent 57147d0 commit 7d41650
Show file tree
Hide file tree
Showing 35 changed files with 36 additions and 30 deletions.
5 changes: 4 additions & 1 deletion generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ module.exports = (api, options, rootOptions) => {
'cordova-ios': '^4.5.4',
'cordova-plugin-device': '^2.0.1',
'cordova-plugin-ionic-webview': '^1.2.0',
'cordova-plugin-whitelist': '^1.3.3'
'cordova-plugin-splashscreen': '^5.0.2',
'cordova-plugin-whitelist': '^1.3.3',
'vuetify': '^1.0.14'
},
cordova: {
plugins: {
'cordova-plugin-device': {},
'cordova-plugin-ionic-webview': {},
'cordova-plugin-splashscreen': {},
'cordova-plugin-whitelist': {}
},
platforms: [
Expand Down
32 changes: 32 additions & 0 deletions generator/templates/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,47 @@
<allow-navigation href="*" />
<platform name="android">
<allow-intent href="market:*" />
<splash src="res/screen/android/land-hdpi.png" density="land-hdpi"/>
<splash src="res/screen/android/land-xhdpi.png" density="land-xhdpi"/>
<splash src="res/screen/android/land-xxhdpi.png" density="land-xxhdpi"/>
<splash src="res/screen/android/land-xxxhdpi.png" density="land-xxxhdpi"/>
<splash src="res/screen/android/port-hdpi.png" density="port-hdpi"/>
<splash src="res/screen/android/port-xhdpi.png" density="port-xhdpi"/>
<splash src="res/screen/android/port-xxhdpi.png" density="port-xxhdpi"/>
<splash src="res/screen/android/port-xxxhdpi.png" density="port-xxxhdpi"/>
<icon src="res/icon/android/icon-hdpi.png" density="hdpi" />
<icon src="res/icon/android/icon-xhdpi.png" density="xhdpi" />
<icon src="res/icon/android/icon-xxhdpi.png" density="xxhdpi" />
<icon src="res/icon/android/icon-xxxhdpi.png" density="xxxhdpi" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<!-- INFO: If you want to prevent scrolling, set false -->
<preference name="ScrollEnabled" value="true" />
<splash src="res/screen/ios/Default@2x~universal~anyany.png" />
<splash src="res/screen/ios/Default@3x~universal~anyany.png" />
<icon src="res/icon/ios/icon.png" width="57" height="57" />
<icon src="res/icon/ios/icon@2x.png" width="114" height="114" />
<icon src="res/icon/ios/icon-40.png" width="40" height="40" />
<icon src="res/icon/ios/icon-40@2x.png" width="80" height="80" />
<icon src="res/icon/ios/icon-50.png" width="50" height="50" />
<icon src="res/icon/ios/icon-50@2x.png" width="100" height="100" />
<icon src="res/icon/ios/icon-60@2x.png" width="120" height="120" />
<icon src="res/icon/ios/icon-60@3x.png" width="180" height="180" />
<icon src="res/icon/ios/icon-72.png" width="72" height="72" />
<icon src="res/icon/ios/icon-72@2x.png" width="144" height="144" />
<icon src="res/icon/ios/icon-76.png" width="76" height="76" />
<icon src="res/icon/ios/icon-76@2x.png" width="152" height="152" />
<icon src="res/icon/ios/icon-167.png" width="167" height="167" />
<icon src="res/icon/ios/icon-83.5@2x.png" width="167" height="167" />
<icon src="res/icon/ios/icon-small.png" width="29" height="29" />
<icon src="res/icon/ios/icon-small@2x.png" width="58" height="58" />
<icon src="res/icon/ios/icon-1024.png" height="1024" width="1024" />
</platform>
<plugin name="cordova-plugin-device" spec="^2.0.1" />
<plugin name="cordova-plugin-ionic-webview" spec="^1.2.0" />
<plugin name="cordova-plugin-splashscreen" spec="^5.0.2" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<engine name="android" spec="^7.1.0" />
<engine name="browser" spec="^5.0.3" />
Expand Down
29 changes: 0 additions & 29 deletions generator/templates/res/README.md

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-167.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-40@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-50@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-60@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-72@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-76@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-83.5@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-Small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon-Small@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generator/templates/res/icon/ios/icon@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7d41650

Please sign in to comment.