mharper6008 opened a new issue #205:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/205


   <!--
   Please have a look at the issue templates you get when you click "New issue" 
in the GitHub UI.
   We very much prefer issues created by using one of these templates.
   -->
   
   ### Issue Type
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] Bug Report
   - [ ] Feature Request
   - [ X] Support Question
   
   ## Description
   Every time I reference StatusBar in Android, it complains that it's not 
defined.  Works great in iOS.
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
       document.addEventListener("deviceready", function () {
           console.log('Device ready')
                
           console.log('StatusBar:'+StatusBar)
            
           if (cordova.platformId == 'android') {
               console.log('Setting status bar hex color')
               StatusBar.backgroundColorByHexString("#293846");
           }
       }, false);
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   Running in Ionic v1
   cordova-plugin-statusbar 2.4.4-dev "StatusBar"
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   Ionic:
   
      Ionic CLI         : 6.9.1 (/usr/local/lib/node_modules/@ionic/cli)
      Ionic Framework   : ionic1 1.3.4
      @ionic/v1-toolkit : 3.1.2
   
   Cordova:
   
      Cordova CLI       : 8.1.1 ([email protected])
      Cordova Platforms : android 7.1.4, ios 5.1.1
      Cordova Plugins   : no whitelisted plugins (13 plugins total)
   
   Utility:
   
      cordova-res : not installed
      native-run  : not installed
   
   System:
   
      ios-deploy : 1.10.0
      ios-sim    : 8.0.2
      NodeJS     : v13.12.0 (/usr/local/Cellar/node/13.12.0/bin/node)
      npm        : 6.14.5
      OS         : macOS Catalina
      Xcode      : Xcode 12.0 Build version 12A7209
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Plugin list:
   com-badrit-base64 0.2.0 "Base64"
   cordova-plugin-android-permissions 1.0.2 "Permissions"
   cordova-plugin-camera 4.1.0 "Camera"
   cordova-plugin-compat 1.2.0 "Compat"
   cordova-plugin-device 2.0.3 "Device"
   cordova-plugin-file 6.0.2 "File"
   cordova-plugin-file-opener2 2.2.1 "File Opener2"
   cordova-plugin-file-transfer 1.7.1 "File Transfer"
   cordova-plugin-media-capture 3.0.3 "Capture"
   cordova-plugin-media-capture-mp4video 1.0.5 
"cordova-plugin-media-capture-mp4video"
   cordova-plugin-network-information 2.0.2 "Network Information"
   cordova-plugin-photokandy-video-thumbnail 2.1.0 "Video Thumbnail"
   cordova-plugin-splashscreen 4.0.3 "Splashscreen"
   cordova-plugin-statusbar 2.4.4-dev "StatusBar"
   cordova-plugin-video-editor 1.1.3 "VideoEditor"
   cordova-plugin-whitelist 1.3.4 "Whitelist"
   ionic-plugin-keyboard 2.2.1 "Keyboard"
   
   
   ## Checklist
   <!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` -->
   
   - [X] I searched for already existing GitHub issues about this
   - [ ] I updated all Cordova tooling to their most recent version
   - [X] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to