Enable App Permissions for Device Capabilities

Configure the permissions that your app needs in your Mobile Publisher project in Setup.

Depending on the feature, enabling an app permission doesn’t work unless you developed and added a feature to your Experience Cloud site that uses the device capability. For example, if you enable the Contacts app permission without implementing the ContactsService Lightning web component into your mobile app, your user doesn’t receive your customized permissions prompt in the app and your app can’t access their contacts.

When you enable an app permission, a prompt asks for the user’s permission to allow or deny access to a certain device capability. Android and iOS support different types of app permissions.

Android

Android app permissions in Mobile Publisher Setup

iOS

iOS app permissions in Mobile Publisher Setup

  1. Toggle the button for the app permission that you want to enable.
  2. Click Edit Permission Description.
  3. Write a permission description that explains to your users why your app needs access to the device capability and how your app uses their data. Your description can be up to 1,000 characters in length.
    For Android apps, make sure that your permission description follows all of Google Play’s prominent disclosure and consent requirements in their User Data policy. Review Google Play’s example format for prominent disclosure. For example, “Capricorn Cafe collects your device’s location data to enable notifications when you’re near one of our cafes.”
  4. Optionally, you can add the permission description in multiple languages by selecting Add/Remove Supported Language(s).
    If you don’t provide the description for a language used by your app, Mobile Publisher uses the English description for that language.
  5. Save your changes.
Important
Important For Android apps, make sure that the app permissions enabled in your Mobile Publisher project in Setup match your answers to the Google Play data safety questions and the permissions listed in your privacy policy. For more information, see the Data safety section and Privacy Policy requirements described in Google Play’s User Data policy.