Cleanup
This commit is contained in:
parent
59fcba15ee
commit
a509ff8e30
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,7 +1,6 @@
|
||||
/.idea
|
||||
/node_modules
|
||||
/android/build
|
||||
/android/obj
|
||||
.vscode
|
||||
android/build
|
||||
android/obj
|
||||
*.iml
|
||||
|
||||
# OSX
|
||||
|
19
.npmignore
19
.npmignore
@ -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
|
@ -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";
|
||||
|
11
lib/index.js
11
lib/index.js
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user