try to allow background process

This commit is contained in:
Marc Wäckerlin
2015-11-20 14:05:16 +00:00
parent 4932c8f348
commit ed8f0bb759
5 changed files with 36 additions and 0 deletions

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