react-native-env-checker
v1.0.1
Published
Detect if the current build is a TestFlight (iOS) or Internal Test (Android) build
Downloads
12
Maintainers
Readme
react-native-env-checker
React Native uygulamanızın TestFlight (iOS) veya Beta/Staging (Android) ortamında çalışıp çalışmadığını tespit eder.
Kurulum
npm install react-native-env-checker
cd ios && pod installKullanım
import { checkEnvironment } from 'react-native-env-checker';
checkEnvironment().then((env) => {
console.log('Çalıştığı ortam:', env);
});Dönen değerler:
"testflight"→ iOS TestFlight"beta"→ Android Beta"staging"→ Android Staging"prod"→ Production
