Open zx01785233 opened 4 years ago
+1
+1 Same issue
+1
+1
+1 but I'm just ignoring it with LogBox.ignoreAllLogs()
for now
+1
+1 RN 63.2
+1
+1
Same İssue..
+1
This issue is related to transitive dependency on React-Navigation. It is solved in #1010. The fix is released and will take effect as soon as react-native-router-flux updates its dependency on latest react-navigation release.
For now, as a workaround, search which file uses the deprecated currentlyFocusedField()
that causes the error and try changing it to currentlyFocusedInput()
. In my case, changing them in the following file did the trick:
node_modules/@react-navigation/native/lib/module/createKeyboardAwareNavigator.js
@waelmg Thank's thats work..
same issue ...
This issue is related to transitive dependency on React-Navigation. It is solved in #1010. The fix is released and will take effect as soon as react-native-router-flux updates its dependency on latest react-navigation release.
For now, as a workaround, search which file uses the deprecated
currentlyFocusedField()
that causes the error and try changing it tocurrentlyFocusedInput()
. In my case, changing them in the following file did the trick: node_modules/@react-navigation/native/lib/module/createKeyboardAwareNavigator.js
thx, thats work
This issue is related to transitive dependency on React-Navigation. It is solved in #1010. The fix is released and will take effect as soon as react-native-router-flux updates its dependency on latest react-navigation release.
For now, as a workaround, search which file uses the deprecated
currentlyFocusedField()
that causes the error and try changing it tocurrentlyFocusedInput()
. In my case, changing them in the following file did the trick: node_modules/@react-navigation/native/lib/module/createKeyboardAwareNavigator.js
This worked for me with the following dependencies:
"dependencies": {
"@react-native-community/checkbox": "^0.5.3",
"@react-native-community/masked-view": "^0.1.10",
"@react-navigation/native": "^5.7.3",
"axios": "^0.19.2",
"prettier": "^2.0.5",
"react": "16.13.1",
"react-native": "0.63.2",
"react-native-emoji": "^1.8.0",
"react-native-gesture-handler": "^1.7.0",
"react-native-image-picker": "^2.3.3",
"react-native-reanimated": "^1.13.0",
"react-native-router-flux": "^4.2.0",
"react-native-safe-area-context": "^3.1.4",
"react-native-screens": "^2.10.1",
"react-native-vector-icons": "^7.0.0",
"react-redux": "^7.2.1",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0"
}
Just FYI no other fix on Google has worked for me save this one. 💯
+1
+1 RN 0.65.1
I use react native 0.63.1&& "react-native-router-flux": "^4.2.0"
but I want to move screen, "currentlyFocusedField is deprecated and will be removed in a future release. Use currentlyFocusedInput", still moved with the error.
new version of react-native 0.63.1,I ignore this issue。