0.2.7 • Published 1 year ago

react-native-cloudinary-sdk v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-cloudinary-sdk

react native wrapper for iOS, Android Cloudinary SDKs

Installation

npm install react-native-cloudinary-sdk
# or with yarn
yarn add react-native-cloudinary-sdk

Usage

import * as Cloudinary from 'react-native-cloudinary-sdk';

// ...
const Config = {
  cloud_name: 'your-cloud-name',
  secure: true,
  presetName: 'your-preset-name',
}
Cloudinary.setup(Config);
// ...

const uploaded_url = await Cloudinary.upload(
  {
    url,
    type,
    params: {
      preset_name: Config.presetName,
    },
  },
  (data) => {
    console.warn('onProgress - ', data.progress);
  }
);

Contributing

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

License

MIT


Made with create-react-native-library

0.2.7

1 year ago

0.2.6

1 year ago

0.2.3

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.2

2 years ago

0.2.0

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.0

2 years ago