forked from public/cordova-plugin-camera
[CB-3654] added extern storage permissions so camera works. fixed issue with test page.
This commit is contained in:
@@ -340,7 +340,7 @@
|
||||
document.addEventListener("deviceready", function() {
|
||||
deviceReady = true;
|
||||
platformId = cordova.require('cordova/platform').id;
|
||||
CameraPopoverOptions = cordova.require('org.apache.cordova.CameraLauncher.CameraPopoverOptions');
|
||||
CameraPopoverOptions = cordova.require('org.apache.cordova.core.CameraLauncher.CameraPopoverOptions');
|
||||
console.log("Device="+device.platform+" "+device.version);
|
||||
createOptionsEl('sourceType', Camera.PictureSourceType, camPictureSourceTypeDefault);
|
||||
createOptionsEl('destinationType', Camera.DestinationType, camDestinationTypeDefault);
|
||||
|
||||
Reference in New Issue
Block a user