Closed francisrod01 closed 6 years ago
Hi @francisrod01, In case you need to change the colour of the StatusBar, you can use the nativescript-statusbar. The plugin provides support for this type of functionality. You can also review its demo here.
Thank's @tsonevn ! I solved using a following change to nativescript-angular
: 5.3.0
https://github.com/NativeScript/nativescript-angular/blob/master/CHANGELOG.md
I solved it change using a window.setStatusBarColor()
instead View flag as mentioned here:
NS discourse - java.lang.NoSuchFieldError about system UI light status bar on Android platform
I'm trying to modify status bar color on Android but the
android.view.View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
doesn't exists.This is mentioned on the NS Angular doc
https://docs.nativescript.org/angular/ui/theme#android
The
tns doctor
output:Error output: