UNPKG

expo-updates

Version:

Fetches and manages remotely-hosted assets and updates to your app's JS bundle.

12 lines (10 loc) 236 B
import { Platform } from 'expo-modules-core'; export default { get name(): string { return 'ExpoUpdates'; }, async reload(): Promise<void> { if (!Platform.isDOMAvailable) return; window.location.reload(true); }, };