silences deprecation warnings since the code still works (tested on iOS 15) and is only used if UIViewControllerBasedStatusBarAppearance is present in the Info.plist and with NO value.
Testing
real device and simulator
Checklist
[x] I've run the tests to see all new and existing tests pass
[ ] I added automated test coverage as appropriate for this change
[x] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
Platforms affected
iOS
Motivation and Context
silences and fixes warnings in code
closes https://github.com/apache/cordova-plugin-statusbar/issues/215
Description
silences deprecation warnings since the code still works (tested on iOS 15) and is only used if
UIViewControllerBasedStatusBarAppearance
is present in the Info.plist and withNO
value.Testing
real device and simulator
Checklist
(platform)
if this change only applies to one platform (e.g.(android)
)