You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Adrian Jarc (JIRA)" <ji...@apache.org> on 2018/01/08 07:45:00 UTC

[jira] [Created] (CB-13738) Cordova plugin camera error

Adrian Jarc created CB-13738:
--------------------------------

             Summary: Cordova plugin camera error 
                 Key: CB-13738
                 URL: https://issues.apache.org/jira/browse/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/com.comland.mightyfields.eg/cache/.Pic.jpg 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
(v6.4.14#64029)

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