jamesmontemagno / Xamarin.Plugins

Cross-platform Native API Access from Shared Code!
MIT License
1.3k stars 380 forks source link

TakeVideoAsync is deleting other photos and videos on S7 running android 6.0.1 #305

Closed garybettman closed 8 years ago

garybettman commented 8 years ago

Please take a moment to fill out the following (change to preview to check or place x in []):

This is a

Which plugin does this impact:

Version Number of Plugin: 2.3.0 Device Tested On: S7 running android 6.0.1 Simulator Tested On:

Expected Behavior

When using TakeVideoAsync it should be creating a new video file

Actual Behavior

It is not creating a new file and is actually deleting existing images and videos inside my camera directory. It is not deleting images in folders such as downloads. This is working fine on iOS and other android devices running older versions. I don't know if it is the S7 or android 6.0.1

Steps to reproduce the Behavior

Make sure you have multiple images and videos in the Camera's folder. If there is just one it seems to work. Create a new xamarin forms app. Create a button that when clicked fires off TakeVideoAsync . Take a video. Click ok to accept video. You will notice that an image or video has been removed from the Gallery.

jamesmontemagno commented 8 years ago

This issue was moved to jamesmontemagno/MediaPlugin#8