how do I enable app install for my web apps on iOS?

Asked on 2024-07-30

1 search

To enable app install for your web apps on iOS, you can follow these steps:

  1. Ensure Metadata is Set: Make sure your website includes specific meta tags in the head tag to declare metadata about your website. This helps in properly representing your website across all user agents.
  2. High-Resolution Icons: Double-check that your website has high-resolution icons so they look great next to your accounts.
  3. Use the Apple Pay JavaScript SDK: If you are integrating Apple Pay, make sure to import the Apple Pay JavaScript SDK or update your existing version to 1.2.0 or higher. Place this in the head tag of your HTML document to ensure that Apple Pay is ready as soon as your page loads.
  4. Use the JavaScript SDK Apple Pay Button: Instead of using the CSS implemented variant, use the JavaScript SDK Apple Pay button to ensure non-Safari browser support works.

For more detailed information, you can refer to the session What’s new in Wallet and Apple Pay at WWDC 2024.

Relevant Sessions

  1. What’s new in Wallet and Apple Pay
  2. Streamline sign-in with passkey upgrades and credential managers

If you need more specific details or have further questions, feel free to ask!