The global scope in React Native is variable global . Such as global. foo = foo , then you can use global. foo anywhere. But do not abuse it!
Read moreHow do you set a state globally in react native?
Just wrap your app within a context provider and feed that provider with the data you want to make global:
Read more