Closed

Load JSON file dynamically - React Native

I'm a react-native developer, and now I faced a serious problem for my project. This is quite urgent and needs exact solution. So if you're not an expert on this then don't waste your time.

BACKGROUND

I have thousands of JSON files as .txt and only one JSON file should be loaded dynamically when the user clicked that book.

I tried to use require(), but as you know it works only with the static path.

I declared thousands of file path by dynamic like this in one js file.

export var FILE_PATH = {

book1: {

'a': 'data/bible/AAA_%[login to view URL]',

'b': 'data/bible/BBB_%[login to view URL]',

'c': 'data/bible/CCC_%[login to view URL]',

...

},

book2: {

...

}

...

}

'%s' should be replaced with the right string depends on which book was clicked by the user.

Please send me the proposal with your plan to solve this, or alternative ways to handle this one. I'm open to discussion and will hire the right candidate who bring me the right solution.

Looking forward to work with you on this one.

Cheers

Skills: Javascript

See more: extjs edit delete load json, load flash images dynamically database web page, jquery select load json file, load flv url dynamically player php, load picture flash dynamically, jquery tabs load json, substitute values html file dynamically, php load json parse, load wordpress tinymce dynamically, load xml file dynamically radgrid, xcode load json data core data, load user control dynamically dll wpf, google maps load json data move, load json file php, i need to load json, react native, react-native, write a react native mobile app for android and iphone

About the Employer:
( 0 reviews ) China

Project ID: #18176599

18 freelancers are bidding on average $440 for this job

randallschmidt

Hello, This should be fairly simple using a require context. See here: [login to view URL] You may be able to do it yourself, but if not, I can do it for you :) More

$250 USD in 2 days
(3 Reviews)
4.6
kypergio

Hi, this could be handle in a server solution I think. If your app would be in a host I could create an "API" with those files and you could request it to get the json info in JSON format in a request. What do you t More

$250 USD in 0 days
(22 Reviews)
4.4
stanislav103

Hi, there. I am happy to apply in your project. Your project is interesting to me. I am an experienced senior JavaScript expert and very familiar with React and React Native. If you want to review me, you can go th More

$555 USD in 10 days
(13 Reviews)
4.4
superbpartner

Hi,dear. I've just checked all requirements of your project 'Load JSON file dynamically - React Native'. I'm a senior software developer and I'm able to fulfill your project requirements ,you may be interested in me. P More

$555 USD in 3 days
(9 Reviews)
4.2
saravanan081990

hi, I saw your project description and I have faced same problem and I solve it. can we connect and fix this issue

$250 USD in 1 day
(5 Reviews)
2.9
lntrx

Hello there, I can help you. I won't waste your time. It has a really simple trick. We can discuss details over the chat. You don't have to use require

$250 USD in 1 day
(1 Review)
2.5
oneginaalyona

Hey, I'm interested in your project. Please send me a message so that we can discuss more. I have 5+ years experience in IT i am trying my best to be a successful developer that finish any jobs on budget, on time me More

$500 USD in 10 days
(2 Reviews)
2.0
syncwellpvt

Hello sir, [login to view URL] We have expert team working all platform to develop android and ios application and website development and also develop all things. We are working on More

$555 USD in 4 days
(6 Reviews)
1.9
peterlazar

Hi there, I am Peter and I have been working with react native for close to 2 years now. I have some questions for you, - are all the json files going to be bundled with the app? - if all the json files are bundl More

$388 USD in 10 days
(1 Review)
1.1
priezz

I know the exact solution for you issue, I had similar in one of the projects I have worked on. So there is nothing to invent here, just re-use the known pattern.

$444 USD in 1 day
(0 Reviews)
0.0
ropalchenov

Greetings, My name is Rudi from Bulgaria and I am the creator of few apps including book reader : [login to view URL] I had performance issues previously and my solution is More

$500 USD in 7 days
(0 Reviews)
0.0
chinloongtan

Hi, I am chinloong and I am specialized in React Native development. For your case, there are a couple of options to go with, read the file with native filesystem or use local database (like Realm). Either c More

$250 USD in 1 day
(0 Reviews)
0.0
arcsoft16

"Hi, Hope you are doing well! Thanks for sharing your project requirement with us. It will be our great pleasure to work on your project. I have checked your requirement, yes we can do it, because we already work on si More

$616 USD in 7 days
(0 Reviews)
0.0
sankarborofl

Currently I work as a React native developer at a company. Previously I have worked with JSON as my database. So I have much experience in working with json files and this is why you may need me.

$555 USD in 10 days
(0 Reviews)
0.0
nikhilcoolstuff

Hi , I am an experienced React native developer and I can help you in solving your exact problem . I had faced similar issue when i need to map static .png files and .mp3 files with flatlist single item object . More

$444 USD in 10 days
(0 Reviews)
0.0
domaxy111

Dear Employer, We are ready to start your work right now. Me and my team is ready to complete your work with a quality work. I am capable to do this project. we have 6+ year experience in IT Industry. We have alread More

$500 USD in 10 days
(0 Reviews)
0.0
BestPartner4You

hello,there. I have read all your requirements for 'Load JSON file dynamically - React Native' and I fully understood it. I am confident and I am sure that I am able to finish this project. Please come in contact with More

$555 USD in 3 days
(0 Reviews)
0.0
DevStar925

How are you? I read your description. I am C++/C#/Java/Python programming Expert. I can finish your project quickly with best quality. I want to discuss more on chat. Thank you for your time.

$500 USD in 10 days
(0 Reviews)
0.0