expo-updates
Version:
Fetches and manages remotely-hosted assets and updates to your app's JS bundle.
17 lines • 399 B
JavaScript
import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';
export default {
get name() {
return 'ExponentUpdates';
},
async reload() {
if (!canUseDOM)
return;
location.reload(true);
},
async reloadFromCache() {
if (!canUseDOM)
return;
location.reload(true);
},
};
//# sourceMappingURL=ExponentUpdates.web.js.map