Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/talaikis/rn-aws-s3
https://github.com/talaikis/rn-aws-s3
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/talaikis/rn-aws-s3
- Owner: talaikis
- License: mit
- Created: 2024-12-07T10:35:53.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-07T18:28:59.000Z (about 1 month ago)
- Last Synced: 2024-12-07T19:24:11.873Z (about 1 month ago)
- Language: Kotlin
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# rn-aws-s3
React Native AWS S3 client (some utils)
## Installation
```sh
yarn add rn-aws-s3
```Build dependency:
```
implementation(platform("software.amazon.awssdk:bom:2.27.21"))
```Build fixes, if required:
```
packagingOptions {
exclude "META-INF/DEPENDENCIES"
exclude "META-INF/LICENSE"
exclude "META-INF/LICENSE.txt"
exclude "META-INF/license.txt"
exclude "META-INF/NOTICE"
exclude "META-INF/NOTICE.txt"
exclude "META-INF/notice.txt"
exclude "META-INF/ASL2.0"
exclude "META-INF/INDEX.LIST"
pickFirst "META-INF/io.netty.versions.properties"
}
```Proguard rules
```
-keep class org.apache.commons.logging.** { *; }
-keep class com.amazonaws.services.sqs.QueueUrlHandler { *; }
-keep class com.amazonaws.javax.xml.transform.sax.* { public *; }
-keep class com.amazonaws.javax.xml.stream.** { *; }
-keep class com.amazonaws.services.**.model.*Exception* { *; }
-keep class org.codehaus.** { *; }
-keepattributes Signature,*Annotation*
```## Usage
```js
import { putObject } from 'rn-aws-s3';
await putObject({ filePath, bucketName, fileKey, region, accessKey, secretKey })
```## Contributing
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
## License
MIT
---
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)