Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcjulian/ng-cap-status-bar
Capacitor Status Bar styles overridden
https://github.com/marcjulian/ng-cap-status-bar
Last synced: 24 days ago
JSON representation
Capacitor Status Bar styles overridden
- Host: GitHub
- URL: https://github.com/marcjulian/ng-cap-status-bar
- Owner: marcjulian
- Created: 2022-10-26T13:18:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-27T06:35:06.000Z (about 2 years ago)
- Last Synced: 2024-10-26T03:06:25.285Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.14 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ng-cap-status-bar
Status and Navigation bar styles on Capacitor Android v4 App are overridden from `@capacitor/splash-screen`.
Capacitor Plugins effected:
- @capacitor/status-bar
- [@hugotomazi/capacitor-navigation-bar](https://github.com/hugotomazi/navigation-bar)Run the capacitor app on an Android device:
```bash
npm inpm run build
npx cap run android
```Repeat this when you change the branch between main and splash-screen-plugin.
## Behavior
Behavior on the **main** branch:
Status and Navigation bar color are **red** (`ef4444`).
![Status and Navigation bar color](main.png)
Behavior on the **[splash-screen-plugin](https://github.com/marcjulian/ng-cap-status-bar/tree/splash-screen-plugin)** branch:
Status and Navigation bar color are black. Styles from Status and Navigation bar are not applied.
![Status and Navigation bar color w/ Splash Screen plugin](splash-screen-plugin.png)