# React Native Example - Profile Image Upload

**URL:** <https://community.sendbird.com/t/react-native-example-profile-image-upload/3040>\
**Category:** JavaScript\
**Tags:** react-js\
**Created:** [September 9, 2021, 3:43pm UTC](https://community.sendbird.com/t/react-native-example-profile-image-upload/3040 "2021-09-09T15:43:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [September 9, 2021, 7:46pm UTC](https://community.sendbird.com/t/react-native-example-profile-image-upload/3040/2 "2021-09-09T19:46:10Z")

</div>

Hey @fullStackChris,

The example I provided you in our last conversation was tested on Android.

> [@Incorrect Mimetype for profile\_file Upload - JavaScript SDK](https://community.sendbird.com/t/incorrect-mimetype-for-profile-file-upload-javascript-sdk/3019/6):
>
> Hi Chris, I’m a bit confused. In your original post, you were using the file API via const file = new File([blob], sendbirdId, {type: mimeType}); Are we moving away from that now? In terms of what you’re currently sending with your new image picker, it looks like you’re sending an object that we don’t expect and thus can’t process it. Taking a look at our [ReactNative sample](https://github.com/sendbird/SendBird-JavaScript/blob/master/react-native-hook-sample/Sendbird/src/page/chat.js), I converted the method that we use to send a fileMessage to achieve what you’re looking for, and that code looks like: …

---

_[View the full topic](https://community.sendbird.com/t/react-native-example-profile-image-upload/3040)._
