Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove statusBar when game is start #1

Open
tarto-dev opened this issue May 24, 2017 · 0 comments
Open

Remove statusBar when game is start #1

tarto-dev opened this issue May 24, 2017 · 0 comments

Comments

@tarto-dev
Copy link
Owner

$ cordova plugin add https://github.com/apache/cordova-plugin-statusbar.git

Then once device is ready

StatusBar.hide();
if (typeof AndroidFullScreen !== 'undefined') {   // Fullscreen plugin exists ?
  function errorFunction(error) { console.error(error); }
  AndroidFullScreen.isSupported(AndroidFullScreen.immersiveMode, errorFunction);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant