build all in docker
This commit is contained in:
@@ -19,13 +19,13 @@ ${ANDROID_SRC}:
|
||||
( cp -r "@srcdir@/$${file}" "$${file}" && \
|
||||
chmod -R u+w "$${file}" ); \
|
||||
done
|
||||
if [ "$$(whoami)" != "root" ]; then \
|
||||
if [ "$$(whoami 2> /dev/null)" != "root" ]; then \
|
||||
${CORDOVA} plugin add https://github.com/katzer/cordova-plugin-background-mode.git; \
|
||||
${CORDOVA} build --debug || ${CORDOVA} build --debug; \
|
||||
fi
|
||||
|
||||
${ANDROID}: ${ANDROID_SRC}
|
||||
if [ "$$(whoami)" != "root" ]; then \
|
||||
if [ "$$(whoami 2> /dev/null)" != "root" ]; then \
|
||||
cp $< $@; \
|
||||
fi
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<manifest android:hardwareAccelerated="true" android:versionCode="346" android:versionName="0.3.46" package="ch.safechat" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<manifest android:hardwareAccelerated="true" android:versionCode="359" android:versionName="0.3.59" package="ch.safechat" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
@@ -11,6 +11,7 @@
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<service android:name="de.appplant.cordova.plugin.background.ForegroundService" />
|
||||
</application>
|
||||
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="22" />
|
||||
</manifest>
|
||||
|
@@ -3,13 +3,33 @@ module.exports = [
|
||||
{
|
||||
"file": "plugins/cordova-plugin-whitelist/whitelist.js",
|
||||
"id": "cordova-plugin-whitelist.whitelist",
|
||||
"pluginId": "cordova-plugin-whitelist",
|
||||
"runs": true
|
||||
},
|
||||
{
|
||||
"file": "plugins/cordova-plugin-device/www/device.js",
|
||||
"id": "cordova-plugin-device.device",
|
||||
"pluginId": "cordova-plugin-device",
|
||||
"clobbers": [
|
||||
"device"
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "plugins/de.appplant.cordova.plugin.background-mode/www/background-mode.js",
|
||||
"id": "de.appplant.cordova.plugin.background-mode.BackgroundMode",
|
||||
"pluginId": "de.appplant.cordova.plugin.background-mode",
|
||||
"clobbers": [
|
||||
"cordova.plugins.backgroundMode",
|
||||
"plugin.backgroundMode"
|
||||
]
|
||||
}
|
||||
];
|
||||
module.exports.metadata =
|
||||
// TOP OF METADATA
|
||||
{
|
||||
"cordova-plugin-whitelist": "1.0.0"
|
||||
"cordova-plugin-whitelist": "1.0.0",
|
||||
"cordova-plugin-device": "1.1.0",
|
||||
"de.appplant.cordova.plugin.background-mode": "0.6.4"
|
||||
}
|
||||
// BOTTOM OF METADATA
|
||||
});
|
@@ -1,10 +1,17 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<widget id="ch.safechat" version="0.3.46" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<widget id="ch.safechat" version="0.3.59" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<preference name="loglevel" value="DEBUG" />
|
||||
<feature name="Whitelist">
|
||||
<param name="android-package" value="org.apache.cordova.whitelist.WhitelistPlugin" />
|
||||
<param name="onload" value="true" />
|
||||
</feature>
|
||||
<feature name="Device">
|
||||
<param name="android-package" value="org.apache.cordova.device.Device" />
|
||||
</feature>
|
||||
<feature name="BackgroundMode">
|
||||
<param name="android-package" value="de.appplant.cordova.plugin.background.BackgroundMode" />
|
||||
</feature>
|
||||
<preference name="KeepRunning" value="true" />
|
||||
<allow-intent href="market:*" />
|
||||
<name>SafeChat</name>
|
||||
<description>
|
||||
|
@@ -20,7 +20,14 @@
|
||||
"installed_plugins": {
|
||||
"cordova-plugin-whitelist": {
|
||||
"PACKAGE_NAME": "ch.safechat"
|
||||
},
|
||||
"de.appplant.cordova.plugin.background-mode": {
|
||||
"PACKAGE_NAME": "ch.safechat"
|
||||
}
|
||||
},
|
||||
"dependent_plugins": {}
|
||||
"dependent_plugins": {
|
||||
"cordova-plugin-device": {
|
||||
"PACKAGE_NAME": "ch.safechat"
|
||||
}
|
||||
}
|
||||
}
|
@@ -6,5 +6,22 @@
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"de.appplant.cordova.plugin.background-mode": {
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/katzer/cordova-plugin-background-mode.git",
|
||||
"subdir": "."
|
||||
},
|
||||
"is_top_level": true,
|
||||
"variables": {}
|
||||
},
|
||||
"cordova-plugin-device": {
|
||||
"source": {
|
||||
"type": "registry",
|
||||
"id": "cordova-plugin-device"
|
||||
},
|
||||
"is_top_level": false,
|
||||
"variables": {}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user