change targetPackage for pluginPreference intent for test-builds (fixes #544)
This commit is contained in:
parent
c5a51a3647
commit
d9448aac34
@ -3,4 +3,5 @@
|
|||||||
# reverse of mobile-test-setup - reverts the changes made to AndroidManifest.xml and any resource files
|
# 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/values/strings.xml~ mobile/res/values/strings.xml
|
||||||
|
mv mobile/res/xml/preferences.xml~ mobile/res/xml/preferences.xml
|
||||||
|
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
|
|
||||||
# rename the app title
|
# 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/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/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
|
# also, you'll need to build with
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.cradle.iitc_mobile"
|
package="com.cradle.iitc_mobile"
|
||||||
android:versionCode="44"
|
android:versionCode="45"
|
||||||
android:versionName="0.6">
|
android:versionName="0.6.1">
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="14"
|
android:minSdkVersion="14"
|
||||||
@ -78,7 +78,7 @@
|
|||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"/>
|
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"/>
|
||||||
<activity
|
<activity
|
||||||
android:name="com.cradle.iitc_mobile.IITC_PluginPreferenceActivity"
|
android:name=".IITC_PluginPreferenceActivity"
|
||||||
android:theme="@style/AppBaseTheme"
|
android:theme="@style/AppBaseTheme"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"/>
|
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user