Skip to content

Remove statusBar when game is start #1

Description

@tarto-dev

$ 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);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions