Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

add-to-homescreen-control

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-to-homescreen-control - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

6

package.json
{
"name": "add-to-homescreen-control",
"version": "0.5.0",
"version": "0.6.0",
"description": "Library that allows you to control new Add to Home Screen prompt behavior",

@@ -36,2 +36,3 @@ "main": "lib/add-to-homescreen-control.js",

"jsdom-global": "3.0.2",
"lodash": "^4.17.11",
"mocha": "^4.0.1",

@@ -42,3 +43,4 @@ "uglifyjs-webpack-plugin": "^1.2.7",

"yargs": "^10.0.3"
}
},
"dependencies": {}
}
# Add to Home Screen banner control
This library allows you to programatically show Add to Home Screen banner. this feature is available from Chrome 68 but the library works on the older versions aswell. It's recomennded to read [useful information](https://github.com/filrak/add-to-homescreen-control/blob/master/README.md#useful-information) section before using this library to avoid common problems and gotchas.
This library allows you to programatically show Add to Home Screen banner. This feature is available from Chrome 68 but the library works on the older versions aswell. It's recomennded to read [useful information](https://github.com/filrak/add-to-homescreen-control/blob/master/README.md#useful-information) section before using this library to avoid common problems and gotchas.

@@ -29,3 +29,3 @@ # How to use this library

````
3. Show the Add to Home Screen banner whenever you want to with `prompt()` method. The banner will appear only if the [criteria](https://developers.google.com/web/fundamentals/app-install-banners#criteria) are met. You can handle unmet criteria in two ways:
3. Show the Add to Home Screen banner whenever you want to with `prompt()` method. The banner will appear only if the [criteria](https://github.com/filrak/add-to-homescreen-control#add-to-home-screen-criteria-chrome) are met. You can handle unmet criteria in two ways:

@@ -42,3 +42,3 @@ - make use of the fact that `prompt()` returns a Promise (recommended):

[Here](https://github.com/filrak/add-to-homescreen-control/blob/master/index.html) you can find example usage of this library (with local import)
# Useful information

@@ -45,0 +45,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc