A simple expo module to check if the app is running on TestFlight
npm install expo-testflightA simple expo module to check if the app is running on TestFlight
``bash`
yarn add expo-testflight
`bash`
npx expo prebuild
`tsx
import { isTestFlight } from 'expo-testflight';
if (isTestFlight) {
console.log('Running on TestFlight');
} else {
console.log('Not running on TestFlight');
}
``