diff --git a/.gitignore b/.gitignore index 25dd9de..a6b0168 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ -/.idea -/node_modules -/android/build -/android/obj +.vscode +android/build +android/obj *.iml # OSX diff --git a/.npmignore b/.npmignore index fa984fe..781cf9a 100644 --- a/.npmignore +++ b/.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 \ No newline at end of file +domains.json +endpoints.json \ No newline at end of file diff --git a/ios/RCTPushy/RCTPushy.m b/ios/RCTPushy/RCTPushy.m index f34537e..1e24bc2 100644 --- a/ios/RCTPushy/RCTPushy.m +++ b/ios/RCTPushy/RCTPushy.m @@ -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"; diff --git a/lib/index.js b/lib/index.js index ca3ce3f..2857cc3 100644 --- a/lib/index.js +++ b/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: {