diff --git a/mobile-test-revert b/mobile-test-revert index 9192837f..902956ab 100755 --- a/mobile-test-revert +++ b/mobile-test-revert @@ -3,4 +3,5 @@ # reverse of mobile-test-setup - reverts the changes made to AndroidManifest.xml and any resource files mv mobile/res/values/strings.xml~ mobile/res/values/strings.xml +mv mobile/res/xml/preferences.xml~ mobile/res/xml/preferences.xml diff --git a/mobile-test-setup b/mobile-test-setup index f88d1f05..f9a1d1e0 100755 --- a/mobile-test-setup +++ b/mobile-test-setup @@ -4,7 +4,9 @@ # rename the app title test -f mobile/res/values/strings.xml~ || cp mobile/res/values/strings.xml mobile/res/values/strings.xml~ +test -f mobile/res/xml/preferences.xml~ || cp mobile/res/xml/preferences.xml mobile/res/xml/preferences.xml~ sed -e 's/IITC Mobile/IITCm Test/' mobile/res/values/strings.xml~ > mobile/res/values/strings.xml +sed -e 's/targetPackage="com.cradle.iitc_mobile/targetPackage="com.cradle.iitc_mobile.test/' mobile/res/xml/preferences.xml~ > mobile/res/xml/preferences.xml # also, you'll need to build with diff --git a/mobile/AndroidManifest.xml b/mobile/AndroidManifest.xml index 982befec..6dfcfe5e 100644 --- a/mobile/AndroidManifest.xml +++ b/mobile/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="45" + android:versionName="0.6.1">