Uploading images in Cloudinary with Expo

#1

Hello,

I would like to know if it is possible to use the node Cloudinary’s client library with Expo ? I know that it is possible to use Cloudinary’s APIs directly within my own custom code, but according to the Cloudinary doc it is simpler (and recommended) to use one of Cloudinary’s client libraries.

#2

I found this library which looks really simple : https://www.npmjs.com/package/react-native-cloudinary

Compatibility with expo is allowed ?

#3

Hey @softhib,

In order to use that library, you would have to detach and use ExpoKit.

Here are the docs: https://docs.expo.io/versions/latest/guides/detach.html

A good rule of thumb is that if you have to run react-native link you will have to detach and use ExpoKit to use the library.

Cheers,

Adam

#4

I did it by sending http requests to the Cloudinary API with axios.

Thanks.

closed #5

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.