expo-dev-launcher
Version:
Pre-release version of the Expo development launcher package for testing.
16 lines • 605 B
JavaScript
import { NativeModules } from 'react-native';
import './setUpErrorHandler.fx';
export { disableErrorHandling } from './DevLauncherErrorManager';
/**
* @hidden
*/
export function registerErrorHandlers() {
console.warn('DevLauncher.registerErrorHandlers has been deprecated. To enable error handlers you need to import "expo-dev-launcher" at the top of your index.js.');
}
/**
* A method that returns a boolean to indicate if the current application is a development build.
*/
export function isDevelopmentBuild() {
return !!NativeModules.EXDevLauncher;
}
//# sourceMappingURL=DevLauncher.js.map