Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12959

Conflict between camera and media capture plugin

    XMLWordPrintableJSON

Details

    Description

      We recently had a build fail the itunes upload due to NSCameraUsageDescription not being set. It was caused by the newer version of the media-capture plugin defining NSCameraUsageDescription and NSPhotoLibraryUsageDescriptionentry with an empty string and blowing away the value set by the camera plugin variables.

      The workaround is pretty simple: just set the same variables for both plugins, but I would expect core plugins to work nicely with each other. Is it necessary for the plugins to control these parameters? Could one define these values in config.xml instead of relying on the plugins?

      Also, if an empty string is no longer valid for app submission should it be added by default?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cjpearson Connor Pearson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: