Skip to content

Instantly share code, notes, and snippets.

View akshaykumar6's full-sized avatar

Akshay Sharma akshaykumar6

View GitHub Profile
import React from 'react';
import {
List,
CellMeasurer,
CellMeasurerCache,
InfiniteLoader,
AutoSizer
} from 'react-virtualized';
import Item from './Item';

Custom Splash Screen

Splash screen screen appears instantly when your app starts up. If your app is heavy, it might take few seconds to load the app depending on the device's configurations. By default, both Android and iOS show a plain white screen as the splash screen. It is always better to customize the splash screen to provide a complete app experience.

In order to change the splash screen of your progressive web app, you must use the configure few properties for your app to provide complete native look and feel.

Android

Chrome for Android automatically shows your custom splash screen as long as you meet the following requirements in your web app manifest:

Configure Status Bar

In order to change the status bar at the top of the screen (which usually displays the time and battery status) of your progressive web app, you must use the configure few properties for your app to provide complete native look and feel.

Android

Chrome, Firefox and Opera allow you to define color of the status bar using the meta tags.

<!-- Chrome, Firefox OS and Opera -->
@akshaykumar6
akshaykumar6 / 0_reuse_code.js
Created April 9, 2016 14:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console