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

camera.getPicture() returns an empty string

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Code sample to reproduce:

      navigator.camera.getPicture(onSuccess, onFail, { 
          destinationType: Camera.DestinationType.FILE_URI,
          sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
          correctOrientation: true
      });
      

      onSuccess is called with an empty string as an argument.

      if correctOrientation is false, everything works as expected.

      Attachments

        1. mobilespec-camera.7z
          14.72 MB
          Alexander Sorokin

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jcesarmobile jcesarmobile
            alsorokin Alexander Sorokin
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment