SDK 44 Managed
I want the android keyboard to behave the same as the iOS keyboard, mainly that I want to control whether or not the content comes up. Is this possible to do?
I’m guessing the default “resize” mode is not good for that.
Is it possible to do adjustNone on the softwareKeyboardLayoutMode? Like in this answer: Difference between adjustResize and adjustPan in android? - Stack Overflow
According to the docs:
Only options are resize and pan.
wodin
September 5, 2022, 9:24pm
2
Hi @tennisbum
It looks like you should be able to use patch-package
to add the option you want to use here:
data?: AndroidIntentFiltersData | AndroidIntentFiltersData[];
category?: string | string[];
}[];
/**
* Allows your user's app data to be automatically backed up to their Google Drive. If this is set to false, no backup or restore of the application will ever be performed (this is useful if your app deals with sensitive information). Defaults to the Android default, which is `true`.
*/
allowBackup?: boolean;
/**
* Determines how the software keyboard will impact the layout of your application. This maps to the `android:windowSoftInputMode` property. Defaults to `resize`. Valid values: `resize`, `pan`.
*/
softwareKeyboardLayoutMode?: 'resize' | 'pan';
/**
* Specifies the JavaScript engine for Android apps. Supported only on EAS Build and in Expo Go. Defaults to `jsc`. Valid values: `hermes`, `jsc`.
*/
jsEngine?: 'hermes' | 'jsc';
/**
* **Note: Don't use this property unless you are sure what you're doing**
*
* The runtime version associated with this manifest for the Android platform. If provided, this will override the top level runtimeVersion key.
* Set this to `{"policy": "nativeVersion"}` to generate it automatically based on the 'version' and 'versionCode' or
* to `{"policy": "appVersion"}` to use just 'version' field.
And then just specify that value in app.json
.
See also:
But, I’m not sure “adjustNone” (or “adjustNothing” as mentioned in that Stack Overflow answer) is valid:
system
Closed
October 5, 2022, 9:25pm
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.