I’ve tried to add
<activity android:windowSoftInputMode="adjustResize">
to my AndroidManifest.xml file and I’ve got error while I’ve been running it on my device:
Error: D:\Project\platforms\android\cordova\run.bat: Command failed with exit code 8
at ChildProcess.whenDone (C:\Users\Bartosz\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
My AndroidManifest.xml:
<?xml version='1.0' encoding='utf-8' ?>
<manifest android:hardwareAccelerated="true" android:versionCode="6" android:versionName="0.0.6" package="com.tbs.ivendo" 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" />
<application android:debuggable="false" android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/app_name" android:name="HelloCordova" android:theme="@android:style/Theme.Black.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:windowSoftInputMode="adjustPan" />
<activity android:label="@string/app_name" android:name="org.pgsqlite.SQLitePlugin" />
</application>
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
</manifest>
My config.xml:
<?xml version='1.0' encoding='utf-8' ?>
<widget id="com.tbs.ivendo" version="0.0.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>HelloCordova</name>
<description> Hello Cordova description</description>
<author email="test@gmail.com" href="http://test.com/">Hello</author>
<content src="index.html" />
<access origin="*" />
<preference name="fullscreen" value="false" />
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" /<preference name="DisallowOverscroll" value="true" />
<preference name="BackupWebStorage" value="none" />
<feature name="StatusBar">
<param name="ios-package" value="CDVStatusBar" onload="true" />
</feature>
<feature name="Keyboard">
<param name="android-package" value="com.ionic.keyboard.IonicKeyboard" />
<param name="onload" value="true" />
</feature>
</widget>