UNPKG

react-native-rn-in-app-update

Version:

A minimal React Native module that displays the native Android in-app update popup using the Play Core library. Supports both immediate and flexible update types.

12 lines (10 loc) 287 B
export type UpdateType = 'immediate' | 'flexible'; export type UpdateInfo = { updateAvailability: number; immediateAllowed: boolean; flexibleAllowed: boolean; versionCode: number; clientVersionStalenessDays?: number; totalBytesToDownload: number; packageName?: string; };