keep getting the "currentlyFocusedField is deprecated" error

  1. SDK Version: 39
  2. Platforms(Android/iOS/web/all): Android / iOS

For some reason I keep getting the “currentlyFocusedField is deprecated” error.

I did update react-navigation.

currentlyFocusedField is deprecated and will be removed in a future release. Use currentlyFocusedInput

Stack trace:
node_modules/react-native/Libraries/LogBox/LogBox.js:148:8 in registerError
node_modules/react-native/Libraries/LogBox/LogBox.js:59:8 in errorImpl
node_modules/react-native/Libraries/LogBox/LogBox.js:33:4 in console.error
node_modules/expo/build/environment/react-native-logs.fx.js:27:4 in error
node_modules/react-native/Libraries/Components/TextInput/TextInputState.js:39:4 in currentlyFocusedField
node_modules/@react-navigation/native/src/createKeyboardAwareNavigator.js:46:63 in KeyboardAwareNavigator#_handleTransitionStart
http://127.0.0.1:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:145393:56 in _callee3$
node_modules/regenerator-runtime/runtime.js:63:36 in tryCatch
node_modules/regenerator-runtime/runtime.js:293:29 in invoke
node_modules/regenerator-runtime/runtime.js:63:36 in tryCatch
node_modules/regenerator-runtime/runtime.js:154:27 in invoke
node_modules/regenerator-runtime/runtime.js:189:16 in PromiseImpl$argument_0
node_modules/react-native/node_modules/promise/setimmediate/core.js:45:6 in tryCallTwo
node_modules/react-native/node_modules/promise/setimmediate/core.js:200:22 in doResolve
node_modules/react-native/node_modules/promise/setimmediate/core.js:66:11 in Promise
node_modules/regenerator-runtime/runtime.js:188:15 in callInvokeWithMethodAndArg
node_modules/regenerator-runtime/runtime.js:211:38 in enqueue
node_modules/regenerator-runtime/runtime.js:238:8 in exports.async
node_modules/react-navigation-stack/lib/module/views/Transitioner.js:1:6360 in _callee3
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:7106:2 in callCallback
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:7127:20 in commitUpdateQueue
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:15777:25 in commitLifeCycles
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:18744:22 in commitLayoutEffects
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:265:4 in invokeGuardedCallbackImpl
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:476:2 in invokeGuardedCallback
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:18483:29 in commitRootImpl
[native code]:null in commitRootImpl
node_modules/scheduler/cjs/scheduler.development.js:653:23 in unstable_runWithPriority
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:18317:17 in commitRoot
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:17697:12 in performSyncWorkOnRoot
[native code]:null in performSyncWorkOnRoot
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:5321:31 in runWithPriority$argument_1
node_modules/scheduler/cjs/scheduler.development.js:653:23 in unstable_runWithPriority
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:5316:21 in flushSyncCallbackQueueImpl
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:5304:28 in flushSyncCallbackQueue
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:17718:28 in batchedUpdates$1
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:2492:29 in batchedUpdates
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:2638:16 in _receiveRootNodeIDEvent
node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:2767:27 in receiveTouches
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:416:4 in __callFunction
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:109:6 in __guard$argument_0
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:364:10 in __guard
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:108:4 in callFunctionReturnFlushedQueue
[native code]:null in callFunctionReturnFlushedQueue

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