setShouldMimicIOSBehavior
Use setShouldMimicIOSBehavior method, to determine whether keyboard on Android should be handled by the library (like on iOS) or should be managed by OS (via android:windowSoftInputMode param).
Parameters
| Type | Required | Description |
|---|---|---|
| boolean | yes | should library handle keyboard handling on Android |
Example
import { AvoidSoftInput } from "react-native-avoid-softinput";
AvoidSoftInput.setShouldMimicIOSBehavior(true);