5
Views
2
Comments
Android keyboard overlapping form after second time open the mobile app.
Application Type
Mobile
Platform Version
11.9.0 (Build 17011)

Hello Outsystems forum,

We're currently running on a mobile application project and we got this issue that the Android keyboard is overlapping form/input widget after we re-open the mobile app. What I mean with second time open the app is if the mobile app were exist in recent task manager (background activity) and then retry to open the mobile app again.

So the issue is only occurred when the second time opens the app, if it's the first time the issue isn't happening. Meanwhile, on iOS it works well after we define this property code in extensibility configuration: 

        "ios":

            [

                {

                    "name": "DisableViewportFitForiOS12",

                    "value": "true"

                }

            ]


are there any robust solution for fixing this issue in Android? could it be that some plugin were affecting this issue? thanks before

mvp_badge
MVP
Rank: #17

Hi,

Did you try:

"android":[{
    "name": "windowSoftInputMode",
    "value": "adjustResize "
}]

Regards,

Daniel

Rank: #56471

Hello Daniel, thanks for your response.

I tried it just now with a newer build, but still it has no effect on the second time when using the app.

Is it possible that some plugin caused this issue? Anyway, this is our full extensibility config code:

{

    "resource" : "splashscreenresources.zip",

    "splashscreens" : {

        "ios" : [{

            "resource": "/splashscreens/ios/750x1334/Default@2x~iphone~comany.png",

            "defaultName": "Default@2x~iphone~comany"

        },

        {

            "resource": "/splashscreens/ios/1242x2208/Default@3x~iphone~comany.png",

            "defaultName": "Default@3x~iphone~comany"

        },

        {

            "resource": "/splashscreens/ios/1242x2208/Default@3x~universal~comany.png",

            "defaultName": "Default@3x~universal~comany"

        },

        {

            "resource": "/splashscreens/ios/1278x2732/Default@2x~ipad~comany.png",

            "defaultName": "Default@2x~ipad~comany"

        },

        {

            "resource": "/splashscreens/ios/1278x2732/Default@2x~universal~comany.png",

            "defaultName": "Default@2x~universal~comany"

        },

        {

            "resource": "/splashscreens/ios/1334x750/Default@2x~iphone~comcom.png",

            "defaultName": "Default@2x~iphone~comcom"

        },

        {

            "resource": "/splashscreens/ios/1334x750/Default@2x~universal~comcom.png",

            "defaultName": "Default@2x~universal~comcom"

        },

        {

            "resource": "/splashscreens/ios/1334x1334/Default@2x~iphone~anyany.png",

            "defaultName": "Default@2x~iphone~anyany"

        },

        {

            "resource": "/splashscreens/ios/2208x1242/Default@3x~iphone~anycom.png",

            "defaultName": "Default@3x~iphone~anycom"

        },

        {

            "resource": "/splashscreens/ios/2208x1242/Default@3x~universal~anycom.png",

            "defaultName": "Default@3x~universal~anycom"

        },

        {

            "resource": "/splashscreens/ios/2208x2208/Default@3x~iphone~anyany.png",

            "defaultName": "Default@3x~iphone~anyany"

        },

        {

            "resource": "/splashscreens/ios/2208x2208/Default@3x~universal~anyany.png",

            "defaultName": "Default@3x~universal~anyany"

        },

        {

            "resource": "/splashscreens/ios/2732x2732/Default@2x~ipad~anyany.png",

            "defaultName": "Default@2x~ipad~anyany"

        },

        {

            "resource": "/splashscreens/ios/2732x2732/Default@2x~universal~anyany.png",

            "defaultName": "Default@2x~universal~anyany"

        }],

        "android" : [{

            "resource" : "/splashscreens/android/drawable-port-ldpi/splashscreen.png",

            "density" : "port-ldpi"

        },

        {

            "resource" : "/splashscreens/android/drawable-port-mdpi/splashscreen.png",

            "density" : "port-mdpi"

        },

        {

            "resource" : "/splashscreens/android/drawable-port-hdpi/splashscreen.png",

            "density" : "port-hdpi"

        },

        {

            "resource" : "/splashscreens/android/drawable-port-xhdpi/splashscreen.png",

            "density" : "port-xhdpi"

        },

        {

            "resource" : "/splashscreens/android/drawable-port-xxhdpi/splashscreen.png",

            "density" : "port-xxhdpi"

        },

        {

            "resource" : "/splashscreens/android/drawable-port-xxxhdpi/splashscreen.png",

            "density" : "port-xxxhdpi"

        },

        {

            "resource" : "/splashscreens/android/drawable-land-ldpi/splashscreen.png",

            "density" : "land-ldpi"

        },

        {

            "resource" : "/splashscreens/android/drawable-land-mdpi/splashscreen.png",

            "density" : "land-mdpi"

        },

        {

            "resource" : "/splashscreens/android/drawable-land-hdpi/splashscreen.png",

            "density" : "land-hdpi"

        },

        {

            "resource" : "/splashscreens/android/drawable-land-xhdpi/splashscreen.png",

            "density" : "land-xhdpi"

        },

        {

            "resource" : "/splashscreens/android/drawable-land-xxhdpi/splashscreen.png",

            "density" : "land-xxhdpi"

        },

        {

            "resource" : "/splashscreens/android/drawable-land-xxxhdpi/splashscreen.png",

            "density" : "land-xxxhdpi"

        }]

    },

    "preferences" : {

        "global" : 

            [

                {

                    "name": "SplashScreenDelay",

                    "value": "4000"

                },

                {

                    "name": "AutoHideSplashScreen",

                    "value": "True"

                }, 

                {

                    "name": "orientation",

                    "value": "portrait"

                },

                {

                    "name": "StatusBarStyle",

                    "value": "Default"

                }

            ],

        "android":

            [

                {

                    "name": "SplashMaintainAspectRatio",

                    "value": "true"

                },

                {

                    "name": "InAppBrowserCleartextTrafficPermitted",

                    "value": "true"

                },

                {

                "name": "AndroidLaunchMode",

                "value": "singleTask"

                }

            ],

        "ios":

            [

                {

                    "name": "DisableViewportFitForiOS12",

                    "value": "true"

                }

            ]

    }

}