cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubén Panadero (JIRA) <j...@apache.org>
Subject [jira] [Updated] (CB-13781) Error requesting permission on Android 8 - Save on photo album issue
Date Mon, 15 Jan 2018 12:04:00 GMT

     [ https://issues.apache.org/jira/browse/CB-13781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rubén Panadero updated CB-13781:
--------------------------------
    Summary: Error requesting permission on Android 8 - Save on photo album issue  (was: Error
requesting permission on Android 8)

> Error requesting permission on Android 8 - Save on photo album issue
> --------------------------------------------------------------------
>
>                 Key: CB-13781
>                 URL: https://issues.apache.org/jira/browse/CB-13781
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-camera
>            Reporter: Rubén Panadero
>            Priority: Critical
>
> Google has changed how an android application must request permissions on Android 8.
In fact, it is considered as fix by Google due to a wrong behavior on previous versions.
> Related documentation:
> https://developer.android.com/about/versions/oreo/android-8.0-changes.html#rmp
> This change made by Google has affected the cordova-camera-plugin. To save a photo in
Photo Album, the plugin just requests the READ_EXTERNAL_STORAGE permission right now, but
that is not enough on Android 8 because the plugin writes the photo file into Pictures folder
so it has to request the writing permission, which is missing, as well.
> To sum up, if the plugin has to save a photo in the photo album, this one has to request
both READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message