Code Monkey home page Code Monkey logo

add-to-homescreen's Introduction

Building

Previously:

  • 🩸 ceo at Kit (acquired by Roman)
  • 🤖 cto of Operator (early AI chatbot, 🍎 award)
  • 👨‍💻 early engineer at Meta.

add-to-homescreen's People

Contributors

cyberorg avatar jpjust avatar p4km4n avatar philfung avatar redeye86 avatar rom1ajh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

add-to-homescreen's Issues

I have three problems

Hi,

I think it's great what you do to notify with a PWA app message, thank you very much.

I have three problems:

  1. On Windows 11 PC I cannot close the installation message in any browser, I can close the message in Chrome and Samsung browser on Android. (allowUserToCloseModal: true,)

On the other hand, the message on PC about widows 11 chrome shows that it cannot be installed, when it can be installed PWA

  1. If I install the PWA application, the installation message still appears. Can you stop reporting the PWA installation message?

  2. On Android when browsing, Edge shows the installation message with the up arrow, but the correct thing is that it will show the down arrow, in the direction of the edge setting button.

Best regards,

Eugenio

CSS Conflicts

I'm using bootstrap as my CSS framework. That framework defines a css class called .modal. That causes the add-to-homescreen modal to be stretched out since it also uses the .modal classname. You probably want to have webpack (or something else) add a namespace/prefix to all of the classnames used, or have your css rules only apply within the top level div made by the library.
Screenshot 2023-09-14 at 10 39 12 AM

Button is not translated

The file ios-add-to-home-screen-button.svg is a graphic that contains both the icon and the text "Add to homescreen". Therefore the text is not part of the localization. I think the the text should be removed from the svg and the icon should be used alone with a localized text.

In Chrome Browser instead of the text maybe show the user the steps to install PWA in Chrome ?

In Chrome Browser instead of the text :
Please open this website on a mobile device.
Installing to your home screen is currently only supported on IOS and Android.

maybe show the user the steps to install PWA in Chrome ?
screenshot_2024_02_20_at_07_49_42
The webpage in chrome browsers offer to the users the option to install app in windows,
maybe place a modal with the steps to install the PWA in chrome browsers ?
screenshot_2024_02_20_at_08_01_42

Idea: Read name / icon from manifest.json

Wouldn't it make sense to read the name and icon of the app from the manifest.json? It is json anyway and linked in the of the page.
I am using the script in a multi-site installation and it is invoked from inside a javascript file that is not site specific. So I don't have the information about the name in the first place. At first I thought about reading the application name and icon path from some data-attribute (in body or html tag). But the manifest has to be linked anyway for this to work and the name and icon could be used as the default.

add-to-homescreen not page specific

Hi,
Works very well as intended
but I have noticed that your add-to-homescreen seems to be domain specific and not page specific
I set it to run only 2 times when user land on the page.
However, Once it has ran twice, your add-to-homescreen does not run again on another page i also need it to run on.
I want add-to-homescreen to be able to run two time on all pages I select it to run it on
Is there a way to achieve this.
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.