Release-Candidate

This commit is contained in:
Hilmer 2017-05-11 23:18:43 +02:00
parent 88097d5dcf
commit eeb648f402
36 changed files with 288 additions and 75 deletions

View File

@ -9,10 +9,13 @@ ionic platform add android
Plugins
ionic plugin add cordova-plugin-screen-orientation
ionic plugin add cordova-plugin-screen-orientation //Obsolete
ionic plugin add cordova-plugin-screen-orientation@1.4.3 --save
cordova plugin add cordova-plugin-media
cordova plugin add https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git
cordova plugin add cordova-plugin-crosswalk-webview
cordova plugin add cordova-plugin-crosswalk-webview //Obsolete
cordova plugin rm cordova-plugin-crosswalk-webview
cordova plugin add cordova-plugin-crosswalk-webview@2.2.0
@ -34,3 +37,15 @@ Animations Tuts
==============
https://jonsuh.com/blog/animate-svg-with-css/
Signieren der APK
===============
"C:\Program Files\Android\Android Studio\jre\bin\keytool" -genkey -v -keystore findedastier.keystore -alias com.raataar.findedastier -keyalg RSA -keysize 2048 -validity 10000
(Muss nur beim ersten mal gemacht werden.)
"C:\Program Files\Android\Android Studio\jre\bin\jarsigner" -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore D:\Projekte\Android\kinderspiele1\findedastier.keystore D:\Projekte\Android\kinderspiele1\platforms\android\build\outputs\apk\android-armv7-release-unsigned.apk com.raataar.findedastier
C:\Users\chilmer\AppData\Local\Android\Sdk\build-tools\25.0.2\zipalign -v 4 D:\Projekte\Android\kinderspiele1\platforms\android\build\outputs\apk\android-armv7-release-unsigned.apk D:\Projekte\Android\kinderspiele1\platforms\android\build\outputs\apk\signed_release.apk

View File

@ -1,50 +1,62 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.raataar.findedastier" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Kinderspiel - Finde das Tier</name>
<description>
<name>Kinderspiel - Finde das Tier</name>
<description>
Ein Raataar-Projekt
</description>
<author email="info@raataar.de" href="http://www.raataar.de">
<author email="info@raataar.de" href="http://www.raataar.de">
Your Name Here
</author>
<content src="index.html"/>
<access origin="*"/>
<preference name="webviewbounce" value="false"/>
<preference name="UIWebViewBounce" value="false"/>
<preference name="DisallowOverscroll" value="true"/>
<preference name="SplashScreenDelay" value="2000"/>
<preference name="FadeSplashScreenDuration" value="2000"/>
<preference name="android-minSdkVersion" value="16"/>
<preference name="BackupWebStorage" value="none"/>
<preference name="SplashScreen" value="screen"/>
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar"/>
</feature>
<plugin name="cordova-plugin-device" spec="~1.1.3"/>
<plugin name="cordova-plugin-console" spec="~1.0.4"/>
<plugin name="cordova-plugin-whitelist" spec="~1.3.0"/>
<plugin name="cordova-plugin-splashscreen" spec="~4.0.0"/>
<plugin name="cordova-plugin-statusbar" spec="~2.2.0"/>
<plugin name="ionic-plugin-keyboard" spec="~2.2.1"/>
<platform name="android">
<icon src="resources/android/icon/drawable-ldpi-icon.png" density="ldpi"/>
<icon src="resources/android/icon/drawable-mdpi-icon.png" density="mdpi"/>
<icon src="resources/android/icon/drawable-hdpi-icon.png" density="hdpi"/>
<icon src="resources/android/icon/drawable-xhdpi-icon.png" density="xhdpi"/>
<icon src="resources/android/icon/drawable-xxhdpi-icon.png" density="xxhdpi"/>
<icon src="resources/android/icon/drawable-xxxhdpi-icon.png" density="xxxhdpi"/>
<splash src="resources/android/splash/drawable-land-ldpi-screen.png" density="land-ldpi"/>
<splash src="resources/android/splash/drawable-land-mdpi-screen.png" density="land-mdpi"/>
<splash src="resources/android/splash/drawable-land-hdpi-screen.png" density="land-hdpi"/>
<splash src="resources/android/splash/drawable-land-xhdpi-screen.png" density="land-xhdpi"/>
<splash src="resources/android/splash/drawable-land-xxhdpi-screen.png" density="land-xxhdpi"/>
<splash src="resources/android/splash/drawable-land-xxxhdpi-screen.png" density="land-xxxhdpi"/>
<splash src="resources/android/splash/drawable-port-ldpi-screen.png" density="port-ldpi"/>
<splash src="resources/android/splash/drawable-port-mdpi-screen.png" density="port-mdpi"/>
<splash src="resources/android/splash/drawable-port-hdpi-screen.png" density="port-hdpi"/>
<splash src="resources/android/splash/drawable-port-xhdpi-screen.png" density="port-xhdpi"/>
<splash src="resources/android/splash/drawable-port-xxhdpi-screen.png" density="port-xxhdpi"/>
<splash src="resources/android/splash/drawable-port-xxxhdpi-screen.png" density="port-xxxhdpi"/>
</platform>
</widget>
<content src="index.html" />
<access origin="*" />
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="SplashScreenDelay" value="2000" />
<preference name="FadeSplashScreenDuration" value="2000" />
<preference name="android-minSdkVersion" value="16" />
<preference name="BackupWebStorage" value="none" />
<preference name="SplashScreen" value="screen" />
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar" />
</feature>
<platform name="android">
<icon density="ldpi" src="resources\android\icon\drawable-ldpi-icon.png" />
<icon density="mdpi" src="resources\android\icon\drawable-mdpi-icon.png" />
<icon density="hdpi" src="resources\android\icon\drawable-hdpi-icon.png" />
<icon density="xhdpi" src="resources\android\icon\drawable-xhdpi-icon.png" />
<icon density="xxhdpi" src="resources\android\icon\drawable-xxhdpi-icon.png" />
<icon density="xxxhdpi" src="resources\android\icon\drawable-xxxhdpi-icon.png" />
<splash density="land-ldpi" src="resources\android\splash\drawable-land-ldpi-screen.png" />
<splash density="land-mdpi" src="resources\android\splash\drawable-land-mdpi-screen.png" />
<splash density="land-hdpi" src="resources\android\splash\drawable-land-hdpi-screen.png" />
<splash density="land-xhdpi" src="resources\android\splash\drawable-land-xhdpi-screen.png" />
<splash density="land-xxhdpi" src="resources\android\splash\drawable-land-xxhdpi-screen.png" />
<splash density="land-xxxhdpi" src="resources\android\splash\drawable-land-xxxhdpi-screen.png" />
<splash density="port-ldpi" src="resources\android\splash\drawable-port-ldpi-screen.png" />
<splash density="port-mdpi" src="resources\android\splash\drawable-port-mdpi-screen.png" />
<splash density="port-hdpi" src="resources\android\splash\drawable-port-hdpi-screen.png" />
<splash density="port-xhdpi" src="resources\android\splash\drawable-port-xhdpi-screen.png" />
<splash density="port-xxhdpi" src="resources\android\splash\drawable-port-xxhdpi-screen.png" />
<splash density="port-xxxhdpi" src="resources\android\splash\drawable-port-xxxhdpi-screen.png" />
</platform>
<icon src="resources\android\icon\drawable-xhdpi-icon.png" />
<engine name="android" spec="^6.2.3" />
<plugin name="cordova-plugin-crosswalk-webview" spec="^2.2.0">
<variable name="XWALK_VERSION" value="22+" />
<variable name="XWALK_LITEVERSION" value="xwalk_core_library_canary:17+" />
<variable name="XWALK_COMMANDLINE" value="--disable-pull-to-refresh-effect" />
<variable name="XWALK_MODE" value="embedded" />
<variable name="XWALK_MULTIPLEAPK" value="true" />
</plugin>
<plugin name="cordova-plugin-device" spec="^1.1.6" />
<plugin name="cordova-plugin-insomnia" spec="git+https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git" />
<plugin name="cordova-plugin-media" spec="^3.0.1" />
<plugin name="cordova-plugin-screen-orientation" spec="^1.4.3" />
<plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />
<plugin name="cordova-plugin-statusbar" spec="^2.2.3" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.2" />
<plugin name="es6-promise-plugin" spec="^4.1.0" />
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
</widget>

View File

@ -0,0 +1,2 @@
node_modules/
.tmp/

View File

@ -0,0 +1,2 @@
index.js
build

