fabian7593 / MagicalCamera

A library to take picture easy, transform your data in different format and save photos in your device
Apache License 2.0
338 stars 90 forks source link

FileUriExposedException in Fragment #46

Closed camposvo closed 5 years ago

camposvo commented 5 years ago

Hi, i am get this error : android.os.FileUriExposedException: file://com.frosquivel.magicalcamera.Provider.PhotoProvider/storage/emulated/0/Android/data/com.example.smr.scc1/files/Pictures/MagicalCamera/MagicalCamera exposed beyond app through ClipData.Item.getUri()

I am using 'com.frosquivel:magicalcamera:6.0.0' I really apreciate your help...

fabian7593 commented 5 years ago

Hello, yeah I'm sorry, I forget to update the Readme file. You need to implements this method to works the getUri, and all library magicalcamera on any devices with any SDK's versions.

https://github.com/fabian7593/MagicalCamera/blob/master/README.md#extends-application-class

deb-anndy commented 5 years ago

Hi, the issue is still there FileUriExposedException in Activity android.os.FileUriExposedException: file://com.frosquivel.magicalcamera.Provider.PhotoProvider/storage/emulated/0/Android/data/ Device: Galaxy J7 nxt Ram/Rom: 2Gb/16Gb

I am using 6.0.0 version Also i install the Magical Camera App from play store and check ,same issue there

fabian7593 commented 5 years ago

The play store app is not update. Github project have the last project version, with the current fix