From 6dde9ea90c21b454f1e580d512b6cf12178b173b Mon Sep 17 00:00:00 2001 From: Henning Romain Date: Wed, 25 Oct 2023 20:08:14 +0700 Subject: [PATCH] fixing the usage doc --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 928f2e7..5fd5a59 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ This should be a quick drop-in library into your mobile website. window.AddToHomeScreenInstance = new window.AddToHomeScreen( { appName: 'Aardvark', // Name of the app - appIcon: 'apple-touch-icon.png', // App icon link (square, at least 40 x 40 pixels) + appIconUrl: 'apple-touch-icon.png', // App icon link (square, at least 40 x 40 pixels) assetUrl: 'https://cdn.jsdelivr.net/gh/philfung/add-to-homescreen@1.4/dist/assets/img/', // Link to directory of library image assets showErrorMessageForUnsupportedBrowsers: true, // Should we prompt users on non-compliant browsers (like IOS Firefox) to switch to compliant one (like Safari) Default: true. allowUserToCloseModal: false, // Allow user to close the 'Add to Homescreen' message? Not allowing will increase installs. Default: false.