View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2014-15 Vlad Stirbu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -0,0 +1,39 @@
# PromisesPlugin
ES6-Promises polyfill for Cordova/PhoneGap
# Motivation
The web view components on Cordova supported platforms lack suport for ES6 Promise. A polyfill library bundled with the plugin fixes the limitation. However, as more plugin use promises, the application developer using these plugins will end up with multiple promise polyfill libraries.
This plugin attempts to fix this situation by providing a Promise polyfill so that other plugins can rely on this functionality.
# How to use
Configure your plugin's plugin.xml by adding this dependency:
```
<dependency
id="es6-promise-plugin"
url="https://github.com/vstirbu/PromisesPlugin.git">
</dependency>
```
Cordova CLI takes care to install PromisesPlugin automatically:
```
$ cordova plugins add {yourPlugin}
> Installing "{yourPlugin}" for {platform}
> Installing "es6-promise-plugin" for {platform}
```
This is all. ```window.Promise``` is available for use in your plugin.
# Credits
This plugin wraps [es6-promise](https://github.com/jakearchibald/es6-promise) in a Cordova/PhoneGap friendly way.
# License
The plugin is available under MIT license.

View File

@ -0,0 +1,18 @@
#!/bin/bash
rm -rf .tmp
mkdir .tmp
browserify index.js > .tmp/bundle.js
uglifyjs .tmp/bundle.js -c -m > .tmp/bundle.min.js
cat > www/promise.js << EOL
/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version 4.1.0
*/
`cat .tmp/bundle.min.js`
EOL

View File

@ -0,0 +1,4 @@
if (window.Promise === undefined) {
require('es6-promise').polyfill();
}

View File

@ -0,0 +1,25 @@
{
"name": "es6-promise-plugin",
"version": "4.1.0",
"description": "ES6-Promises polyfill for Cordova/PhoneGap",
"main": "www/promise.js",
"dependencies": {
},
"devDependencies": {
"es6-promise": "^4.1.0"
},
"scripts": {
"build": "./build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vstirbu/PromisesPlugin.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/vstirbu/PromisesPlugin/issues"
},
"homepage": "https://github.com/vstirbu/PromisesPlugin#readme",
"ecosystem": "cordova"
}

View File

@ -0,0 +1,26 @@
<plugin
xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="es6-promise-plugin"
version="4.1.0">
<name>Promise</name>
<author>Vlad Stirbu</author>
<license>MIT</license>
<keywords>es6-promise,polyfill</keywords>
<description>
A polyfill for ES6-style Promises, tracking npm es6-promise
</description>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/promise.js" name="Promise">
<runs />
</js-module>
<platform name="ios"></platform>
<platform name="android"></platform>
<platform name="windows"></platform>
</plugin>

File diff suppressed because one or more lines are too long

BIN
findedastier.keystore Normal file

Binary file not shown.

View File

@ -1,29 +1,67 @@
{
"name": "kinderspiele1",
"version": "1.1.1",
"description": "kinderspiele1: An Ionic project",
"dependencies": {
"gulp": "^3.5.6",
"gulp-sass": "^2.0.4",
"gulp-concat": "^2.2.0",
"gulp-minify-css": "^0.3.0",
"gulp-rename": "^1.2.0"
},
"devDependencies": {
"bower": "^1.3.3",
"gulp-util": "^2.2.14",
"shelljs": "^0.3.0"
},
"cordovaPlugins": [
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard",
"cordova-plugin-screen-orientation"
],
"cordovaPlatforms": [
"android"
]
}
"name": "kinderspiele1",
"version": "1.1.1",
"description": "kinderspiele1: An Ionic project",
"dependencies": {
"cordova": "^7.0.0",
"cordova-android": "^6.2.3",
"cordova-plugin-compat": "^1.0.0",
"cordova-plugin-crosswalk-webview": "^2.2.0",
"cordova-plugin-device": "^1.1.6",
"cordova-plugin-file": "^4.0.0",
"cordova-plugin-insomnia": "git+https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git",
"cordova-plugin-media": "^3.0.1",
"cordova-plugin-screen-orientation": "^1.4.3",
"cordova-plugin-service-worker": "^1.0.1",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-statusbar": "^2.2.3",
"cordova-plugin-whitelist": "^1.3.2",
"es6-promise-plugin": "^4.1.0",
"gulp": "^3.5.6",
"gulp-concat": "^2.2.0",
"gulp-minify-css": "^0.3.0",
"gulp-rename": "^1.2.0",
"gulp-sass": "^2.0.4",
"ionic-plugin-keyboard": "^2.2.1"
},
"devDependencies": {
"bower": "^1.3.3",
"gulp-util": "^3.0.8",
"shelljs": "^0.3.0"
},
"cordovaPlugins": [
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard",
"cordova-plugin-screen-orientation"
],
"cordovaPlatforms": [
"android"
],
"cordova": {
"plugins": {
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-whitelist": {},
"ionic-plugin-keyboard": {},
"cordova-plugin-media": {},
"cordova-plugin-insomnia": {},
"es6-promise-plugin": {},
"cordova-plugin-crosswalk-webview": {
"XWALK_VERSION": "22+",
"XWALK_LITEVERSION": "xwalk_core_library_canary:17+",
"XWALK_COMMANDLINE": "--disable-pull-to-refresh-effect",
"XWALK_MODE": "embedded",
"XWALK_MULTIPLEAPK": "true"
},
"cordova-plugin-screen-orientation": {}
},
"platforms": [
"android"
]
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

BIN
resources/icon.psd Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

BIN
resources/splash.psd Normal file

Binary file not shown.

View File

@ -42,6 +42,7 @@ angular.module('kinderspiel', ['ionic', 'ngCordova','ngAnimate', 'ngDraggable',
* Bildschirm in Landscape modus drehen und halten
*/
screen.lockOrientation('landscape');
//$cordovaScreenOrientation.lockOrientation('landscape');
/*
* Bildschirm aktiv halten einschalten