GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fixed ExportFile not always truncating the overwritten file (fixed #61) · yasirkula/UnityNativeFilePicker@c4facf5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/AAR Source (Android)/java/com/yasirkula/unity
    • NativeFilePickerExportFragment.java
  • Plugins/NativeFilePicker
    • Android
      • NativeFilePicker.aar
    • README.txt
  • package.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/AAR Source (Android)/java/com/yasirkula/unity/NativeFilePickerExportFragment.java‎

Copy file name to clipboardExpand all lines: .github/AAR Source (Android)/java/com/yasirkula/unity/NativeFilePickerExportFragment.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private boolean ExportMultipleFilesToDirectory( ArrayList<String> files, Uri dir
128128

129129
try
130130
{
131-
result &= WriteFileToStream( file, getActivity().getContentResolver().openOutputStream( safFile.getUri() ) );
131+
result &= WriteFileToStream( file, getActivity().getContentResolver().openOutputStream( safFile.getUri(), "rwt" ) );
132132
}
133133
catch( Exception e )
134134
{
@@ -204,7 +204,7 @@ else if( files.size() == 1 )
204204
{
205205
try
206206
{
207-
result = WriteFileToStream( file, getActivity().getContentResolver().openOutputStream( data.getData() ) );
207+
result = WriteFileToStream( file, getActivity().getContentResolver().openOutputStream( data.getData(), "rwt" ) );
208208
}
209209
catch( Exception e )
210210
{
Collapse file

‎Plugins/NativeFilePicker/Android/NativeFilePicker.aar‎

Copy file name to clipboard
21 Bytes
Binary file not shown.
Collapse file

‎Plugins/NativeFilePicker/README.txt‎

Copy file name to clipboardExpand all lines: Plugins/NativeFilePicker/README.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
= Native File Picker for Android & iOS (v1.4.0) =
1+
= Native File Picker for Android & iOS (v1.4.1) =
22

33
Documentation: https://github.com/yasirkula/UnityNativeFilePicker
44
FAQ: https://github.com/yasirkula/UnityNativeFilePicker#faq
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.yasirkula.nativefilepicker",
33
"displayName": "Native File Picker",
4-
"version": "1.4.0",
4+
"version": "1.4.1",
55
"documentationUrl": "https://github.com/yasirkula/UnityNativeFilePicker",
66
"changelogUrl": "https://github.com/yasirkula/UnityNativeFilePicker/releases",
77
"licensesUrl": "https://github.com/yasirkula/UnityNativeFilePicker/blob/master/LICENSE.txt",

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.