1import { env } from '../utils/env'; 2 3/** Get the URL for the expo.dev API. */ 4export function getExpoApiBaseUrl(): string { 5 if (env.EXPO_STAGING) { 6 return `https://staging-api.expo.dev`; 7 } else if (env.EXPO_LOCAL) { 8 return `http://127.0.0.1:3000`; 9 } else { 10 return `https://api.expo.dev`; 11 } 12} 13