cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Jarc (JIRA)" <>
Subject [jira] [Created] (CB-13738) Cordova plugin camera error
Date Mon, 08 Jan 2018 07:45:00 GMT
Adrian Jarc created CB-13738:

             Summary: Cordova plugin camera error 
                 Key: CB-13738
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-camera
         Environment: device: Samsung Galaxy XCover 4
Android v7.0
Ionic v1.7.16
Cordova v6.5.0
cordova-plugin-camera v4.0.1

platform added: 

Creating Cordova project for the Android platform:
	Android target: android-26
Subproject Path: CordovaLib
Android project created with cordova-android@6.4.0

            Reporter: Adrian Jarc
         Attachments: log.txt

In a project I am making with cordova-plugin-camera on android 7.0 I get the following error
while trying to call camera: android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/
exposed beyond app through ClipData.Item.getUri(). The application has rights to access file
storage and camera but once camera is being called nothing happens and android monitor catches
this error (full log found in attached file log.txt)

Problem doesn't happen if do 'ionic run android' but once I upload and install apk build with
ionic build android this problem starts appearing.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message