Load JSON file dynamically - React Native

Lezárva Kiadva: 5 évvel ezelőtt Kiszállításkor fizetve
Lezárva Kiszállításkor fizetve

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

JavaScript

Projektazonosító: #18176599

A projektről

15 ajánlat Távolról teljesíthető projekt Utoljára aktív: 5 évvel ezelőtt

15 szabadúszó tett átlagosan 416$ összegű árajánlatot erre a munkára

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 10 napon belül
(6 vélemény)
5.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 Továbbiak

$250 USD 0 napon belül
(29 vélemény)
4.9
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 Továbbiak

$555 USD 3 napon belül
(10 vélemény)
4.5
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 1 napon belül
(5 vélemény)
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 1 napon belül
(1 Visszajelzés)
2.5
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 Továbbiak

$388 USD 10 napon belül
(1 Visszajelzés)
1.1
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 Továbbiak

$500 USD 10 napon belül
(0 vélemény)
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 . Továbbiak

$444 USD 10 napon belül
(0 vélemény)
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 10 napon belül
(0 vélemény)
0.0
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 1 napon belül
(0 vélemény)
0.0