react native wrapper for iOS, Android Cloudinary SDKs
npm install react-native-cloudinary-sdk
# or with yarn
yarn add react-native-cloudinary-sdk
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);
}
);
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library