You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/03/29 10:48:04 UTC

[GitHub] [cordova-plugin-camera] 0mpurdy opened a new issue #436: CameraUsesGeolocation and NATIVE_URI aren't working when used together

0mpurdy opened a new issue #436: CameraUsesGeolocation and NATIVE_URI aren't working when used together
URL: https://github.com/apache/cordova-plugin-camera/issues/436
 
 
   # Bug Report
   
   ## Problem
   
   On iOS:
   
   Works: `DestinationType.NATIVE_URI` 
   Works: `CameraUsesGeolocation`
   Works: `DestinationType.FILE_URI` + `CameraUsesGeolocation`
   Doesn't work: `DestinationType.NATIVE_URI` + `CameraUsesGeolocation`
   
   ### What is expected to happen?
   
   Taking a photo with the camera on iOS will return a native URI, and the photo will have geolocation information.
   
   ### What does actually happen?
   
   The success callback is never invoked when using `DestinationType.NATIVE_URI` and `<preference name="CameraUsesGeolocation" value="true" />`.
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   Failures still work as expected (cancelling from the camera popover will still show an error message).
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   Github repo that has the problem: https://github.com/0mpurdy/ionic-3-gallery
   
   The FILE_URI button works as expected (loads the photo), the NATIVE_URI button does not work (nothing happens on return from the camera)
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   iOS, both on iPad mini 2 and iPhone 6
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   ```
   Ionic:
   
      ionic (Ionic CLI)  : 4.10.1 (/Users/mike/.config/yarn/global/node_modules/ionic)
      Ionic Framework    : ionic-angular 3.9.3
      @ionic/app-scripts : 3.2.1
   
   Cordova:
   
      cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
      Cordova Platforms     : android 7.1.4, ios 4.5.5
      Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2
   , (and 6 other plugins)
   
   System:
   
      Android SDK Tools : 26.1.1 (/Users/mike/Library/Android/sdk/)
      ios-deploy        : 1.9.4
      ios-sim           : 8.0.0
      NodeJS            : v10.11.0 (/Users/mike/.nvm/versions/node/v10.11.0/bin/node)
      npm               : 6.9.0
      OS                : macOS Mojave
      Xcode             : Xcode 10.2 Build version 10E125
   ```
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
     + Using a new install of Ionic 3
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

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