androidNavigationBar.visible - should be equal to one of the allowed values

Expo CLI 4.0.17 environment info:
System:
OS: Windows 10 10.0.18363
Binaries:
Node: 14.15.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.10 - C:\Users\Ton-i\AppData\Roaming\npm\yarn.CMD
npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 4.1.0.0 AI-201.8743.12.41.6953283
npmPackages:
expo: ~40.0.0 => 40.0.0
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz => 0.63.2
react-native-web: ~0.13.12 => 0.13.18
Expo Workflow: managed

Whenever I debug my app or try to deploy it building an apk, I get this error:

Error: Problem validating fields in app.json. See Configure with app.json/app.config.js - Expo Documentation
• Field: androidNavigationBar.visible - should be equal to one of the allowed values.

My app.json is written like this:

“androidNavigationBar”: {
“visible”: “true”,
“barStyle”: “dark-content”,
“backgroundColor”: “#FFFFFF
}

I tried changing the value from “true” to true, but with that I get another error along the first one that says the value should be a string. Am I doing something wrong?

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.