Mobile Web Push for iOS
Last updated
Was this helpful?
Last updated
Was this helpful?
Web Push notifications are a powerful tool for engaging users and driving traffic to a website or platform. With the introduction of iOS and iPadOS 16.4+, marketers can now leverage web push notifications on these devices. This allows for a wider reach and enhanced user engagement through web apps added to a user's home screen.
Before implementing Mobile Web Push for iOS, ensure that the Web SDK Setup is completed.
To make your website installable with its own icon and full-screen immersive experience, you must include a Web Application Manifest file. This JSON file defines how the website appears when added to a user’s home screen.
manifest.json
:The file must be included in your project.
The display
property should be set to standalone
.
In some projects, manifest.json
is automatically generated; if not, it must be manually added.
If a different value is set for display
, update it to standalone
.
Example manifest.json
To test your website’s web push capabilities:
Open your website in Safari on an iOS/iPadOS 16.4+ device.
Click the Share button.
Select Add to Home Screen.
Once added, open the app from the home screen to verify that the permission prompt is enabled.
For users to receive web push notifications, they must first add your website to their home screens.
Open the website on an iOS/iPadOS 16.4+ device.
Click the Share button.
Select Add to Home Screen.
Save the app on the device home screen.
Open the app from the home screen.
Subscribe to notifications via the Fancy Box.
The native permission prompt should appear when the subscribe button is clicked.
Once the website is added to the home screen:
Users open the app from the home screen.
The website triggers a Fancy Box requesting push notification permissions.
Users must grant permission to receive web push notifications.
Once users have granted push permissions, notifications can be sent using the Netmera Panel.
Navigate to the Netmera Panel.
Select Create New Campaign > Web > Safari to configure and send notifications to iOS users.