more stable build - cordova often crashes, so retry

This commit is contained in:
Marc Wäckerlin
2015-09-21 15:02:36 +00:00
parent 4749851f7c
commit ce729ef46c
4 changed files with 297 additions and 4 deletions

View File

@@ -20,12 +20,12 @@ ${ANDROID_SRC}:
chmod -R u+w "$${file}" ); \
done
if [ "$$(whoami)" != "root" ]; then \
cordova build --debug; \
cordova build --debug || cordova build --debug; \
fi
${ANDROID}: ${ANDROID_SRC}
if [ "$$(whoami)" != "root" ]; then \
mv $< $@; \
cp $< $@; \
fi
clean-local:

View File

@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<manifest android:hardwareAccelerated="true" android:versionCode="223" android:versionName="0.2.23" package="ch.safechat" xmlns:android="http://schemas.android.com/apk/res/android">
<manifest android:hardwareAccelerated="true" android:versionCode="230" android:versionName="0.2.30" 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" />

View File

@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="ch.safechat" version="0.2.23" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget id="ch.safechat" version="0.2.30" 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" />