Giter VIP home page Giter VIP logo

cordova-plugin-statusbar's People

Contributors

ekuwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cordova-plugin-statusbar's Issues

Plugin not working with Ionic

Hi,

first of all, thanks for the plugin, I've been looking for this for a while ๐Ÿ‘

I'm trying to use it in an Ionic project, but it doesn't work. The strange thing is, that when I run the application the status bar is black, but if I open the Chrome inspect to debug the application, at that moment the status bar gets transparent.

I am using it like so:

            $ionicPlatform.ready(function() {
                if(window.cordova) {
                    if (window.cordova.plugins.Keyboard) {
                        cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
                    }

                    screen.lockOrientation('portrait');
                }

                if (window.statusbarTransparent) {
                    console.log('****** ionic ready ******');
                    statusbarTransparent.enable();
                }
            });

The code is being run because if I run adb logcat I can see the "ionic ready" message.

I have tried it using Android 5.0.2 in a real device, and using an emulator with 4.4.2, with the same result.

Thanks!

Doesn't work on huawei phones

I have tried it and it works fine on different android phones but when I tested it on the Huawei P9 lite, it didn't work. Any ideas why ?

statusbar disappears

Hey there,
first thanks for all your efforts.
Now I have the problem that my statusbar disappears as soon I pull the android menu from top (or any android dialog pops up).
I guess I could call .show() all the time but is there a general solution for that?

problem with meteor

statusbarTransparent.enable() is not working with meteor.Please solve this issue

Not working

I can't install with npm.

So I do manualy but didn't work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.