Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+10 votes

I want to load a file into react native to grab a value for a variable. I have found other's loading html files into views, but I have not been able to find good articles on how to load an html file with a variable so I can load it into my program.

Just for a little context, I want to store my API key for my firebase in a separate file so I can add it to my gitignore.

closed with the note: It was a duplicate of my old question, but didn't get a full answer to. Now going back I can better phrase the question.
asked in CSC490_Spring202021 by (8 points)
closed by

Oh haha, in the chaos and bruises of the individual project, I posted this as a what would I do if I was going to do this and didn't implement a solution since we submitted our projects. But now I will go back and look at those solutions, specifically that stack overflow link you posted. Thanks and sorry for the duplicate. I will keep this open though if that solution doesn't work, but if it does I will close this question.