Member-only story
Utilising React Native Blob Util to Upload Images in React Native : Uploading an Image to Cloudinary.
Gautham Vijayan | Lead React Native Developer
Big Tech Apps like Whatsapp, Instagram and X (Twitter) have people frequently posting their pics to communicate rather than long form texts. So in order to integrate this feature in your React Native application you would need top class Storage Services like Cloudinary, ImageKit, Cloudflare etc to store and serve them in a cost effective way.
We can use Firebase Storage’s official React Native library by Invertase to upload images to Google Cloud/Firebase Storage buckets but what if we want to upload to the above mentioned external image service providers?
As I did not find any proper solutions to this in the Internet for uploading to these providers, I decided to create a series of blog posts which will help you include them in your React Native application.
Using Axios to upload binary files like Photos and Videos in React Native may cause unnecessary issues during the file upload in your React Native app. So to properly utilise native modules of both Android & iOS during upload, we can use a library called React Native Blob Util which supports background uploads in iOS + notification powered background uploads in Android.