1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-31 21:33:12 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2020-09-01 10:43:50 +08:00
parent 59fcba15ee
commit a509ff8e30
4 changed files with 13 additions and 25 deletions

7
.gitignore vendored
View File

@@ -1,7 +1,6 @@
/.idea .vscode
/node_modules android/build
/android/build android/obj
/android/obj
*.iml *.iml
# OSX # OSX

View File

@@ -1,11 +1,11 @@
/.idea .babelrc
/.babelrc .npmignore
/.npmignore .eslintrc
/.eslintrc .nvmrc
/.nvmrc .travis.yml
/.travis.yml Example
/Example android/build
/android/build .vscode
# OSX # OSX
# #
@@ -45,4 +45,5 @@ Example
yarn.lock yarn.lock
android/jni android/jni
domains.json domains.json
endpoints.json

View File

@@ -22,7 +22,6 @@
// //
static NSString *const keyPushyInfo = @"REACTNATIVECN_PUSHY_INFO_KEY"; static NSString *const keyPushyInfo = @"REACTNATIVECN_PUSHY_INFO_KEY";
static NSString *const keyPushyInfo = @"REACTNATIVECN_PUSHY_INFO_KEY";
static NSString *const paramPackageVersion = @"packageVersion"; static NSString *const paramPackageVersion = @"packageVersion";
static NSString *const paramLastVersion = @"lastVersion"; static NSString *const paramLastVersion = @"lastVersion";
static NSString *const paramCurrentVersion = @"currentVersion"; static NSString *const paramCurrentVersion = @"currentVersion";

View File

@@ -79,17 +79,6 @@ export async function checkUpdate(APPKEY, isRetry) {
} }
let resp; let resp;
try { try {
console.warn({
packageVersion,
hash: currentVersion,
buildTime,
cInfo: {
pushy: require('../package.json').version,
rn: RNVersion,
os: Platform.OS + ' ' + Platform.Version,
uuid,
},
});
resp = await fetch(getCheckUrl(APPKEY), { resp = await fetch(getCheckUrl(APPKEY), {
method: 'POST', method: 'POST',
headers: { headers: {