[Camera Plugin] Missing Info.plist key on iOS app submission
Question
Forge component by OutSystems R&D
Application Type
Mobile

Hi,

 App Store has rejected due to the issue with the data usage protection. I use camera and location plugin both were rejected for not displaying the description of the purpose we are using.

"Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription and NSCameraUsageDescription  key with a string value explaining to the user how the app uses this data."

How to add description to permission popup.

Can someone help on fixing this issue?

Solution

Hello Harika,

with MABS 7.1 released, a new feature was added, to handle iOS Descriptions! I believe this new feature can tackle your problem.

You can simply add a new preference to the extensibilities of your Application, and this should add the proper description for the permission you choose, in your final ipa. Example:

{

  "preferences": {

    "ios": [

      {

        "name": "NSCameraUsageDescription",

        "value": "This application needs access to the Camera because yada yada yada!"

      },

      {

        "name": "NSPhotoLibraryUsageDescription",

        "value": "This application needs access to your Photo Library because yada yada yada!"

      }

    ]

  }

}

Using this feature and setting the descriptions through the Extensibility of the app should override the descriptions that were set in any plugin of the application (when they are in conflict).

You can check details about the feature in the release notes of  MABS 7.1.

Please let me know if this fixed your problem or if the notes/instructions are not clear!

Cheers.


Hi @Carlos Sotelo ,

Thanks for the help, I have added the preferences in plugins custom Extensibility from lifetime. The App was already approved .

Hi @Carlos Sotelo ,

Thanks for the help, I have added the preferences in plugins custom Extensibility from lifetime. The App was already approved .

Hello Harika,

you may find this plugin can help your problem, just follow the instruction on Github to update/add the permissions description you need.

Solution

Hello Harika,

with MABS 7.1 released, a new feature was added, to handle iOS Descriptions! I believe this new feature can tackle your problem.

You can simply add a new preference to the extensibilities of your Application, and this should add the proper description for the permission you choose, in your final ipa. Example:

{

  "preferences": {

    "ios": [

      {

        "name": "NSCameraUsageDescription",

        "value": "This application needs access to the Camera because yada yada yada!"

      },

      {

        "name": "NSPhotoLibraryUsageDescription",

        "value": "This application needs access to your Photo Library because yada yada yada!"

      }

    ]

  }

}

Using this feature and setting the descriptions through the Extensibility of the app should override the descriptions that were set in any plugin of the application (when they are in conflict).

You can check details about the feature in the release notes of  MABS 7.1.

Please let me know if this fixed your problem or if the notes/instructions are not clear!

Cheers.


Hi @Carlos Sotelo ,

Thanks for the help, I have added the preferences in plugins custom Extensibility from lifetime. The App was already approved .

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.