You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/02/22 01:00:08 UTC

[GitHub] [cordova-plugin-camera] codeconsole removed a comment on issue #702: No result with mediaType SAVEDPHOTOALBUM and enabled CameraUsesGeolocation (iOS)

codeconsole removed a comment on issue #702:
URL: https://github.com/apache/cordova-plugin-camera/issues/702#issuecomment-782972643


   I have created a very easy to run example that demonstrates that EXIF information is lost:
   https://github.com/codeconsole/exiftest
   
   ```
   % cordova --version
   10.0.0
   ```
   
   ```
     git clone https://github.com/codeconsole/exiftest
     cd exiftest
     cordova prepare
     cordova run ios
   ```
   Verify selecting an image works. In the simulator, click the Photo Library button, choose an image and then notice the image is shown and a popup comes up with some partial exif info.
   
   Now to break everything then CameraUsesGeolocation to true in `config.xml` and run again. 
   ```
     ./setCameraUsesGeolocation.sh true
     cordova run ios
   ```
   click the Photo Library button, choose a photo and notice nothing happens. Neither the success or error callbacks get executed for navigator.camera.getPicture()
   
   Bonus points: 
   Open the workspace in xcode 
   ```
   open platforms/ios/HelloCordova.xcworkspace
   ```
   and run the project
   
   Notice the same behavior and the following message is shown in the console when nothing happens:
   
   ```
   2021-02-21 16:55:30.974760-0800 HelloCordova[94981:4291237] [HelloCordova] copyThumbnail:301: *** skipping thumbnail -- too big [26417 bytes]
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org