From df903f4a0ebeb89d886d6ee37679ccf4a91da6f1 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Wed, 14 Apr 2021 17:29:35 +0800 Subject: [PATCH] Remove bsdiff in ios --- Example/testHotUpdate/ios/Podfile.lock | 12 +- Example/testHotUpdate/src/TestConsole.js | 4 +- README.md | 2 +- ios/RCTPushy/BSDiff/BSDiff.h | 17 - ios/RCTPushy/BSDiff/BSDiff.m | 36 - ios/RCTPushy/BSDiff/bzip/bspatch.c | 194 -- ios/RCTPushy/BSDiff/bzip/bspatch.h | 42 - ios/RCTPushy/RCTPushy.m | 67 +- ios/RCTPushy/RCTPushyManager.h | 5 - ios/RCTPushy/RCTPushyManager.m | 15 - ios/RCTPushy/SSZipArchive/Common.h | 81 - ios/RCTPushy/SSZipArchive/Info.plist | 26 - ios/RCTPushy/SSZipArchive/SSZipArchive.h | 77 - ios/RCTPushy/SSZipArchive/SSZipArchive.m | 711 ------- ios/RCTPushy/SSZipArchive/ZipArchive.h | 20 - ios/RCTPushy/SSZipArchive/aes/aes.h | 198 -- ios/RCTPushy/SSZipArchive/aes/aes_via_ace.h | 541 ------ ios/RCTPushy/SSZipArchive/aes/aescrypt.c | 294 --- ios/RCTPushy/SSZipArchive/aes/aeskey.c | 548 ------ ios/RCTPushy/SSZipArchive/aes/aesopt.h | 739 ------- ios/RCTPushy/SSZipArchive/aes/aestab.c | 391 ---- ios/RCTPushy/SSZipArchive/aes/aestab.h | 173 -- ios/RCTPushy/SSZipArchive/aes/brg_endian.h | 126 -- ios/RCTPushy/SSZipArchive/aes/brg_types.h | 219 --- ios/RCTPushy/SSZipArchive/aes/entropy.c | 54 - ios/RCTPushy/SSZipArchive/aes/entropy.h | 16 - ios/RCTPushy/SSZipArchive/aes/fileenc.c | 144 -- ios/RCTPushy/SSZipArchive/aes/fileenc.h | 121 -- ios/RCTPushy/SSZipArchive/aes/hmac.c | 145 -- ios/RCTPushy/SSZipArchive/aes/hmac.h | 103 - ios/RCTPushy/SSZipArchive/aes/prng.c | 155 -- ios/RCTPushy/SSZipArchive/aes/prng.h | 82 - ios/RCTPushy/SSZipArchive/aes/pwd2key.c | 193 -- ios/RCTPushy/SSZipArchive/aes/pwd2key.h | 57 - ios/RCTPushy/SSZipArchive/aes/sha1.c | 258 --- ios/RCTPushy/SSZipArchive/aes/sha1.h | 73 - ios/RCTPushy/SSZipArchive/minizip/crypt.h | 130 -- ios/RCTPushy/SSZipArchive/minizip/ioapi.c | 369 ---- ios/RCTPushy/SSZipArchive/minizip/ioapi.h | 175 -- ios/RCTPushy/SSZipArchive/minizip/mztools.c | 284 --- ios/RCTPushy/SSZipArchive/minizip/mztools.h | 31 - ios/RCTPushy/SSZipArchive/minizip/unzip.c | 1839 ------------------ ios/RCTPushy/SSZipArchive/minizip/unzip.h | 248 --- ios/RCTPushy/SSZipArchive/minizip/zip.c | 1915 ------------------- ios/RCTPushy/SSZipArchive/minizip/zip.h | 202 -- lib/index.js | 13 - react-native-update.podspec | 7 +- 47 files changed, 16 insertions(+), 11136 deletions(-) delete mode 100644 ios/RCTPushy/BSDiff/BSDiff.h delete mode 100644 ios/RCTPushy/BSDiff/BSDiff.m delete mode 100644 ios/RCTPushy/BSDiff/bzip/bspatch.c delete mode 100644 ios/RCTPushy/BSDiff/bzip/bspatch.h delete mode 100755 ios/RCTPushy/SSZipArchive/Common.h delete mode 100755 ios/RCTPushy/SSZipArchive/Info.plist delete mode 100755 ios/RCTPushy/SSZipArchive/SSZipArchive.h delete mode 100755 ios/RCTPushy/SSZipArchive/SSZipArchive.m delete mode 100755 ios/RCTPushy/SSZipArchive/ZipArchive.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/aes.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/aes_via_ace.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/aescrypt.c delete mode 100755 ios/RCTPushy/SSZipArchive/aes/aeskey.c delete mode 100755 ios/RCTPushy/SSZipArchive/aes/aesopt.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/aestab.c delete mode 100755 ios/RCTPushy/SSZipArchive/aes/aestab.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/brg_endian.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/brg_types.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/entropy.c delete mode 100755 ios/RCTPushy/SSZipArchive/aes/entropy.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/fileenc.c delete mode 100755 ios/RCTPushy/SSZipArchive/aes/fileenc.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/hmac.c delete mode 100755 ios/RCTPushy/SSZipArchive/aes/hmac.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/prng.c delete mode 100755 ios/RCTPushy/SSZipArchive/aes/prng.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/pwd2key.c delete mode 100755 ios/RCTPushy/SSZipArchive/aes/pwd2key.h delete mode 100755 ios/RCTPushy/SSZipArchive/aes/sha1.c delete mode 100755 ios/RCTPushy/SSZipArchive/aes/sha1.h delete mode 100755 ios/RCTPushy/SSZipArchive/minizip/crypt.h delete mode 100755 ios/RCTPushy/SSZipArchive/minizip/ioapi.c delete mode 100755 ios/RCTPushy/SSZipArchive/minizip/ioapi.h delete mode 100755 ios/RCTPushy/SSZipArchive/minizip/mztools.c delete mode 100755 ios/RCTPushy/SSZipArchive/minizip/mztools.h delete mode 100755 ios/RCTPushy/SSZipArchive/minizip/unzip.c delete mode 100755 ios/RCTPushy/SSZipArchive/minizip/unzip.h delete mode 100755 ios/RCTPushy/SSZipArchive/minizip/zip.c delete mode 100755 ios/RCTPushy/SSZipArchive/minizip/zip.h diff --git a/Example/testHotUpdate/ios/Podfile.lock b/Example/testHotUpdate/ios/Podfile.lock index de0f5a3..6954889 100644 --- a/Example/testHotUpdate/ios/Podfile.lock +++ b/Example/testHotUpdate/ios/Podfile.lock @@ -265,13 +265,9 @@ PODS: - React-jsinspector (0.64.0) - react-native-update (5.11.0-beta2): - React - - react-native-update/BSDiff (= 5.11.0-beta2) - react-native-update/HDiffPatch (= 5.11.0-beta2) - react-native-update/RCTPushy (= 5.11.0-beta2) - SSZipArchive - - react-native-update/BSDiff (5.11.0-beta2): - - React - - SSZipArchive - react-native-update/HDiffPatch (5.11.0-beta2): - React - SSZipArchive @@ -478,9 +474,9 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 - DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de + DoubleConversion: cde416483dac037923206447da6e1454df403714 FBLazyVector: 49cbe4b43e445b06bf29199b6ad2057649e4c8f5 - FBReactNativeSpec: 32175a51766279e1b9831f98bfa746c187822ddf + FBReactNativeSpec: 82f183aa413052f325b10b585b747af4823e4b18 Flipper: 1e9b42d953eb33b2367f372ae25e64f6b86f4361 Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41 Flipper-Folly: f7a3caafbd74bda4827954fd7a6e000e36355489 @@ -488,7 +484,7 @@ SPEC CHECKSUMS: Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9 Flipper-RSocket: 127954abe8b162fcaf68d2134d34dc2bd7076154 FlipperKit: 3970c0e7566160eda3defc580980c55f4ad585e8 - glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62 + glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c @@ -502,7 +498,7 @@ SPEC CHECKSUMS: React-jsi: 74341196d9547cbcbcfa4b3bbbf03af56431d5a1 React-jsiexecutor: 06a9c77b56902ae7ffcdd7a4905f664adc5d237b React-jsinspector: 0ae35a37b20d5e031eb020a69cc5afdbd6406301 - react-native-update: b0609c77e1c7de65c7542a75cb3fa37d49d5e247 + react-native-update: a4ff51ac2ffc0e1950690b9a304a5efa5a9869b2 React-perflogger: 9c547d8f06b9bf00cb447f2b75e8d7f19b7e02af React-RCTActionSheet: 3080b6e12e0e1a5b313c8c0050699b5c794a1b11 React-RCTAnimation: 3f96f21a497ae7dabf4d2f150ee43f906aaf516f diff --git a/Example/testHotUpdate/src/TestConsole.js b/Example/testHotUpdate/src/TestConsole.js index b3a2337..9a92157 100644 --- a/Example/testHotUpdate/src/TestConsole.js +++ b/Example/testHotUpdate/src/TestConsole.js @@ -21,6 +21,7 @@ export default function TestConsole({visible}) { 调试Pushy方法(方法名,参数,值换行) + }} + />