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:14:30 UTC

[GitHub] desmeit edited a comment on issue #345: Camera plugin crashes app on some android phones when an image is taken

desmeit edited a comment 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-454426813
 
 
   It seems Android worked on the issue which made it necessary to implement the background plugin. I deactivated the background plugin for devices older than Android 8 and now it worked. I don't know if there is a generally issue with the Background Plugin and Android 8.
   
         if (device.platform.toLowerCase() == 'android' && parseInt( device.version, 10 ) < 8){
   		cordova.plugins.backgroundMode.enable();
   	}

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