undefined is not a function(evaluating 'StatusBarIOS.setStyle('default')')
Same
It is fixed and pushed by a user in #79 but unfortunately the code has not been merged yet.
Fixes you need:
js -> Login -> LoginScreen.js
Add "var StatusBar = require('StatusBar');" after line 31
At line 47, replace StatusBarIOS.setStyle('default') with StatusBar.setBarStyle('default'); since StatusBarIOS is deprecated https://facebook.github.io/react-native/docs/statusbarios.html.
This should fix it for you!
@naveensingh-daffodil Thanks a lot!
@naveensingh-daffodil Thanks !
react-native run-android
Same here!
undefined is not a function(evaluating 'StatusBarIOS.setStyle('default')')
PRs are welcome!
Most helpful comment
It is fixed and pushed by a user in #79 but unfortunately the code has not been merged yet.
Fixes you need:
js -> Login -> LoginScreen.js
Add "var StatusBar = require('StatusBar');" after line 31
At line 47, replace StatusBarIOS.setStyle('default') with StatusBar.setBarStyle('default'); since StatusBarIOS is deprecated https://facebook.github.io/react-native/docs/statusbarios.html.
This should fix it for you!