1"use strict"; 2/** 3 * Copyright © 2023 650 Industries. 4 * 5 * This source code is licensed under the MIT license found in the 6 * LICENSE file in the root directory of this source tree. 7 */ 8var __importDefault = (this && this.__importDefault) || function (mod) { 9 return (mod && mod.__esModule) ? mod : { "default": mod }; 10}; 11Object.defineProperty(exports, "__esModule", { value: true }); 12const SyntheticPlatformEmitter_1 = __importDefault(require("expo-modules-core/build/SyntheticPlatformEmitter")); 13// Ensure events are sent so custom Fast Refresh views are shown. 14function showMessage(message, type) { 15 SyntheticPlatformEmitter_1.default.emit('devLoadingView:showMessage', { 16 message, 17 }); 18} 19function hide() { 20 SyntheticPlatformEmitter_1.default.emit('devLoadingView:hide', {}); 21} 22exports.default = { 23 showMessage, 24 hide, 25}; 26//# sourceMappingURL=LoadingView.js.map