0.2.7 • Published 3 years ago

react-native-cloudinary-sdk v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years 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

3 years ago

0.2.6

3 years ago

0.2.3

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.0

3 years ago