mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-08 00:25:14 +08:00
feat: web mock
This commit is contained in:
17
lib/index.web.js
Normal file
17
lib/index.web.js
Normal file
@@ -0,0 +1,17 @@
|
||||
export const downloadRootDir = '';
|
||||
export const packageVersion = '';
|
||||
export const currentVersion = '';
|
||||
export const isFirstTime = false;
|
||||
export const isRolledBack = false;
|
||||
|
||||
const noop = () => {};
|
||||
|
||||
export const checkUpdate = noop;
|
||||
export const downloadUpdate = noop;
|
||||
export const switchVersion = noop;
|
||||
export const switchVersionLater = noop;
|
||||
export const markSuccess = noop;
|
||||
export const downloadAndInstallApk = noop;
|
||||
export const setCustomEndpoints = noop;
|
||||
export const getCurrentVersionInfo = noop;
|
||||
export const simpleUpdate = noop;
|
Reference in New Issue
Block a user