1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-11-01 13:53:11 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

v10.6.0-beta.0

This commit is contained in:
sunnylqm
2024-06-11 10:44:18 +08:00
parent 6244bb9af2
commit e63fa0fdb6
7 changed files with 48 additions and 23 deletions

View File

@@ -18,7 +18,7 @@ const defaultServer = {
main: 'https://update.react-native.cn/api',
backups: ['https://update.reactnative.cn/api'],
queryUrl:
'https://raw.githubusercontent.com/reactnativecn/react-native-pushy/master/endpoints.json',
'https://cdn.jsdelivr.net/gh/reactnativecn/react-native-pushy@master/endpoints.json',
};
const empty = {};
@@ -33,8 +33,8 @@ export class Pushy {
appKey: '',
server: defaultServer,
autoMarkSuccess: true,
useAlert: true,
strategy: 'both',
updateStrategy: 'alwaysAsk',
checkStrategy: 'both',
logger: noop,
debug: false,
};