1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-09 03:55:15 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2023-10-28 17:23:03 +08:00
parent 9240c3db23
commit e192964185
11 changed files with 4101 additions and 276 deletions

9
lib/utils.ts Normal file
View File

@@ -0,0 +1,9 @@
export function logger(...args: any[]) {
console.log('Pushy: ', ...args);
}
export function assertRelease() {
if (__DEV__) {
throw new Error('react-native-update 只能在 RELEASE 版本中运行.');
}
}