'Expo React Native - Android Keyboard closes immediately when tapping on input

The Android keyboard "crashes" (or destroys itself when tapping on every input field)

Video of this bug: https://i.gyazo.com/83f7eb2ce8541e2c8af749c719fd7fde.mp4

These are the logs: Logs of keyboard crashing/ destroying itself bug



Solution 1:[1]

I fixed it by changing the versions of several packages.

Now using:

"expo": "~44.0.6",
"react": "17.0.2",
"react-native": "0.66.4",

Edit 1-5-2022:

Relevant package.json packages:

  "dependencies": {
    "base-64": "^1.0.0",
    "expo": "~44.0.6",
    "expo-splash-screen": "~0.14.1"
    "expo-app-loading": "~1.3.0",
    "expo-linking": "~3.0.0",
    "expo-modules-core": "^0.6.4",
    "expo-status-bar": "~1.2.0",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "react-native": "0.66.4",
    "react-native-gesture-handler": "~2.2.0",
    "react-native-image-pan-zoom": "^2.1.12",
    "react-native-keyboard-aware-scroll-view": "^0.9.4",
    "react-native-media-query": "^1.0.10",
    "react-native-paper": "^4.11.2",
    "react-native-reanimated": "~2.4.1",
    "react-native-safe-area-context": "4.2.4",
    "react-native-screens": "~3.12.0",
    "react-native-svg": "12.1.1",
    "react-native-vector-icons": "^9.1.0",
    "react-native-web": "0.17.1",
    "react-select": "^5.2.1",
  },

  "devDependencies": {
    "@babel/core": "^7.16.0",
    "@types/react": "~17.0.35",
    "@types/react-native": "~0.66.5",
    "typescript": "~4.4.4"
  },

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1