File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ else if( mediaType == MEDIA_TYPE_VIDEO )
160160
{
161161
try
162162
{
163-
if( NativeGalleryUtils.WriteFileToStream( originalFile, context.getContentResolver().openOutputStream( uri ) ) )
163+
if( NativeGalleryUtils.WriteFileToStream( originalFile, context.getContentResolver().openOutputStream( uri, "rwt" ) ) )
164164
{
165165
values.put( MediaStore.MediaColumns.IS_PENDING, false );
166166
context.getContentResolver().update( uri, values, null, null );
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
= Native Gallery for Android & iOS (v1.9.0) =
1+
= Native Gallery for Android & iOS (v1.9.1) =
22

33
Documentation: https://.com/yasirkula/UnityNativeGallery
44
FAQ: https://.com/yasirkula/UnityNativeGallery#faq
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.yasirkula.nativegallery",
33
"displayName": "Native Gallery",
4-
"version": "1.9.0",
4+
"version": "1.9.1",
55
"documentationUrl": "https://.com/yasirkula/UnityNativeGallery",
66
"changelogUrl": "https://.com/yasirkula/UnityNativeGallery/releases",
77
"licensesUrl": "https://.com/yasirkula/UnityNativeGallery/blob/master/LICENSE.txt",

0 commit comments

Comments
 (0)