Release-Candidate
19
README.md
@ -9,10 +9,13 @@ ionic platform add android
|
|||||||
|
|
||||||
Plugins
|
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 cordova-plugin-media
|
||||||
cordova plugin add https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git
|
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/
|
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
|
||||||
|
|
||||||
|
|||||||
62
config.xml
@ -1,4 +1,4 @@
|
|||||||
<?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">
|
<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>
|
<name>Kinderspiel - Finde das Tier</name>
|
||||||
<description>
|
<description>
|
||||||
@ -21,30 +21,42 @@
|
|||||||
<feature name="StatusBar">
|
<feature name="StatusBar">
|
||||||
<param name="ios-package" onload="true" value="CDVStatusBar" />
|
<param name="ios-package" onload="true" value="CDVStatusBar" />
|
||||||
</feature>
|
</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">
|
<platform name="android">
|
||||||
<icon src="resources/android/icon/drawable-ldpi-icon.png" density="ldpi"/>
|
<icon density="ldpi" src="resources\android\icon\drawable-ldpi-icon.png" />
|
||||||
<icon src="resources/android/icon/drawable-mdpi-icon.png" density="mdpi"/>
|
<icon density="mdpi" src="resources\android\icon\drawable-mdpi-icon.png" />
|
||||||
<icon src="resources/android/icon/drawable-hdpi-icon.png" density="hdpi"/>
|
<icon density="hdpi" src="resources\android\icon\drawable-hdpi-icon.png" />
|
||||||
<icon src="resources/android/icon/drawable-xhdpi-icon.png" density="xhdpi"/>
|
<icon density="xhdpi" src="resources\android\icon\drawable-xhdpi-icon.png" />
|
||||||
<icon src="resources/android/icon/drawable-xxhdpi-icon.png" density="xxhdpi"/>
|
<icon density="xxhdpi" src="resources\android\icon\drawable-xxhdpi-icon.png" />
|
||||||
<icon src="resources/android/icon/drawable-xxxhdpi-icon.png" density="xxxhdpi"/>
|
<icon density="xxxhdpi" src="resources\android\icon\drawable-xxxhdpi-icon.png" />
|
||||||
<splash src="resources/android/splash/drawable-land-ldpi-screen.png" density="land-ldpi"/>
|
<splash density="land-ldpi" src="resources\android\splash\drawable-land-ldpi-screen.png" />
|
||||||
<splash src="resources/android/splash/drawable-land-mdpi-screen.png" density="land-mdpi"/>
|
<splash density="land-mdpi" src="resources\android\splash\drawable-land-mdpi-screen.png" />
|
||||||
<splash src="resources/android/splash/drawable-land-hdpi-screen.png" density="land-hdpi"/>
|
<splash density="land-hdpi" src="resources\android\splash\drawable-land-hdpi-screen.png" />
|
||||||
<splash src="resources/android/splash/drawable-land-xhdpi-screen.png" density="land-xhdpi"/>
|
<splash density="land-xhdpi" src="resources\android\splash\drawable-land-xhdpi-screen.png" />
|
||||||
<splash src="resources/android/splash/drawable-land-xxhdpi-screen.png" density="land-xxhdpi"/>
|
<splash density="land-xxhdpi" src="resources\android\splash\drawable-land-xxhdpi-screen.png" />
|
||||||
<splash src="resources/android/splash/drawable-land-xxxhdpi-screen.png" density="land-xxxhdpi"/>
|
<splash density="land-xxxhdpi" src="resources\android\splash\drawable-land-xxxhdpi-screen.png" />
|
||||||
<splash src="resources/android/splash/drawable-port-ldpi-screen.png" density="port-ldpi"/>
|
<splash density="port-ldpi" src="resources\android\splash\drawable-port-ldpi-screen.png" />
|
||||||
<splash src="resources/android/splash/drawable-port-mdpi-screen.png" density="port-mdpi"/>
|
<splash density="port-mdpi" src="resources\android\splash\drawable-port-mdpi-screen.png" />
|
||||||
<splash src="resources/android/splash/drawable-port-hdpi-screen.png" density="port-hdpi"/>
|
<splash density="port-hdpi" src="resources\android\splash\drawable-port-hdpi-screen.png" />
|
||||||
<splash src="resources/android/splash/drawable-port-xhdpi-screen.png" density="port-xhdpi"/>
|
<splash density="port-xhdpi" src="resources\android\splash\drawable-port-xhdpi-screen.png" />
|
||||||
<splash src="resources/android/splash/drawable-port-xxhdpi-screen.png" density="port-xxhdpi"/>
|
<splash density="port-xxhdpi" src="resources\android\splash\drawable-port-xxhdpi-screen.png" />
|
||||||
<splash src="resources/android/splash/drawable-port-xxxhdpi-screen.png" density="port-xxxhdpi"/>
|
<splash density="port-xxxhdpi" src="resources\android\splash\drawable-port-xxxhdpi-screen.png" />
|
||||||
</platform>
|
</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>
|
</widget>
|
||||||
2
cordova/PromisesPlugin-master/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
node_modules/
|
||||||
|
.tmp/
|
||||||
2
cordova/PromisesPlugin-master/.npmignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
index.js
|
||||||
|
build
|
||||||
21
cordova/PromisesPlugin-master/LICENSE
Normal 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.
|
||||||
39
cordova/PromisesPlugin-master/README.md
Normal 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.
|
||||||
18
cordova/PromisesPlugin-master/build
Normal 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
|
||||||
4
cordova/PromisesPlugin-master/index.js
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
if (window.Promise === undefined) {
|
||||||
|
require('es6-promise').polyfill();
|
||||||
|
}
|
||||||
|
|
||||||
25
cordova/PromisesPlugin-master/package.json
Normal 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"
|
||||||
|
}
|
||||||
26
cordova/PromisesPlugin-master/plugin.xml
Normal 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>
|
||||||
10
cordova/PromisesPlugin-master/www/promise.js
vendored
Normal file
BIN
findedastier.keystore
Normal file
44
package.json
@ -3,15 +3,30 @@
|
|||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"description": "kinderspiele1: An Ionic project",
|
"description": "kinderspiele1: An Ionic project",
|
||||||
"dependencies": {
|
"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": "^3.5.6",
|
||||||
"gulp-sass": "^2.0.4",
|
|
||||||
"gulp-concat": "^2.2.0",
|
"gulp-concat": "^2.2.0",
|
||||||
"gulp-minify-css": "^0.3.0",
|
"gulp-minify-css": "^0.3.0",
|
||||||
"gulp-rename": "^1.2.0"
|
"gulp-rename": "^1.2.0",
|
||||||
|
"gulp-sass": "^2.0.4",
|
||||||
|
"ionic-plugin-keyboard": "^2.2.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bower": "^1.3.3",
|
"bower": "^1.3.3",
|
||||||
"gulp-util": "^2.2.14",
|
"gulp-util": "^3.0.8",
|
||||||
"shelljs": "^0.3.0"
|
"shelljs": "^0.3.0"
|
||||||
},
|
},
|
||||||
"cordovaPlugins": [
|
"cordovaPlugins": [
|
||||||
@ -25,5 +40,28 @@
|
|||||||
],
|
],
|
||||||
"cordovaPlatforms": [
|
"cordovaPlatforms": [
|
||||||
"android"
|
"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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 162 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 59 KiB |
BIN
resources/icon.psd
Normal file
|
Before Width: | Height: | Size: 61 KiB |
BIN
resources/splash.psd
Normal file
@ -42,6 +42,7 @@ angular.module('kinderspiel', ['ionic', 'ngCordova','ngAnimate', 'ngDraggable',
|
|||||||
* Bildschirm in Landscape modus drehen und halten
|
* Bildschirm in Landscape modus drehen und halten
|
||||||
*/
|
*/
|
||||||
screen.lockOrientation('landscape');
|
screen.lockOrientation('landscape');
|
||||||
|
//$cordovaScreenOrientation.lockOrientation('landscape');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Bildschirm aktiv halten einschalten
|
* Bildschirm aktiv halten einschalten
|
||||||
|
|||||||