When using the plugin I am getting the following error: file:///storage/emulated/0/Pictures/PhotoEditor/IMG_20191223_153736 exposed beyond app through ClipData.Item.getUri() (or see screenshot below).
It seems that newer Android versions can't handle something properly (https://stackoverflow.com/questions/48117511/exposed-beyond-app-through-clipdata-item-geturi).
I am having Android version 9 (see screenshot below)
Any ideas on how to solve this one without have this module to get an update?
Hi Bart Nooijens,
I reviewed the repo used for this plugin & unfortunately the Plugin will not be compatible with the latest Android legacy.
Git Repo Android Code :
https://github.com/agoncalvesos/image-editor-plugin/blob/master/src/android/FileUtils.java
The only solution would be that this need's to be changed with the latest API i.e relative-path.
Solution :
https://stackoverflow.com/questions/56468539/getexternalstoragepublicdirectory-deprecated-in-android-q
I would request the owner of this plugin to update the description & highlight the supported/compatible version of Android-iOS for this plugin.
Hope it helps,
assif_tiger
Hi assif_tiger,
Thank you for clarifying the problem. My Android native coding is not the best, but maybe I can try to fork the repo and see what I can do.
Bart Nooijens wrote:
Good Luck :)
Hey!
Sorry for the late response. I'll try to fix the issue ASAP.
Thanks Bart Nooijens and assif_tiger for helping developing this component!
I'll let you know when I have a fix.
Thanks!
André Gonçalves wrote:
Good Luck*
Will be happy to assist you for any :)
Hi André,
Any news on this? I would be very happy to use this plugin since I am now using the Sketch plugin that is also on the forge. The Sketch plugin has some cons and would like to use a more future proof module :)