0.0.7 • Published 7 years ago

@rajatsehgal/add-to-home-screen v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

add-to-home-screen

A react component that detects if the mobile web app is running in standalone mode or not and shows a banner at the bottom of the screen, prompting the user to add this app to the home screen.

Live demo

Open it on an iPhone: Demo

Installation

npm install @rajatsehgal/add-to-home-screen --save

Usage

Import it

import AddToHomeScreen from '@rajatsehgal/add-to-home-screen/AddToHomeScreen';

Render it

<AddToHomeScreen />
0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago