79559931

Date: 2025-04-07 12:50:19
Score: 0.5
Natty:
Report link

I figured out the issue, you need the Keyboard plugin (https://ionicframework.com/docs/native/keyboard) and set the prop resizeOnFullScreen to true in your capacitor.config.ts:

const config: CapacitorConfig = {
  plugins: {
    Keyboard: {
      resizeOnFullScreen: true,
    },
  },
};

This is what the docs says about this prop:

There is an Android bug that prevents the keyboard from resizing the WebView when the app is in full screen (i.e. if StatusBar plugin is used to overlay the status bar). This setting, if set to true, add a workaround that resizes the WebView even when the app is in full screen. Only available for Android

Which means, if you're using the StatusBar plugin with overlay property set to true, you'll probably have the same issue as me, the workaround above fix this issue.

Reasons:
  • Whitelisted phrase (-2): I figured out
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: João