Skip to content

Commit fa85f08

Browse files
authored
build: version 3.3.4 tagged (#86)
1 parent c3caf15 commit fa85f08

File tree

8 files changed

+1259
-1088
lines changed

8 files changed

+1259
-1088
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
# v3.3.4 (June 6, 2025)
4+
* [#85](https://github.com/sourcetoad/react-native-fs2/pull/85) - Upgrade example app to RN 79.
5+
* [#84](https://github.com/sourcetoad/react-native-fs2/pull/84) - MediaStore improvements with IS_PENDING flag for Android 29+.
6+
37
# v3.3.3 (April 16, 2025)
48
* [#82](https://github.com/sourcetoad/react-native-fs2/pull/82) - Move to `try-with-resources` to close streams.
59

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ if (await RNFS.isResumable('JobID')) {
262262
RNFS.resumeDownload('JobID')
263263
}
264264
```
265-
* Check if the the download job with this ID is resumable.
265+
* Check if the download job with this ID is resumable.
266266

267267
### `touch`
268268
```ts
@@ -278,13 +278,13 @@ await RNFS.scanFile('FilePath', Date, Date)
278278
```
279279
* Scan the file using [Media Scanner](https://developer.android.com/reference/android/media/MediaScannerConnection).
280280

281-
# MediaStore
282-
283-
### RNFS2 can now interact with the MediaStore on Android. This allows you to add, delete, and update media files in the MediaStore.
281+
----
284282

285-
### Inspiration for this feature came from [react-native-blob-util](https://github.com/RonRadtke/react-native-blob-util/wiki/MediaStore/)
283+
# MediaStore
284+
_RNFS2 can now interact with the MediaStore on Android. This allows you to add, delete, and update media files in the MediaStore._
286285

287-
### This feature is only available on Android targeting API 29 or higher. And may require the following permissions:
286+
* Inspiration for this feature came from [react-native-blob-util](https://github.com/RonRadtke/react-native-blob-util/wiki/MediaStore/)
287+
* This feature is only available on Android targeting API 29 or higher. And may require the following permissions:
288288

289289
```xml
290290
<!-- Required only if your app needs to access images or photos that other apps created. -->
@@ -385,26 +385,26 @@ await RNFS.MediaStore.deleteFromMediaStore('content://media/external/images/medi
385385

386386
## FileDescriptor
387387
```ts
388-
type FileDescriptor = {
389-
name: string;
390-
parentFolder: string;
391-
mimeType: string
388+
type FileDescriptor = {
389+
name: string;
390+
parentFolder: string;
391+
mimeType: string
392392
};
393393
```
394394

395395
## MediaStoreSearchOptions
396396
```ts
397-
type MediaStoreSearchOptions = {
398-
uri: string;
399-
fileName: string;
400-
relativePath: string;
401-
mediaType: MediaCollections
397+
type MediaStoreSearchOptions = {
398+
uri: string;
399+
fileName: string;
400+
relativePath: string;
401+
mediaType: MediaCollections
402402
};
403403
```
404404

405405
## MediaStoreQueryResult
406406
```ts
407-
type MediaStoreQueryResult = {
407+
type MediaStoreQueryResult = {
408408
contentUri: string;
409409
};
410410
```

example/Gemfile.lock

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ GEM
1717
json (>= 1.5.1)
1818
atomos (0.1.3)
1919
base64 (0.2.0)
20+
benchmark (0.4.0)
21+
bigdecimal (3.1.9)
2022
claide (1.1.0)
2123
cocoapods (1.14.3)
2224
addressable (~> 2.8)
@@ -70,8 +72,10 @@ GEM
7072
i18n (1.14.5)
7173
concurrent-ruby (~> 1.0)
7274
json (2.7.2)
75+
logger (1.7.0)
7376
minitest (5.24.1)
7477
molinillo (0.8.0)
78+
mutex_m (0.3.0)
7579
nanaimo (0.3.0)
7680
nap (1.1.0)
7781
netrc (0.11.0)
@@ -97,8 +101,14 @@ PLATFORMS
97101
x86_64-linux
98102

99103
DEPENDENCIES
100-
activesupport (>= 6.1.7.5, < 7.1.0)
101-
cocoapods (>= 1.13, < 1.15)
104+
activesupport (>= 6.1.7.5, != 7.1.0)
105+
benchmark
106+
bigdecimal
107+
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
108+
concurrent-ruby (< 1.3.4)
109+
logger
110+
mutex_m
111+
xcodeproj (< 1.26.0)
102112

103113
RUBY VERSION
104114
ruby 2.7.7p221

0 commit comments

Comments
 (0)