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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org