mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 21:33:12 +08:00 
			
		
		
		
	Cleanup
This commit is contained in:
		
							
								
								
									
										7
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,7 +1,6 @@ | |||||||
| /.idea | .vscode | ||||||
| /node_modules | android/build | ||||||
| /android/build | android/obj | ||||||
| /android/obj |  | ||||||
| *.iml | *.iml | ||||||
|  |  | ||||||
| # OSX | # OSX | ||||||
|   | |||||||
							
								
								
									
										19
									
								
								.npmignore
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								.npmignore
									
									
									
									
									
								
							| @@ -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 | ||||||
| @@ -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"; | ||||||
|   | |||||||
							
								
								
									
										11
									
								
								lib/index.js
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								lib/index.js
									
									
									
									
									
								
							| @@ -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: { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 sunnylqm
					sunnylqm