diff --git a/Example/testHotUpdate/.nyc_output/0341992d-ac02-43bf-b83b-a43d58d82f23.json b/Example/testHotUpdate/.nyc_output/0341992d-ac02-43bf-b83b-a43d58d82f23.json deleted file mode 100644 index d5faac2..0000000 --- a/Example/testHotUpdate/.nyc_output/0341992d-ac02-43bf-b83b-a43d58d82f23.json +++ /dev/null @@ -1 +0,0 @@ -{"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js":{"path":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":96,"column":2}}},"fnMap":{},"branchMap":{"0":{"loc":{"start":{"line":4,"column":11},"end":{"line":4,"column":47}},"type":"cond-expr","locations":[{"start":{"line":4,"column":28},"end":{"line":4,"column":35}},{"start":{"line":4,"column":38},"end":{"line":4,"column":47}}],"line":4},"1":{"loc":{"start":{"line":9,"column":18},"end":{"line":9,"column":48}},"type":"cond-expr","locations":[{"start":{"line":9,"column":35},"end":{"line":9,"column":36}},{"start":{"line":9,"column":39},"end":{"line":9,"column":48}}],"line":9},"2":{"loc":{"start":{"line":15,"column":11},"end":{"line":15,"column":49}},"type":"cond-expr","locations":[{"start":{"line":15,"column":28},"end":{"line":15,"column":37}},{"start":{"line":15,"column":40},"end":{"line":15,"column":49}}],"line":15},"3":{"loc":{"start":{"line":16,"column":18},"end":{"line":16,"column":56}},"type":"cond-expr","locations":[{"start":{"line":16,"column":35},"end":{"line":16,"column":44}},{"start":{"line":16,"column":47},"end":{"line":16,"column":56}}],"line":16},"4":{"loc":{"start":{"line":45,"column":15},"end":{"line":45,"column":49}},"type":"cond-expr","locations":[{"start":{"line":45,"column":32},"end":{"line":45,"column":37}},{"start":{"line":45,"column":40},"end":{"line":45,"column":49}}],"line":45}},"s":{"0":1},"f":{},"b":{"0":[0,1],"1":[0,1],"2":[0,1],"3":[0,1],"4":[0,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"e0b8f74ae194d2389e751d80495bbb9ccfa6f55d","contentHash":"2ad88376e56cf755498816728eddb5e9f521fbe6b950210079462e59a74e9c8b"}} \ No newline at end of file diff --git a/Example/testHotUpdate/.nyc_output/07caf4db-aae5-4a6d-ad04-46bcb3d999bb.json b/Example/testHotUpdate/.nyc_output/07caf4db-aae5-4a6d-ad04-46bcb3d999bb.json new file mode 100644 index 0000000..eff46e8 --- /dev/null +++ b/Example/testHotUpdate/.nyc_output/07caf4db-aae5-4a6d-ad04-46bcb3d999bb.json @@ -0,0 +1 @@ +{"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js":{"path":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":108,"column":2}}},"fnMap":{},"branchMap":{"0":{"loc":{"start":{"line":4,"column":11},"end":{"line":4,"column":47}},"type":"cond-expr","locations":[{"start":{"line":4,"column":28},"end":{"line":4,"column":35}},{"start":{"line":4,"column":38},"end":{"line":4,"column":47}}],"line":4},"1":{"loc":{"start":{"line":9,"column":18},"end":{"line":9,"column":48}},"type":"cond-expr","locations":[{"start":{"line":9,"column":35},"end":{"line":9,"column":36}},{"start":{"line":9,"column":39},"end":{"line":9,"column":48}}],"line":9},"2":{"loc":{"start":{"line":15,"column":11},"end":{"line":15,"column":49}},"type":"cond-expr","locations":[{"start":{"line":15,"column":28},"end":{"line":15,"column":37}},{"start":{"line":15,"column":40},"end":{"line":15,"column":49}}],"line":15},"3":{"loc":{"start":{"line":16,"column":18},"end":{"line":16,"column":56}},"type":"cond-expr","locations":[{"start":{"line":16,"column":35},"end":{"line":16,"column":44}},{"start":{"line":16,"column":47},"end":{"line":16,"column":56}}],"line":16},"4":{"loc":{"start":{"line":57,"column":15},"end":{"line":57,"column":49}},"type":"cond-expr","locations":[{"start":{"line":57,"column":32},"end":{"line":57,"column":37}},{"start":{"line":57,"column":40},"end":{"line":57,"column":49}}],"line":57}},"s":{"0":1},"f":{},"b":{"0":[0,1],"1":[0,1],"2":[0,1],"3":[0,1],"4":[0,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"15012f7c1e880b295a4405f1f24fb4c7f92b5a37","contentHash":"7cb9f14f3a9179eabe8b1e8cabf916cda45380676acec39f619e0fc1b4bd306d"}} \ No newline at end of file diff --git a/Example/testHotUpdate/.nyc_output/f31e2f2b-b49f-408f-8419-4699f9e33821.json b/Example/testHotUpdate/.nyc_output/8738d56b-3012-427e-adb4-899cd34e0e04.json similarity index 100% rename from Example/testHotUpdate/.nyc_output/f31e2f2b-b49f-408f-8419-4699f9e33821.json rename to Example/testHotUpdate/.nyc_output/8738d56b-3012-427e-adb4-899cd34e0e04.json diff --git a/Example/testHotUpdate/.nyc_output/3d6b5660-e717-4fcb-a11f-3a682bb0b2e5.json b/Example/testHotUpdate/.nyc_output/d163db7f-3acc-4d7c-b4e7-cb3374dd2684.json similarity index 100% rename from Example/testHotUpdate/.nyc_output/3d6b5660-e717-4fcb-a11f-3a682bb0b2e5.json rename to Example/testHotUpdate/.nyc_output/d163db7f-3acc-4d7c-b4e7-cb3374dd2684.json diff --git a/Example/testHotUpdate/.nyc_output/processinfo/0341992d-ac02-43bf-b83b-a43d58d82f23.json b/Example/testHotUpdate/.nyc_output/processinfo/0341992d-ac02-43bf-b83b-a43d58d82f23.json deleted file mode 100644 index 40fd046..0000000 --- a/Example/testHotUpdate/.nyc_output/processinfo/0341992d-ac02-43bf-b83b-a43d58d82f23.json +++ /dev/null @@ -1 +0,0 @@ -{"parent":"3d6b5660-e717-4fcb-a11f-3a682bb0b2e5","pid":55056,"argv":["/usr/local/bin/node","/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/node_modules/.bin/detox","test","--configuration","android.emu.release"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1679040922189,"ppid":55054,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/0341992d-ac02-43bf-b83b-a43d58d82f23.json","externalId":"","uuid":"0341992d-ac02-43bf-b83b-a43d58d82f23","files":["/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js"]} \ No newline at end of file diff --git a/Example/testHotUpdate/.nyc_output/processinfo/07caf4db-aae5-4a6d-ad04-46bcb3d999bb.json b/Example/testHotUpdate/.nyc_output/processinfo/07caf4db-aae5-4a6d-ad04-46bcb3d999bb.json new file mode 100644 index 0000000..727510a --- /dev/null +++ b/Example/testHotUpdate/.nyc_output/processinfo/07caf4db-aae5-4a6d-ad04-46bcb3d999bb.json @@ -0,0 +1 @@ +{"parent":"d163db7f-3acc-4d7c-b4e7-cb3374dd2684","pid":75642,"argv":["/usr/local/bin/node","/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/node_modules/.bin/detox","test","--configuration","android.emu.release"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1679121567526,"ppid":75638,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/07caf4db-aae5-4a6d-ad04-46bcb3d999bb.json","externalId":"","uuid":"07caf4db-aae5-4a6d-ad04-46bcb3d999bb","files":["/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js"]} \ No newline at end of file diff --git a/Example/testHotUpdate/.nyc_output/processinfo/3d6b5660-e717-4fcb-a11f-3a682bb0b2e5.json b/Example/testHotUpdate/.nyc_output/processinfo/3d6b5660-e717-4fcb-a11f-3a682bb0b2e5.json deleted file mode 100644 index 0e8715f..0000000 --- a/Example/testHotUpdate/.nyc_output/processinfo/3d6b5660-e717-4fcb-a11f-3a682bb0b2e5.json +++ /dev/null @@ -1 +0,0 @@ -{"parent":null,"pid":55054,"argv":["/usr/local/bin/node","/opt/homebrew/bin/yarn","detox","test","--configuration","android.emu.release"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1679040921862,"ppid":55053,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/3d6b5660-e717-4fcb-a11f-3a682bb0b2e5.json","externalId":"","uuid":"3d6b5660-e717-4fcb-a11f-3a682bb0b2e5","files":[]} \ No newline at end of file diff --git a/Example/testHotUpdate/.nyc_output/processinfo/f31e2f2b-b49f-408f-8419-4699f9e33821.json b/Example/testHotUpdate/.nyc_output/processinfo/8738d56b-3012-427e-adb4-899cd34e0e04.json similarity index 56% rename from Example/testHotUpdate/.nyc_output/processinfo/f31e2f2b-b49f-408f-8419-4699f9e33821.json rename to Example/testHotUpdate/.nyc_output/processinfo/8738d56b-3012-427e-adb4-899cd34e0e04.json index 66f669c..bd17769 100644 --- a/Example/testHotUpdate/.nyc_output/processinfo/f31e2f2b-b49f-408f-8419-4699f9e33821.json +++ b/Example/testHotUpdate/.nyc_output/processinfo/8738d56b-3012-427e-adb4-899cd34e0e04.json @@ -1 +1 @@ -{"parent":"0341992d-ac02-43bf-b83b-a43d58d82f23","pid":55059,"argv":["/usr/local/bin/node","/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/node_modules/.bin/jest","--config","e2e/jest.config.js","e2e"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1679040922616,"ppid":55056,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/f31e2f2b-b49f-408f-8419-4699f9e33821.json","externalId":"","uuid":"f31e2f2b-b49f-408f-8419-4699f9e33821","files":["/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts"]} \ No newline at end of file +{"parent":"07caf4db-aae5-4a6d-ad04-46bcb3d999bb","pid":75644,"argv":["/usr/local/bin/node","/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/node_modules/.bin/jest","--config","e2e/jest.config.js","e2e"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1679121567979,"ppid":75642,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/8738d56b-3012-427e-adb4-899cd34e0e04.json","externalId":"","uuid":"8738d56b-3012-427e-adb4-899cd34e0e04","files":["/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts"]} \ No newline at end of file diff --git a/Example/testHotUpdate/.nyc_output/processinfo/d163db7f-3acc-4d7c-b4e7-cb3374dd2684.json b/Example/testHotUpdate/.nyc_output/processinfo/d163db7f-3acc-4d7c-b4e7-cb3374dd2684.json new file mode 100644 index 0000000..4c06943 --- /dev/null +++ b/Example/testHotUpdate/.nyc_output/processinfo/d163db7f-3acc-4d7c-b4e7-cb3374dd2684.json @@ -0,0 +1 @@ +{"parent":null,"pid":75638,"argv":["/usr/local/bin/node","/opt/homebrew/bin/yarn","detox","test","--configuration","android.emu.release"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1679121567176,"ppid":75637,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/d163db7f-3acc-4d7c-b4e7-cb3374dd2684.json","externalId":"","uuid":"d163db7f-3acc-4d7c-b4e7-cb3374dd2684","files":[]} \ No newline at end of file diff --git a/Example/testHotUpdate/.nyc_output/processinfo/index.json b/Example/testHotUpdate/.nyc_output/processinfo/index.json index 7451347..34bc81e 100644 --- a/Example/testHotUpdate/.nyc_output/processinfo/index.json +++ b/Example/testHotUpdate/.nyc_output/processinfo/index.json @@ -1 +1 @@ -{"processes":{"0341992d-ac02-43bf-b83b-a43d58d82f23":{"parent":"3d6b5660-e717-4fcb-a11f-3a682bb0b2e5","children":["f31e2f2b-b49f-408f-8419-4699f9e33821"]},"3d6b5660-e717-4fcb-a11f-3a682bb0b2e5":{"parent":null,"children":["0341992d-ac02-43bf-b83b-a43d58d82f23"]},"f31e2f2b-b49f-408f-8419-4699f9e33821":{"parent":"0341992d-ac02-43bf-b83b-a43d58d82f23","children":[]}},"files":{"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js":["0341992d-ac02-43bf-b83b-a43d58d82f23"],"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts":["f31e2f2b-b49f-408f-8419-4699f9e33821"]},"externalIds":{}} \ No newline at end of file +{"processes":{"07caf4db-aae5-4a6d-ad04-46bcb3d999bb":{"parent":"d163db7f-3acc-4d7c-b4e7-cb3374dd2684","children":["8738d56b-3012-427e-adb4-899cd34e0e04"]},"8738d56b-3012-427e-adb4-899cd34e0e04":{"parent":"07caf4db-aae5-4a6d-ad04-46bcb3d999bb","children":[]},"d163db7f-3acc-4d7c-b4e7-cb3374dd2684":{"parent":null,"children":["07caf4db-aae5-4a6d-ad04-46bcb3d999bb"]}},"files":{"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js":["07caf4db-aae5-4a6d-ad04-46bcb3d999bb"],"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts":["8738d56b-3012-427e-adb4-899cd34e0e04"]},"externalIds":{}} \ No newline at end of file diff --git a/Example/testHotUpdate/detox.config.js b/Example/testHotUpdate/detox.config.js index 039c58c..588ed12 100644 --- a/Example/testHotUpdate/detox.config.js +++ b/Example/testHotUpdate/detox.config.js @@ -24,6 +24,18 @@ module.exports = { build: 'export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/testHotUpdate.xcworkspace -UseNewBuildSystem=NO -scheme testHotUpdate -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet', }, + "ios.debug": { + "type": "ios.app", + "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/testHotUpdate.app", + "build": "xcodebuild -workspace ios/testHotUpdate.xcworkspace -UseNewBuildSystem=NO -scheme testHotUpdate -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build", + "start": "scripts/start-rn.sh ios", + }, + "android.debug": { + "type": "android.apk", + "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk", + "build": "cd android ; ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug ; cd -", + "start": "scripts/start-rn.sh android", + }, 'android.release': { type: 'android.apk', binaryPath: 'android/app/build/outputs/apk/release/app-release.apk', @@ -44,7 +56,7 @@ module.exports = { headless: Boolean(process.env.CI), gpuMode: process.env.CI ? 'off' : undefined, device: { - avdName: 'Pixel_3a_API_33_arm64-v8a', + avdName: 'TestingAVD', }, utilBinaryPaths: ['./cache/test-butler-app.apk'], }, @@ -58,7 +70,7 @@ module.exports = { 'genymotion.emulator.name': { type: 'android.genycloud', device: { - recipeName: 'Pixel_3a_API_33_arm64-v8a', + recipeName: 'TestingAVD', }, utilBinaryPaths: ['./cache/test-butler-app.apk'], }, diff --git a/Example/testHotUpdate/ios/Podfile.lock b/Example/testHotUpdate/ios/Podfile.lock index 58e2eb8..82458b6 100644 --- a/Example/testHotUpdate/ios/Podfile.lock +++ b/Example/testHotUpdate/ios/Podfile.lock @@ -89,11 +89,6 @@ PODS: - DoubleConversion - fmt (~> 6.2.1) - glog - - RCT-Folly/Fabric (2021.07.22.00): - - boost - - DoubleConversion - - fmt (~> 6.2.1) - - glog - RCT-Folly/Futures (2021.07.22.00): - boost - DoubleConversion @@ -126,10 +121,8 @@ PODS: - RCTRequired - RCTTypeSafety - React-Core - - React-graphics - React-jsi - React-jsiexecutor - - React-rncore - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - React-Core (0.71.1): @@ -278,326 +271,6 @@ PODS: - React-logger (= 0.71.1) - React-perflogger (= 0.71.1) - React-runtimeexecutor (= 0.71.1) - - React-Fabric (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-Fabric/animations (= 0.71.1) - - React-Fabric/attributedstring (= 0.71.1) - - React-Fabric/butter (= 0.71.1) - - React-Fabric/componentregistry (= 0.71.1) - - React-Fabric/componentregistrynative (= 0.71.1) - - React-Fabric/components (= 0.71.1) - - React-Fabric/config (= 0.71.1) - - React-Fabric/core (= 0.71.1) - - React-Fabric/debug_core (= 0.71.1) - - React-Fabric/debug_renderer (= 0.71.1) - - React-Fabric/imagemanager (= 0.71.1) - - React-Fabric/leakchecker (= 0.71.1) - - React-Fabric/mapbuffer (= 0.71.1) - - React-Fabric/mounting (= 0.71.1) - - React-Fabric/runtimescheduler (= 0.71.1) - - React-Fabric/scheduler (= 0.71.1) - - React-Fabric/telemetry (= 0.71.1) - - React-Fabric/templateprocessor (= 0.71.1) - - React-Fabric/textlayoutmanager (= 0.71.1) - - React-Fabric/uimanager (= 0.71.1) - - React-Fabric/utils (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/animations (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/attributedstring (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/butter (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/componentregistry (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/componentregistrynative (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-Fabric/components/activityindicator (= 0.71.1) - - React-Fabric/components/image (= 0.71.1) - - React-Fabric/components/inputaccessory (= 0.71.1) - - React-Fabric/components/legacyviewmanagerinterop (= 0.71.1) - - React-Fabric/components/modal (= 0.71.1) - - React-Fabric/components/root (= 0.71.1) - - React-Fabric/components/safeareaview (= 0.71.1) - - React-Fabric/components/scrollview (= 0.71.1) - - React-Fabric/components/slider (= 0.71.1) - - React-Fabric/components/text (= 0.71.1) - - React-Fabric/components/textinput (= 0.71.1) - - React-Fabric/components/unimplementedview (= 0.71.1) - - React-Fabric/components/view (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/activityindicator (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/image (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/inputaccessory (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/legacyviewmanagerinterop (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/modal (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/root (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/safeareaview (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/scrollview (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/slider (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/text (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/textinput (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/unimplementedview (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/components/view (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - Yoga - - React-Fabric/config (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/core (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/debug_core (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/debug_renderer (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/imagemanager (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - React-RCTImage (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/leakchecker (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/mapbuffer (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/mounting (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/runtimescheduler (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/scheduler (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/telemetry (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/templateprocessor (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/textlayoutmanager (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-Fabric/uimanager - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/uimanager (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-Fabric/utils (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - RCTRequired (= 0.71.1) - - RCTTypeSafety (= 0.71.1) - - React-graphics (= 0.71.1) - - React-jsi (= 0.71.1) - - React-jsiexecutor (= 0.71.1) - - ReactCommon/turbomodule/core (= 0.71.1) - - React-graphics (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - React-Core/Default (= 0.71.1) - React-hermes (0.71.1): - DoubleConversion - glog @@ -625,33 +298,18 @@ PODS: - React-logger (0.71.1): - glog - react-native-update (9.0.0): - - RCT-Folly (= 2021.07.22.00) - - RCTRequired - - RCTTypeSafety - React - - React-Codegen - React-Core - react-native-update/HDiffPatch (= 9.0.0) - react-native-update/RCTPushy (= 9.0.0) - - ReactCommon/turbomodule/core - SSZipArchive - react-native-update/HDiffPatch (9.0.0): - - RCT-Folly (= 2021.07.22.00) - - RCTRequired - - RCTTypeSafety - React - - React-Codegen - React-Core - - ReactCommon/turbomodule/core - SSZipArchive - react-native-update/RCTPushy (9.0.0): - - RCT-Folly (= 2021.07.22.00) - - RCTRequired - - RCTTypeSafety - React - - React-Codegen - React-Core - - ReactCommon/turbomodule/core - SSZipArchive - React-perflogger (0.71.1) - React-RCTActionSheet (0.71.1): @@ -668,8 +326,6 @@ PODS: - RCTRequired - RCTTypeSafety - React-Core - - React-graphics - - React-RCTFabric - ReactCommon/turbomodule/core - React-RCTBlob (0.71.1): - RCT-Folly (= 2021.07.22.00) @@ -679,11 +335,6 @@ PODS: - React-jsi (= 0.71.1) - React-RCTNetwork (= 0.71.1) - ReactCommon/turbomodule/core (= 0.71.1) - - React-RCTFabric (0.71.1): - - RCT-Folly/Fabric (= 2021.07.22.00) - - React-Core (= 0.71.1) - - React-Fabric (= 0.71.1) - - React-RCTImage (= 0.71.1) - React-RCTImage (0.71.1): - RCT-Folly (= 2021.07.22.00) - RCTTypeSafety (= 0.71.1) @@ -719,7 +370,6 @@ PODS: - React-Core/RCTVibrationHeaders (= 0.71.1) - React-jsi (= 0.71.1) - ReactCommon/turbomodule/core (= 0.71.1) - - React-rncore (0.71.1) - React-runtimeexecutor (0.71.1): - React-jsi (= 0.71.1) - ReactCommon/turbomodule/bridging (0.71.1): @@ -779,7 +429,6 @@ DEPENDENCIES: - libevent (~> 2.1.12) - OpenSSL-Universal (= 1.1.1100) - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - - RCT-Folly/Fabric (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) - React (from `../node_modules/react-native/`) @@ -790,8 +439,6 @@ DEPENDENCIES: - React-Core/RCTWebSocket (from `../node_modules/react-native/`) - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) - - React-Fabric (from `../node_modules/react-native/ReactCommon`) - - React-graphics (from `../node_modules/react-native/ReactCommon/react/renderer/graphics`) - React-hermes (from `../node_modules/react-native/ReactCommon/hermes`) - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) @@ -803,14 +450,12 @@ DEPENDENCIES: - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) - React-RCTAppDelegate (from `../node_modules/react-native/Libraries/AppDelegate`) - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) - - React-RCTFabric (from `../node_modules/react-native/React`) - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) - React-RCTText (from `../node_modules/react-native/Libraries/Text`) - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) - - React-rncore (from `../node_modules/react-native/ReactCommon`) - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) @@ -865,10 +510,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/React/CoreModules" React-cxxreact: :path: "../node_modules/react-native/ReactCommon/cxxreact" - React-Fabric: - :path: "../node_modules/react-native/ReactCommon" - React-graphics: - :path: "../node_modules/react-native/ReactCommon/react/renderer/graphics" React-hermes: :path: "../node_modules/react-native/ReactCommon/hermes" React-jsi: @@ -891,8 +532,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/Libraries/AppDelegate" React-RCTBlob: :path: "../node_modules/react-native/Libraries/Blob" - React-RCTFabric: - :path: "../node_modules/react-native/React" React-RCTImage: :path: "../node_modules/react-native/Libraries/Image" React-RCTLinking: @@ -905,8 +544,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/Libraries/Text" React-RCTVibration: :path: "../node_modules/react-native/Libraries/Vibration" - React-rncore: - :path: "../node_modules/react-native/ReactCommon" React-runtimeexecutor: :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" ReactCommon: @@ -919,7 +556,7 @@ SPEC CHECKSUMS: CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: ad72713385db5289b19f1ead07e8e4aa26dcb01d - FBReactNativeSpec: 06fc2a521838dc240b499699d43467b071c66908 + FBReactNativeSpec: df2602c11e33d310433496e28a48b4b2be652a61 Flipper: 26fc4b7382499f1281eb8cb921e5c3ad6de91fe0 Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30 @@ -939,31 +576,27 @@ SPEC CHECKSUMS: RCTTypeSafety: c276d85975bde3d8448907235c70bf0da257adfd React: e481a67971af1ce9639c9f746b753dd0e84ca108 React-callinvoker: 1051c04a94fa9d243786b86380606bad701a3b31 - React-Codegen: d4bc58865453b6a797405aa99f9fa1da3c9e58c6 + React-Codegen: 14b1e716d361d5ad95e0ce1a338f3fa0733a98b5 React-Core: 698fc3baecb80d511d987475a16d036cec6d287f React-CoreModules: 59245305f41ff0adfeac334acc0594dea4585a7c React-cxxreact: 49accd2954b0f532805dbcd1918fa6962f32f247 - React-Fabric: 30982dc19c7511bedf1751b0a0c21a5b816e2a3e - React-graphics: beabc29b026e7472ced1482557effedd15a09cf1 React-hermes: d068733294581a085e95b6024e8d951b005e26d3 React-jsi: 122b9bce14f4c6c7cb58f28f87912cfe091885fa React-jsiexecutor: 60cf272aababc5212410e4249d17cea14fc36caa React-jsinspector: ff56004b0c974b688a6548c156d5830ad751ae07 React-logger: 60a0b5f8bed667ecf9e24fecca1f30d125de6d75 - react-native-update: e3886d39a3739120cfead0ef3838fa5c309995f4 + react-native-update: 2b5ef06bfeaa668614c8deb7ec4d20dcf56f9278 React-perflogger: ec8eef2a8f03ecfa6361c2c5fb9197ef4a29cc85 React-RCTActionSheet: a0c023b86cf4c862fa9c4eb0f6f91fbe878fb2de React-RCTAnimation: 168d53718c74153947c0109f55900faa64d79439 - React-RCTAppDelegate: 5f34addd2f9d8c542c129b562b7f3db0cc599a3d + React-RCTAppDelegate: a8efbab128b34aa07a9491c85a41401210b1bec5 React-RCTBlob: 9bcbfc893bfda9f6b2eb016329d38c0f6366d31a - React-RCTFabric: cec4e89720e8778aa132e5515be1af251d2e9b6a React-RCTImage: 3fcd4570b4b0f1ac2f4b4b6308dba33ce66c5b50 React-RCTLinking: 1edb8e1bb3fc39bf9e13c63d6aaaa3f0c3d18683 React-RCTNetwork: 500a79e0e0f67678077df727fabba87a55c043e1 React-RCTSettings: cc4414eb84ad756d619076c3999fecbf12896d6f React-RCTText: 2a34261f3da6e34f47a62154def657546ebfa5e1 React-RCTVibration: 49d531ec8498e0afa2c9b22c2205784372e3d4f3 - React-rncore: b802bc9f6985c482127b066c869999a09d25edeb React-runtimeexecutor: 311feb67600774723fe10eb8801d3138cae9ad67 ReactCommon: 03be76588338a27a88d103b35c3c44a3fd43d136 SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608 diff --git a/Example/testHotUpdate/scripts/start-rn.sh b/Example/testHotUpdate/scripts/start-rn.sh new file mode 100755 index 0000000..27ca66a --- /dev/null +++ b/Example/testHotUpdate/scripts/start-rn.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +trap 'kill $RN_PID' EXIT + +PLATFORM=$1 + +npm start & +RN_PID=$! +sleep 2 && curl>/dev/null http://localhost:8081/index.bundle +wait $RN_PID diff --git a/ios/pushy_build_time.txt b/ios/pushy_build_time.txt index 2f9ee62..ecc2c78 100644 --- a/ios/pushy_build_time.txt +++ b/ios/pushy_build_time.txt @@ -1 +1 @@ -1679038185 +1679121053 diff --git a/package.json b/package.json index 44c4d2b..bb25428 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,14 @@ "submodule": "git submodule update --init --recursive", "test": "echo \"Error: no test specified\" && exit 1", "build-lib": "yarn submodule && $ANDROID_HOME/ndk/20.1.5948944/ndk-build NDK_PROJECT_PATH=android APP_BUILD_SCRIPT=android/jni/Android.mk NDK_APPLICATION_MK=android/jni/Application.mk NDK_LIBS_OUT=android/lib", + "build:ios-debug": "cd Example/testHotUpdate && yarn && detox build --configuration ios.sim.debug", "build:ios-release": "cd Example/testHotUpdate && yarn && detox build --configuration ios.sim.release", + "test:ios-debug": "cd Example/testHotUpdate && detox test --configuration ios.sim.debug", "test:ios-release": "cd Example/testHotUpdate && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 ./node_modules/.bin/nyc yarn detox test --configuration ios.sim.release", + "build:android-debug": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.debug", "build:android-release": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.release", - "test:android-release": "cd Example/testHotUpdate && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.release", + "test:android-release": "export ANDROID_SDK_ROOT=/Users/arvinh/Library/Android/sdk && cd Example/testHotUpdate && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.release", + "test:android-debug": "detox test --configuration android.emu.debug", "e2e:ios": "npm run build:ios-release && npm run test:ios-release", "e2e:android": "npm run build:android-release && npm run test:android-release", "tests:emulator:prepare": "cd .github/workflows/scripts/functions && yarn && yarn build", diff --git a/yarn.lock b/yarn.lock index 7de55c9..2106b1f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4908,6 +4908,11 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" +pod-install@^0.1.37: + version "0.1.38" + resolved "https://registry.npmjs.org/pod-install/-/pod-install-0.1.38.tgz#1c16a800a5fc1abea0cafcc0e190f376368c76ab" + integrity sha512-NeDWGigjJRriOIKBOvpW2/tK2tYLfyUT7ia6C6L+oarCAhBNP+IGODWdU+GEAqvfsseqOApcFclpXAJTL0UPzA== + portfinder@^1.0.32: version "1.0.32" resolved "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz#2fe1b9e58389712429dc2bea5beb2146146c7f81"