BC CHANGE:
We start to return StatusBar.currentHeight
from getStatusBarHeight
by default, but you can omit this case by passing true
(by default it's false
) for first argument in getStatusBarHeight
call
// 0 on Android
getStatusBarHeight(true);