All Projects β†’ winteragency β†’ cordova-plugin-android-window-background

winteragency / cordova-plugin-android-window-background

Licence: MIT license
Simple Cordova plugin to set Android window background on start-up 🎨 🍭

Projects that are alternatives of or similar to cordova-plugin-android-window-background

cordova-plugin-flurryanalytics
Adds support for all that Flurry Analytics flavored goodness to your Cordova based apps
Stars: ✭ 23 (+53.33%)
Mutual labels:  cordova, ionic, cordova-android, cordova-plugin
example-cordova-code-push-plugin
Ionic + Cordova Code Push Plugin Example
Stars: ✭ 45 (+200%)
Mutual labels:  cordova, ionic, cordova-plugin
cordova-plugin-zeep
Zip compression/decompression for the cordova/phonegap platform
Stars: ✭ 27 (+80%)
Mutual labels:  cordova, cordova-android, cordova-plugin
cordova-plugin-today-widget
Add a today widget app extension target to your cordova project.
Stars: ✭ 51 (+240%)
Mutual labels:  cordova, ionic, cordova-plugin
ionic-hockeyapp
Need HockeyApp in your Ionic application, add this package!
Stars: ✭ 19 (+26.67%)
Mutual labels:  cordova, ionic, cordova-plugin
cordova-gmv-barcode-scanner
A Cordova barcode scanning plugin based on the Google Mobile Vision library for iOS & Android.
Stars: ✭ 48 (+220%)
Mutual labels:  cordova, cordova-android, cordova-plugin
cordova-plugin-apkupdater
This plugin allows your Android app to download and install compressed updates without the Google Play Store.
Stars: ✭ 46 (+206.67%)
Mutual labels:  cordova, ionic, cordova-plugin
cordova-plugin-webpack
Integrate webpack into your Cordova workflow.
Stars: ✭ 61 (+306.67%)
Mutual labels:  cordova, cordova-android, cordova-plugin
scanbot-sdk-example-ionic
Scanbot scanner SDK example app for Ionic with Cordova.
Stars: ✭ 24 (+60%)
Mutual labels:  cordova, ionic, cordova-plugin
Ionic Native
Native features for mobile apps built with Cordova/PhoneGap and open web technologies. Complete with TypeScript support.
Stars: ✭ 2,129 (+14093.33%)
Mutual labels:  cordova, ionic, cordova-plugin
Cordova Plugin Fingerprint Aio
πŸ‘† πŸ“± Cordova Plugin for fingerprint sensors (and FaceID) with Android and iOS support
Stars: ✭ 236 (+1473.33%)
Mutual labels:  cordova, ionic, cordova-plugin
Create-a-custom-Cordova-plugin
How to create a custom cordova plugin and bridge it between your native code and a new or existing Cordova project
Stars: ✭ 32 (+113.33%)
Mutual labels:  cordova, cordova-android, cordova-plugin
Ionic4
This repo contains example code for ionic4. Get Step by Step tutorial of this repo examples using https://ampersandacademy.com/tutorials/ionic-framework-4
Stars: ✭ 37 (+146.67%)
Mutual labels:  cordova, ionic, cordova-plugin
ionic-native-sms-retriever-plugin-master
Cross-platform plugin for Cordova / PhoneGap to Retrieve SMS. Available for Android.
Stars: ✭ 16 (+6.67%)
Mutual labels:  cordova, ionic, cordova-plugin
Cordova Admob Pro
πŸ”₯ Cordova Plugin for Google AdMob, DFP, ADX. Easy monetization using mobile Ad, with single line of JavaScript. Compatible with Cordova CLI, Inoic, PhoneGap Build, etc.
Stars: ✭ 690 (+4500%)
Mutual labels:  cordova, ionic, cordova-plugin
Unityionicintegration
A guide to integrating Unity 3D content into an Ionic app and sending messages between them (for Android & iOS)(tested with Vuforia plugin)
Stars: ✭ 94 (+526.67%)
Mutual labels:  cordova, ionic, cordova-plugin
Ionic Typescript Starter
πŸ“± Platform and IDE agnostic starter project for building mobile apps with Ionic and TypeScript.
Stars: ✭ 124 (+726.67%)
Mutual labels:  cordova, ionic
Chihu2
ionic2-example <εƒδΉŽ2>ζ··εˆεΌ€ε‘-美食app 🍜 β˜•οΈ 🍦 (This is a support android and apple ionic2 case, a food appοΌ‰
Stars: ✭ 124 (+726.67%)
Mutual labels:  cordova, ionic
Onesignal Cordova Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Ionic, PhoneGap CLI, PhoneGap Build, Cordova, or Sencha Touch app with OneSignal. Supports Android, iOS, and Amazon's Fire OS platforms. https://onesignal.com
Stars: ✭ 214 (+1326.67%)
Mutual labels:  cordova, ionic
capacitor-rate-app
Let users rate your app using native review app dialog for both Android and iOS.
Stars: ✭ 88 (+486.67%)
Mutual labels:  cordova, ionic

❄️ cordova-plugin-android-window-background 🎨 🍭

Latest Stable Version Total Downloads License Made by WINTER

This is a simple plugin for Android which will set the window background color for you app's MainActivity to a color of your choice. This allows you to avoid the standard dark grey background which will flash for a second before your splash screen appears. Set the color to the same background as your splash screen for a smoother start-up effect.

Installation

You'll need to set your desired window background color while installing the plugin by supplying the WINDOW_BACKGROUND_COLOR variable. Set it to whatever you want, preferrably the same color as your splash screen.

cordova plugin add cordova-plugin-android-window-background --variable WINDOW_BACKGROUND_COLOR=#ff69b4 --save

Or install directly from this repo:

cordova plugin add https://github.com/winteragency/cordova-plugin-android-window-background.git --variable WINDOW_BACKGROUND_COLOR=#ff69b4 --save

Supported Platforms

  • Android (cordova-android 7.0.0+)

Configuration

A custom WINDOW_BACKGROUND_COLOR variable will be added to your app's config.xml after installation with the value you selected (provided you included the --save flag). You can change it whenever you want, but you'll need to remove and re-add the Android platform from your project in order for the change to go through.

<plugin name="cordova-plugin-window-background">
    <variable name="WINDOW_BACKGROUND_COLOR" value="#B4D455" />
</plugin>

To re-add the Android platform:

cordova platform remove android
cordova platform add android

TODO

  • Set status bar and/or navigation bar color in the theme as well. The standard Cordova Status Bar plugin will set the status bar color only after the app has initalized, resulting in an ugly translucent status bar while the splash screen is showing.
  • Allow an image background to be used as windowBackground? Perhaps set it to the same image as the splash screen automatically?
  • Find a way to make changes to config.xml automatically update without having to re-add the platform.

License

The MIT License

Copyright (c) 2018, WINTER AGENCY

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].