UNPKG

expo-updates

Version:

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

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