Menu supplémentaire

Achetez MemberPress dès aujourd'hui ! Commencez à être payé pour le contenu que vous créez ! Obtenir MemberPress maintenant
  1. Accueil
  2. Base de connaissances
  3. Application MemberPress
  4. App Setup
  5. Configuring Apple Universal Links for MemberPress App

Configuring Apple Universal Links for MemberPress App

Apple Universal Links enable website URLs to open directly in the iOS application, eliminating Safari redirects for seamless navigation. Universal Links configuration requires the Associated Domains capability in the Apple Developer account, provisioning profile regeneration, and plugin settings activation. This document explains how to enable Associated Domains, regenerate profiles, activate Universal Links, and verify configuration.

Understanding Apple Universal Links

Apple Universal Links connect website URLs to mobile app screens. When members tap links on iOS devices, content opens in the app rather than the Safari browser. This behavior creates seamless transitions between web and app experiences.

Enabling Associated Domains

The Associated Domains capability must be enabled in the Apple Developer account before the Universal Links function.

  1. Log in to the Apple Developer account at appleid.apple.com.
  2. Naviguez jusqu'à Certificates, Identifiers & Profiles section.
  3. Cliquez sur Identifiers in the sidebar.
apple universal links
  1. Select the MemberPress App ID from the identifiers list.
  2. Cliquez sur le bouton Capacités tabulation.
  3. Vérifier le Associated Domains case à cocher.
  4. Cliquez sur Économiser to enable the capability.

Remarque : Provisioning profiles must be regenerated after enabling the Associated Domains capability.

Regenerating Provisioning Profiles

Provisioning profiles require regeneration to include the Associated Domains capability.

  1. Naviguez jusqu'à Dashboard > MP App > Configure > iOS Settings.
  1. Faites défiler jusqu'à la Provisioning Profiles section.
  2. Décochez la case Automatically generate provisioning profiles case à cocher.
  1. Cliquez sur Enregistrer les modifications.
  2. Cliquez sur le bouton X next to each existing provisioning profile to delete it.
  1. Cliquez sur Enregistrer les modifications after deleting all profiles.
  2. Vérifier le Automatically generate provisioning profiles case à cocher.
  1. Cliquez sur Enregistrer les modifications to create new profiles.

New provisioning profiles include the Associated Domains capability required for Universal Links.

Activating Universal Links

Universal Links activation occurs through iOS Settings configuration.

  1. Naviguez jusqu'à Dashboard > MP App > Configure > iOS Settings.
  2. Faites défiler jusqu'à la Universal Links section.
  3. Vérifier le Enable Universal Links case à cocher.
  1. Localiser le Excluded Links field for optional URL exclusions.
  2. Enter URL patterns to exclude from app opening if needed.
  1. Cliquez sur Enregistrer les modifications.

Remarque : A new iOS build must be requested after enabling or disabling Universal Links.

Understanding Excluded Links

The Excluded Links field specifies URL patterns that should open in Safari instead of the app.

Enter URL patterns or paths that should not trigger app opening. Multiple exclusions can be listed with each pattern on a separate line.

Verifying Association File

Association file verification confirms proper Universal Links configuration.

  1. Open a web browser on any device.
  2. Naviguez jusqu'à https://yourdomain.com/.well-known/apple-app-site-association/, replacing votredomaine.com with the actual site URL.
  3. Verify the JSON response displays in the browser.
  4. Confirm JSON contains app identifiers in the response.
  5. Check that supported paths appear in the JSON structure.

Remarque : A valid JSON response confirms Apple can verify the Universal Links association between the website and the app.

Cet article a-t-il été utile ?

Articles connexes

fille de l'ordinateur

Achetez MemberPress dès aujourd'hui !

Commencez à être payé pour le contenu que vous créez.