Skip to content

DeepRolling/aliyun-oss-react-native-fix-wrapper

Repository files navigation

aliyun-oss-react-native-fix-wrapper

Offer addition functionality to operate images in aliyun cloud base on aliyun-oss-react-native-fix-further

Installation

npm install aliyun-oss-react-native-fix-wrapper

Usage

import {uploadImagesToAliCloud} from "aliyun-oss-react-native-fix-wrapper";

// ...

const uploadedImageNames = await uploadImagesToAliCloud(
  [
    {
      name: '1.png',
      path: 'yourPath',
    },
    {
      name: '2.png',
      path: 'yourPath',
    },
  ],
  {
    AccessKeyId: 'YourAccessKeyId',
    AccessKeySecret: 'YourAccessKeySecret',
    SecurityToken: 'YourSecurityToken',
    bucketName: 'YourBucketName',
    endpoint: 'YourEndpoint',
    folder: 'YourFolder',
  }
);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

offer addition functionality to operate images in aliyun cloud base on aliyun-oss-react-native-fix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published