- SDK Version: 39
- Platforms: Android & iOS
- Project type: Minimal Managed Workflow
Hello, I am working on my first Expo application. I have solved some errors that I have been having thanks to the documentation but I am having a somewhat annoying problem.
It turns out that the keyboard when it appears in a view that has data input, whether or not it is responsive, shows the following behavior: When appears Keyboard, white view appears - Album on Imgur
As I have investigated, it may be because root view background color could be causing this. The problem is that all the possible solutions I found require manipulating code on the specific platforms (which in my case would be Android and iOS) but I don’t have such projects. I’m also not looking for eject them so I wanted to know if there is any solution for this.
I have found in an expo package the registerRootComponent () but to be honest I don’t know if I can actually use this to achieve the fix as I am also using React Navigation v5
.
Here is a Snack (I suggest you use an android device as the problem could be more noticeable):
also I tried this:
App.json
{
"expo": {
"name": "appName",
"slug": "appName",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"backgroundColor": "#000000",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#000000"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": false
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
}
},
"androidStatusBar": {
"barStyle": "light-content",
"backgroundColor": "#000000"
},
"web": {
"favicon": "./assets/favicon.png"
}
}
}