1
0
Code Issues Pull Requests 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
/node_modules
/android/build
/android/obj
.vscode
android/build
android/obj
*.iml
# OSX

View File

@ -1,11 +1,11 @@
/.idea
/.babelrc
/.npmignore
/.eslintrc
/.nvmrc
/.travis.yml
/Example
/android/build
.babelrc
.npmignore
.eslintrc
.nvmrc
.travis.yml
Example
android/build
.vscode
# OSX
#
@ -45,4 +45,5 @@ Example
yarn.lock
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 paramPackageVersion = @"packageVersion";
static NSString *const paramLastVersion = @"lastVersion";
static NSString *const paramCurrentVersion = @"currentVersion";

View File

@ -79,17 +79,6 @@ export async function checkUpdate(APPKEY, isRetry) {
}
let resp;
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), {
method: 'POST',
headers: {