only check for status bar when running on cordova