I am creating a react-native app and one of the components I have created contains a property which is populated through data coming from an http request.
Right now
import Constants from "expo-constants"; const { manifest } = Constants; const uri = `http://${manifest.debuggerHost.split(':').shift()}:4000`;