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/01/15 15:05:41 UTC

[GitHub] ikamikaz3 commented on issue #345: Camera plugin crashes app on some android phones when an image is taken

ikamikaz3 commented on issue #345: Camera plugin crashes app on some android phones when an image is taken
URL: https://github.com/apache/cordova-plugin-camera/issues/345#issuecomment-454424037
 
 
   Hi,
   
   I'm encoutering the same issues as @yuankunluo / @desmeit / @cymxiao 
   
   Here's my ionic info output
   ```
   → ionic info                                                                                                [0e15ec6]
   ✔ Gathering environment info - done!
   
   Ionic:
   
      ionic (Ionic CLI)  : 4.2.1
      Ionic Framework    : ionic-angular 3.9.2
      @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 2.3.1, (and 13 other plugins)
   
   System:
   
      Android SDK Tools : 26.1.1 (/home/mikaz3/android-sdk-linux)
      NodeJS            : v8.12.0 (/usr/bin/node)
      npm               : 6.4.1
      OS                : Linux 4.15
   
   ``` 
   
   `cordova-plugin-camera` in package.json has version : ^4.0.3
   
   I can also say that taking a picture with the camera works for me but not choosing one from the library (internal storage). i can provide my code aswell if needed.
   
   As pointed by @yuankunluo the lifecycle event doesn't even get fired.
   The app is set in pause state when opening the photo library, then when choosing the desired picture, the app simply gets put on background as if I had pressed the back button, and when clicking on the app it boots normally. Meaning resume event never gets fired.
   
   I've actually tested all of the above and can provide code for it.
   
   Regards
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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