React native expo 2
82 USDЗдравствуйте!Нужно доработать одну страницу. Не работает отправка файла на сервер. Все отправляется на сервер кроме файла(фото) на сервер. Все коды и апи предоставлю. Ну и можно немного подправить коды на одной странице в приложении.
Applications 1
-
Здравствуйте, в каком формате сервер принимает файл??? Это form data или base64?
-
Formdata. bynary array
uri,
type: mime.getType(uri),
name: name || `attachment.${uri.split(".").pop()}`
-
получается есть FileList array [{uri, type, name},...]
-
не важно как мы получим фотку (из камеры или из галереи) не важно какие параметры главное что у нас в response.uri будет ссылка на фотку.
дальше нужно описать что то типа:
const _Photo = async image => {try {
const formData = new FormData()
formData.append('image', image)
} catch (error) {
console.log(error)
}
}
это наша FormData - просто сформированая и готовая к отправке.
const _sendImage = image => {
return async dispatch => {
try {
const { data } = await axios.post('/image', image)
} catch (error) {
console.log(error)}
}
}
дальше уже дело за бекендом -
Дело в том что у меня к сожалению нету доступа к серверу. Код они не отправляют. Это делает отдельная команда, но когда я отправляю запрос через swagger предоставленный ими все работает и файл прикрепляется. А вот с мобильного приложения на react native никак не получается этого сделать.
-
Current freelance projects in the category Hybrid Mobile Apps
I will commission the improvement of my application's integration with Tpay.
138 USD
I am looking for someone to integrate the Tpay payment gateway with my custom application. The goal is to correctly implement it so that the subscription renews automatically through recurring BLIK payments. The integration is largely done by me, but I got stuck at one point… Hybrid Mobile Apps, App Development for Android ∙ 2 days 15 hours back ∙ 12 proposals |
Development of a mobile application based on an existing online store
564 USD
It is necessary to develop a mobile application (iOS & Android) based on an already functioning online store. The website remains, and the application operates on the same infrastructure. The application must use: — the same products — the same payment methods — the same… Hybrid Mobile Apps ∙ 5 days 20 hours back ∙ 47 proposals |
Need help with registering a WhatsApp Business Account with Meta for a mobile application.
16 USD
We are developing a children's mobile application. One of the features of the application is the automatic sending of messages to the child's parents via WhatsApp to the phone number they provide during registration. To implement this feature, it is necessary to connect an… Hybrid Mobile Apps, Software & Server Configuration ∙ 11 days back ∙ 6 proposals |
Development of an AI application for generating clothing photos (FlutterFlow + AI API)
609 USD
We are looking for an experienced FlutterFlow developer to implement an MVP for a virtual clothing fitting service for e-commerce. The product automates the creation of professional product cards: the user uploads a photo of clothing from a mannequin/hanger, and AI generates a… Hybrid Mobile Apps, App Development for Android ∙ 13 days 15 hours back ∙ 26 proposals |
Connect the web application to the stationary QR scanner.It is a web application for food accounting. Scanning QR codes is implemented using the phone's camera. The application needs to be connected to a QR scanner that will be stationary. There should also be a display to view the result when scanning. The QR scanner is not… Hybrid Mobile Apps ∙ 13 days 20 hours back ∙ 15 proposals |