React-native: Fix function to Save and retrieve from local storage to send data via API

Dear developer,

We need to save a data from a form in a local storage and retrieve that data in the next screen and include it in an URL for a post request.


Screen register is where the user inputs his data and we need to save it in local storage.

The next screen it show the user products and we need to pass the user id to the API in a post request.

Our app is using fetch and react-native-cli: 2.0.1

react-native: 0.63.2

We are attaching our code which is giving errors. We are getting the error in this line mainly:

fetch('[login to view URL]'+vendorId+'/products/',

When we pass the vendorId manually it works fine. There is no problem acessing the API.

You must fix that code and send it back.


Skills: React Native, RESTful API

See more: react native video local file, retrieve data from browser local storage using c#, react native load local image dynamically, react native save photo, react native sync storage, react native fetch local json file, react native read local json file, react native fcm local notification, javascript save image to local storage, cordova save image to local storage, react-native-local-mongodb tutorial, react native local database, how to parse local json file in react native, npm install react native video save, react native firebase local notification, react native fix view at bottom, react native export function, react native call function from another screen, react native local storage, react-native run on save

About the Employer:
( 8 reviews ) rio de janeiro, Brazil

Project ID: #28318963

Awarded to:


Hi,  I'm Sivakumar. I have more than 2-year experience in React-Native. If you are looking for React Native Android / iOS or Web App at a reasonable price, you are at very right gig. I always follow the best architect More

$30 USD in 1 day
(0 Reviews)

8 freelancers are bidding on average $21 for this job

(3 Reviews)

Hi I’ve just read your job posting and got good feeling because I’ve past some tasks like require skills of this project. If I progressing this job, you will have great deliveries for every milestone. You know somethi More

$30 USD in 1 day
(2 Reviews)

Happy Thanksgiving Day! I have good experienced in full-stack Development. I have considered your document in more details. I am rady to get started right away.... I have in-depth knowledge about React-Native. Your sa More

$10 USD in 1 day
(0 Reviews)

Hello, Thanks for the job invite. It’s a pleasure to meet you. I will fix your code with redux also manage code and get data in fetch api I have extensive knowledge of front-end JavaScript and browser APIs as well More

$15 USD in 2 days
(0 Reviews)

Dear employer. I have experience with React native and fetch module, i can make this work for you if you want. Hope you choose me. Best regards.

$30 USD in 7 days
(0 Reviews)

How do you do! I have been working in IT industry from last 8 years and delivered many projects successfully. Your project fit my skills and experience, so I would like to discuss with you on its details. I am availa More

$20 USD in 1 day
(0 Reviews)

I have a lot of experience with integrating API's in react native app. If you can connect, i can share my previous work and we can proceed to solve your problem within a day. Awaiting your response.

$10 USD in 1 day
(0 Reviews)