I am using a json file to map out screens on my project. This reduces 50+ screens down to 6. This works fine when I have the json file saved in Firebase but I would like to have this parsed/worked with locally in app.
The issue is to do with the key. I am unsure how to change the key value locally whenever the screen opens.
I can achieve what I want using Firebase, as I just change the key input by joining the previous key, a forward slash and the new object name (originalObject --> originalObject/newObject), but I can’t seem to do the same with a variable that contains the json file locally.
Maybe I’ve missed something. Could I use the join block with “/” like in Firebase, or is this specific to Firebase as it saves different objects under a “/” in the url.