@teddykossoko wrote:
Hi everybody,
I'm trying to custom the status bar of my app, and i fllow this tutorial [learn.ionicframework.com/formulas/customizing-the-status-bar/][1]but when i deploy my app in my android phone i have a blank page instead my content.
here my code
angular.module('starter', ['ionic', 'leaflet-directive', 'ngCordova', 'igTruncate']) .run(function($ionicPlatform) { $ionicPlatform.ready(function() { // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard // for form inputs) if(window.cordova && window.cordova.plugins.Keyboard) { cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); window.cordova.plugins.Keyboard.disableScroll(true); } if(window.StatusBar) { StatusBar.styleDefault(); } }); }) .run(function($cordovaStatusbar) { $cordovaStatusbar.overlaysWebView(true) $cordovaStatusBar.style(1) //Light $cordovaStatusbar.styleHex('#FF0000') //red })
How can i do please ?
Posts: 1
Participants: 1