mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-12-21 13:13:58 +08:00
feat: add progress
This commit is contained in:
@@ -12,6 +12,7 @@ export const defaultContext = {
|
||||
markSuccess: noop,
|
||||
dismissError: noop,
|
||||
downloadUpdate: noop,
|
||||
downloadAndInstallApk: noop,
|
||||
currentHash: '',
|
||||
packageVersion: '',
|
||||
};
|
||||
@@ -23,6 +24,7 @@ export const PushyContext = createContext<{
|
||||
markSuccess: () => void;
|
||||
dismissError: () => void;
|
||||
downloadUpdate: () => void;
|
||||
downloadAndInstallApk: (url: string) => void;
|
||||
currentHash: string;
|
||||
packageVersion: string;
|
||||
client?: Pushy;
|
||||
|
||||
Reference in New Issue
Block a user