Skip to content

docs: media store typo #195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ react-native-blob-util version 0.10.16 and up is only compatible with react nati

## Features

- Access and write data to Android MedaiaStore (e.g. Downloads folder on devices > Android 9)
- Access and write data to Android Media Store (e.g. Downloads folder on devices > Android 9)
- Transfer data directly from/to storage without BASE64 bridging
- File API supports regular files, Asset files, and CameraRoll files
- Native-to-native file manipulation API, reduce JS bridging performance loss
Expand Down Expand Up @@ -971,7 +971,7 @@ After `0.8.0` we've made some [Web API polyfills](https://github.com/RonRadtke/r

## Setting A File Transformer

Setting a file transformer will allow you to specify how data should be transformed whenever the library is writing into storage or reading from storage. A use case for this is if you want the files handled by this library to be encrypted.
Setting a file transformer will allow you to specify how data should be transformed whenever the library is writing into storage or reading from storage. A use case for this is if you want the files handled by this library to be encrypted.

If you want to use a file transformer, you must implement an interface defined in:

Expand All @@ -988,7 +988,7 @@ public class MainApplication extends Application implements ReactApplication {
@Override
public void onCreate() {
...
ReactNativeBlobUtilFileTransformer.sharedFileTransformer = new MyCustomEncryptor();
ReactNativeBlobUtilFileTransformer.sharedFileTransformer = new MyCustomEncryptor();
...
}
```
Expand All @@ -1005,8 +1005,8 @@ iOS:
}
```

Here are the places where the transformer would apply
- Reading a file from the file system
Here are the places where the transformer would apply
- Reading a file from the file system
- Writing a file into the file system
- Http response is downloaded to storage directly

Expand Down