try to allow background process

This commit is contained in:
Marc Wäckerlin committed 2015-11-20 14:05:16 +00:00
1 parent 4932c8f348
commit ed8f0bb759
5 files changed
+36

No files matched your search

+1
View File
@@ -13,6 +13,7 @@
</author>
<content src="https://safechat.ch" />
<plugin name="cordova-plugin-whitelist" version="1" />
<plugin name="de.appplant.cordova.plugin.background-mode" />
<access origin="https://safechat.ch" subdomains="true" />
<access origin="https://dev.marc.waeckerlin.org" subdomains="true" />
<allow-intent href="http://*/*" />
+1
View File
@@ -20,6 +20,7 @@ ${ANDROID_SRC}:
chmod -R u+w "$${file}" ); \
done
if [ "$$(whoami)" != "root" ]; then \
cordova plugin add https://github.com/katzer/cordova-plugin-background-mode.git; \
cordova build --debug || cordova build --debug; \
fi