mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-08 12:55:13 +08:00
v10.10.0
This commit is contained in:
@@ -14,6 +14,7 @@ export const defaultContext = {
|
||||
downloadUpdate: asyncNoop,
|
||||
downloadAndInstallApk: asyncNoop,
|
||||
getCurrentVersionInfo: () => Promise.resolve({}),
|
||||
parseTestPayload: () => Promise.resolve(false),
|
||||
currentHash: '',
|
||||
packageVersion: '',
|
||||
};
|
||||
@@ -31,6 +32,7 @@ export const PushyContext = createContext<{
|
||||
description?: string;
|
||||
metaInfo?: string;
|
||||
}>;
|
||||
parseTestPayload: (code: string) => Promise<boolean>;
|
||||
currentHash: string;
|
||||
packageVersion: string;
|
||||
client?: Pushy;
|
||||
|
Reference in New Issue
Block a user