hi,
warning:
<Drawer
key="drawer"
contentComponent={DrawerContent}
drawerPosition="right">
<Scene ....
<Scene ....
</Drawer>
please help to me
same thing here. Any solution ?
same thing happend just after RN upgrade. i'm also waiting for solution.
in case you can disable warning just add
YellowBox.ignoreWarnings([
'DrawerLayoutAndroid drawerPosition' ,
]);

this code at your index.js file.
This is deprecated since React-native 0.61.0
" DrawerLayoutAndroid drawerPosition now expects a string, number is deprecated "
https://github.com/aksonov/react-native-router-flux/issues/3581#issuecomment-54322490
陌'm already give string value (left,rigth) as expected. but still same warning i have..
no fix yet?
no fix yet?
there is a fix for that but its on rnrf beta version (4.1.0-beta.2) .
before install that you must install this dependencies : yarn add react-native-reanimated react-native-gesture-handler react-native-screens@^1.0.0-alpha.23 (just copy-paste)
for react navigation 4.x : https://reactnavigation.org/docs/en/getting-started.html
no fix yet?
there is a fix for that but its on rnrf beta version (4.1.0-beta.2) .
before install that you must install this dependencies : yarn add react-native-reanimated react-native-gesture-handler react-native-screens@^1.0.0-alpha.23 (just copy-paste)
for react navigation 4.x : https://reactnavigation.org/docs/en/getting-started.html
thank you
@fekajin Thanks! I add YellowBox.ignoreWarnings([ 'DrawerLayoutAndroid drawerPosition' , ]); and work for me!
1 year later? 馃
Most helpful comment
same thing happend just after RN upgrade. i'm also waiting for solution.
in case you can disable warning just add
YellowBox.ignoreWarnings([ 'DrawerLayoutAndroid drawerPosition' , ]);this code at your index.js file.