iOS does not offer a default prompt for users to know that an app is a PWA or to install it.
This component offers a block that only appears to iOS Safari users and will show a customizable button, followed by a popup instructing the user how to add the app to the Home Screen.
How to use this plugin?
All you have to do is place the PromptIToInstallOnIOS block where it makes more sense in your app, style it to match your brand and you are good to go.
As a rule of thumb, for better conversion consider your user journeys and decide when users would be likely to commit to adding the app to their device's home screen.
The component also offers two helper functions. One that allows checking if the user is using iOS Safari (isIOSSafari) and another one to check if the app is already running in standalone mode (isRunningAsPWA)
For further customization of the button, the CSS class 'ios-pwa-install-btn' is also available.
Known limitations: