diff --git a/Example/testHotUpdate/.buckconfig b/Example/testHotUpdate/.buckconfig new file mode 100644 index 0000000..934256c --- /dev/null +++ b/Example/testHotUpdate/.buckconfig @@ -0,0 +1,6 @@ + +[android] + target = Google Inc.:Google APIs:23 + +[maven_repositories] + central = https://repo1.maven.org/maven2 diff --git a/Example/testHotUpdate/detox.config.js b/Example/testHotUpdate/.detoxrc.js similarity index 82% rename from Example/testHotUpdate/detox.config.js rename to Example/testHotUpdate/.detoxrc.js index 6718087..0fd43ad 100644 --- a/Example/testHotUpdate/detox.config.js +++ b/Example/testHotUpdate/.detoxrc.js @@ -12,16 +12,16 @@ module.exports = { apps: { 'ios.debug': { type: 'ios.app', - binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/testHotUpdate.app', + binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/AwesomeProject.app', build: - 'xcodebuild -workspace ios/testHotUpdate.xcworkspace -scheme testHotUpdate -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build', + 'xcodebuild -workspace ios/AwesomeProject.xcworkspace -scheme AwesomeProject -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build', }, 'ios.release': { type: 'ios.app', binaryPath: - 'ios/build/Build/Products/Release-iphonesimulator/testHotUpdate.app', + 'ios/build/Build/Products/Release-iphonesimulator/AwesomeProject.app', build: - 'xcodebuild -workspace ios/testHotUpdate.xcworkspace -scheme testHotUpdate -configuration Release -sdk iphonesimulator -derivedDataPath ios/build', + 'xcodebuild -workspace ios/AwesomeProject.xcworkspace -scheme AwesomeProject -configuration Release -sdk iphonesimulator -derivedDataPath ios/build', }, 'android.debug': { type: 'android.apk', diff --git a/Example/testHotUpdate/.eslintrc.js b/Example/testHotUpdate/.eslintrc.js new file mode 100644 index 0000000..40c6dcd --- /dev/null +++ b/Example/testHotUpdate/.eslintrc.js @@ -0,0 +1,4 @@ +module.exports = { + root: true, + extends: '@react-native-community', +}; diff --git a/Example/testHotUpdate/.flowconfig b/Example/testHotUpdate/.flowconfig new file mode 100644 index 0000000..74f3a75 --- /dev/null +++ b/Example/testHotUpdate/.flowconfig @@ -0,0 +1,66 @@ +[ignore] +; We fork some components by platform +.*/*[.]android.js + +; Ignore "BUCK" generated dirs +/\.buckd/ + +; Ignore polyfills +node_modules/react-native/Libraries/polyfills/.* + +; Flow doesn't support platforms +.*/Libraries/Utilities/LoadingView.js + +.*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$ + +[untyped] +.*/node_modules/@react-native-community/cli/.*/.* + +[include] + +[libs] +node_modules/react-native/interface.js +node_modules/react-native/flow/ + +[options] +emoji=true + +exact_by_default=true + +format.bracket_spacing=false + +module.file_ext=.js +module.file_ext=.json +module.file_ext=.ios.js + +munge_underscores=true + +module.name_mapper='^react-native/\(.*\)$' -> '/node_modules/react-native/\1' +module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '/node_modules/react-native/Libraries/Image/RelativeImageStub' + +suppress_type=$FlowIssue +suppress_type=$FlowFixMe +suppress_type=$FlowFixMeProps +suppress_type=$FlowFixMeState + +[lints] +sketchy-null-number=warn +sketchy-null-mixed=warn +sketchy-number=warn +untyped-type-import=warn +nonstrict-import=warn +deprecated-type=warn +unsafe-getters-setters=warn +unnecessary-invariant=warn + +[strict] +deprecated-type +nonstrict-import +sketchy-null +unclear-type +unsafe-getters-setters +untyped-import +untyped-type-import + +[version] +^0.176.3 diff --git a/Example/testHotUpdate/.github/workflows/e2e-android.yml b/Example/testHotUpdate/.github/workflows/e2e-android.yml new file mode 100644 index 0000000..6287d85 --- /dev/null +++ b/Example/testHotUpdate/.github/workflows/e2e-android.yml @@ -0,0 +1,59 @@ +name: e2e-android +on: push + +jobs: + e2e-android: + runs-on: macos-latest + env: + DETOX_CONFIGURATION: android.emu.release + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + cache: yarn + node-version-file: .nvmrc + + - name: Install Yarn dependencies + run: yarn --frozen-lockfile --prefer-offline + + - name: Setup Java + uses: actions/setup-java@v3 + with: + cache: gradle + distribution: temurin + java-version: 17 + + - name: Cache Detox build + id: cache-detox-build + uses: actions/cache@v3 + with: + path: android/app/build + key: ${{ runner.os }}-detox-build + restore-keys: | + ${{ runner.os }}-detox-build + + - name: Detox build + run: yarn detox build --configuration ${{ env.DETOX_CONFIGURATION }} + + - name: Get device name + id: device + run: node -e "console.log('AVD_NAME=' + require('./.detoxrc').devices.emulator.device.avdName)" >> $GITHUB_OUTPUT + + - name: Detox test + uses: reactivecircus/android-emulator-runner@v2 + with: + api-level: 31 + arch: x86_64 + avd-name: ${{ steps.device.outputs.AVD_NAME }} + script: yarn detox test --configuration ${{ env.DETOX_CONFIGURATION }} --headless --record-logs all + + - name: Upload artifacts + if: failure() + uses: actions/upload-artifact@v3 + with: + name: detox-artifacts + path: artifacts diff --git a/Example/testHotUpdate/.gitignore b/Example/testHotUpdate/.gitignore index ed55354..344481b 100644 --- a/Example/testHotUpdate/.gitignore +++ b/Example/testHotUpdate/.gitignore @@ -24,16 +24,12 @@ ios/.xcode.env.local # Android/IntelliJ # -release/ build/ .idea .gradle local.properties *.iml *.hprof -.cxx/ -*.keystore -!debug.keystore # node.js # @@ -41,6 +37,12 @@ node_modules/ npm-debug.log yarn-error.log +# BUCK +buck-out/ +\.buckd/ +*.keystore +!debug.keystore + # fastlane # # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the @@ -59,6 +61,3 @@ yarn-error.log # Ruby / CocoaPods /ios/Pods/ /vendor/bundle/ - -# Temporary files created by Metro to check the health of the file watcher -.metro-health-check* \ No newline at end of file diff --git a/Example/testHotUpdate/.nvmrc b/Example/testHotUpdate/.nvmrc new file mode 100644 index 0000000..3c03207 --- /dev/null +++ b/Example/testHotUpdate/.nvmrc @@ -0,0 +1 @@ +18 diff --git a/Example/testHotUpdate/.nyc_output/19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6.json b/Example/testHotUpdate/.nyc_output/19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6.json deleted file mode 100644 index bbead05..0000000 --- a/Example/testHotUpdate/.nyc_output/19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6.json +++ /dev/null @@ -1 +0,0 @@ -{"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts":{"path":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts","statementMap":{"0":{"start":{"line":2,"column":16},"end":{"line":10,"column":1}},"1":{"start":{"line":3,"column":28},"end":{"line":3,"column":110}},"2":{"start":{"line":3,"column":91},"end":{"line":3,"column":106}},"3":{"start":{"line":4,"column":4},"end":{"line":9,"column":7}},"4":{"start":{"line":5,"column":36},"end":{"line":5,"column":97}},"5":{"start":{"line":5,"column":42},"end":{"line":5,"column":70}},"6":{"start":{"line":5,"column":85},"end":{"line":5,"column":95}},"7":{"start":{"line":6,"column":35},"end":{"line":6,"column":100}},"8":{"start":{"line":6,"column":41},"end":{"line":6,"column":73}},"9":{"start":{"line":6,"column":88},"end":{"line":6,"column":98}},"10":{"start":{"line":7,"column":32},"end":{"line":7,"column":116}},"11":{"start":{"line":8,"column":8},"end":{"line":8,"column":78}},"12":{"start":{"line":11,"column":0},"end":{"line":11,"column":62}},"13":{"start":{"line":12,"column":24},"end":{"line":12,"column":48}},"14":{"start":{"line":13,"column":19},"end":{"line":13,"column":38}},"15":{"start":{"line":14,"column":20},"end":{"line":14,"column":46}},"16":{"start":{"line":15,"column":15},"end":{"line":15,"column":44}},"17":{"start":{"line":17,"column":4},"end":{"line":23,"column":7}},"18":{"start":{"line":18,"column":23},"end":{"line":18,"column":61}},"19":{"start":{"line":19,"column":8},"end":{"line":21,"column":9}},"20":{"start":{"line":20,"column":12},"end":{"line":20,"column":42}},"21":{"start":{"line":22,"column":8},"end":{"line":22,"column":40}},"22":{"start":{"line":25,"column":0},"end":{"line":25,"column":36}},"23":{"start":{"line":27,"column":4},"end":{"line":36,"column":7}},"24":{"start":{"line":28,"column":24},"end":{"line":28,"column":31}},"25":{"start":{"line":29,"column":28},"end":{"line":29,"column":142}},"26":{"start":{"line":30,"column":25},"end":{"line":30,"column":52}},"27":{"start":{"line":31,"column":8},"end":{"line":31,"column":49}},"28":{"start":{"line":32,"column":8},"end":{"line":35,"column":9}},"29":{"start":{"line":33,"column":12},"end":{"line":33,"column":72}},"30":{"start":{"line":34,"column":12},"end":{"line":34,"column":83}},"31":{"start":{"line":38,"column":0},"end":{"line":38,"column":35}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":2,"column":44},"end":{"line":2,"column":45}},"loc":{"start":{"line":2,"column":89},"end":{"line":10,"column":1}},"line":2},"1":{"name":"adopt","decl":{"start":{"line":3,"column":13},"end":{"line":3,"column":18}},"loc":{"start":{"line":3,"column":26},"end":{"line":3,"column":112}},"line":3},"2":{"name":"(anonymous_2)","decl":{"start":{"line":3,"column":70},"end":{"line":3,"column":71}},"loc":{"start":{"line":3,"column":89},"end":{"line":3,"column":108}},"line":3},"3":{"name":"(anonymous_3)","decl":{"start":{"line":4,"column":36},"end":{"line":4,"column":37}},"loc":{"start":{"line":4,"column":63},"end":{"line":9,"column":5}},"line":4},"4":{"name":"fulfilled","decl":{"start":{"line":5,"column":17},"end":{"line":5,"column":26}},"loc":{"start":{"line":5,"column":34},"end":{"line":5,"column":99}},"line":5},"5":{"name":"rejected","decl":{"start":{"line":6,"column":17},"end":{"line":6,"column":25}},"loc":{"start":{"line":6,"column":33},"end":{"line":6,"column":102}},"line":6},"6":{"name":"step","decl":{"start":{"line":7,"column":17},"end":{"line":7,"column":21}},"loc":{"start":{"line":7,"column":30},"end":{"line":7,"column":118}},"line":7},"7":{"name":"customGlobalSetup","decl":{"start":{"line":16,"column":9},"end":{"line":16,"column":26}},"loc":{"start":{"line":16,"column":29},"end":{"line":24,"column":1}},"line":16},"8":{"name":"(anonymous_8)","decl":{"start":{"line":17,"column":43},"end":{"line":17,"column":44}},"loc":{"start":{"line":17,"column":56},"end":{"line":23,"column":5}},"line":17},"9":{"name":"downloadTestButlerAPK","decl":{"start":{"line":26,"column":9},"end":{"line":26,"column":30}},"loc":{"start":{"line":26,"column":33},"end":{"line":37,"column":1}},"line":26},"10":{"name":"(anonymous_10)","decl":{"start":{"line":27,"column":43},"end":{"line":27,"column":44}},"loc":{"start":{"line":27,"column":56},"end":{"line":36,"column":5}},"line":27}},"branchMap":{"0":{"loc":{"start":{"line":2,"column":16},"end":{"line":10,"column":1}},"type":"binary-expr","locations":[{"start":{"line":2,"column":17},"end":{"line":2,"column":21}},{"start":{"line":2,"column":25},"end":{"line":2,"column":39}},{"start":{"line":2,"column":44},"end":{"line":10,"column":1}}],"line":2},"1":{"loc":{"start":{"line":3,"column":35},"end":{"line":3,"column":109}},"type":"cond-expr","locations":[{"start":{"line":3,"column":56},"end":{"line":3,"column":61}},{"start":{"line":3,"column":64},"end":{"line":3,"column":109}}],"line":3},"2":{"loc":{"start":{"line":4,"column":16},"end":{"line":4,"column":34}},"type":"binary-expr","locations":[{"start":{"line":4,"column":16},"end":{"line":4,"column":17}},{"start":{"line":4,"column":22},"end":{"line":4,"column":33}}],"line":4},"3":{"loc":{"start":{"line":7,"column":32},"end":{"line":7,"column":115}},"type":"cond-expr","locations":[{"start":{"line":7,"column":46},"end":{"line":7,"column":67}},{"start":{"line":7,"column":70},"end":{"line":7,"column":115}}],"line":7},"4":{"loc":{"start":{"line":8,"column":51},"end":{"line":8,"column":67}},"type":"binary-expr","locations":[{"start":{"line":8,"column":51},"end":{"line":8,"column":61}},{"start":{"line":8,"column":65},"end":{"line":8,"column":67}}],"line":8},"5":{"loc":{"start":{"line":19,"column":8},"end":{"line":21,"column":9}},"type":"if","locations":[{"start":{"line":19,"column":8},"end":{"line":21,"column":9}},{"start":{"line":19,"column":8},"end":{"line":21,"column":9}}],"line":19},"6":{"loc":{"start":{"line":32,"column":8},"end":{"line":35,"column":9}},"type":"if","locations":[{"start":{"line":32,"column":8},"end":{"line":35,"column":9}},{"start":{"line":32,"column":8},"end":{"line":35,"column":9}}],"line":32}},"s":{"0":1,"1":5,"2":0,"3":2,"4":5,"5":5,"6":0,"7":0,"8":0,"9":0,"10":7,"11":2,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":0,"30":0,"31":1},"f":{"0":2,"1":5,"2":0,"3":2,"4":5,"5":0,"6":7,"7":1,"8":1,"9":1,"10":1},"b":{"0":[1,1,1],"1":[5,0],"2":[2,2],"3":[2,5],"4":[2,2],"5":[1,0],"6":[0,1]},"inputSourceMap":{"file":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts","mappings":";;;;;;;;;;;AAAA,iDAAyC;AAEzC,uCAAiD;AAEjD,+CAAgD;AAChD,6CAAiD;AAEjD,SAA8B,iBAAiB;;QAC7C,MAAM,MAAM,GAAG,MAAM,IAAA,yBAAa,GAAE,CAAC;QACrC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,kBAAkB,EAAE;YAC7C,MAAM,qBAAqB,EAAE,CAAC;SAC/B;QAED,MAAM,IAAA,kBAAW,GAAE,CAAC;IACtB,CAAC;CAAA;AAPD,oCAOC;AAED,SAAe,qBAAqB;;QAClC,MAAM,OAAO,GAAG,OAAO,CAAC;QACxB,MAAM,WAAW,GAAG,0EAA0E,OAAO,oBAAoB,OAAO,MAAM,CAAC;QACvI,MAAM,QAAQ,GAAG,2BAA2B,CAAC;QAE7C,MAAM,IAAA,oBAAS,EAAC,OAAO,CAAC,CAAC;QACzB,IAAI,CAAC,CAAC,MAAM,IAAA,qBAAU,EAAC,QAAQ,CAAC,CAAC,EAAE;YACjC,OAAO,CAAC,GAAG,CAAC,kCAAkC,OAAO,KAAK,CAAC,CAAC;YAC5D,IAAA,wBAAQ,EAAC,cAAc,QAAQ,IAAI,WAAW,EAAE,CAAC,CAAC;SACnD;IACH,CAAC;CAAA;AAED,MAAM,CAAC,OAAO,GAAG,iBAAiB,CAAC","names":[],"sources":["/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts"],"sourcesContent":["import { execSync } from 'child_process';\n\nimport { pathExists, ensureDir } from 'fs-extra';\n\nimport { resolveConfig } from 'detox/internals';\nimport { globalSetup } from 'detox/runners/jest';\n\nexport default async function customGlobalSetup() {\n const config = await resolveConfig();\n if (config.device.type === 'android.emulator') {\n await downloadTestButlerAPK();\n }\n\n await globalSetup();\n}\n\nasync function downloadTestButlerAPK() {\n const version = '2.2.1';\n const artifactUrl = `https://repo1.maven.org/maven2/com/linkedin/testbutler/test-butler-app/${version}/test-butler-app-${version}.apk`;\n const filePath = `cache/test-butler-app.apk`;\n\n await ensureDir('cache');\n if (!(await pathExists(filePath))) {\n console.log(`\\nDownloading Test-Butler APK v${version}...`);\n execSync(`curl -f -o ${filePath} ${artifactUrl}`);\n }\n}\n\nmodule.exports = customGlobalSetup;\n"],"version":3},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"5cf17fac192d2bc7f6c950beca029711552341cd","contentHash":"5390e62deb3096f3a69db0c1f30b3fe5907eaffa51885205d3bfe5279cecab03"}} \ No newline at end of file diff --git a/Example/testHotUpdate/.nyc_output/d981de3a-162c-4c70-80a9-84bb168e00d7.json b/Example/testHotUpdate/.nyc_output/d981de3a-162c-4c70-80a9-84bb168e00d7.json deleted file mode 100644 index 9e26dfe..0000000 --- a/Example/testHotUpdate/.nyc_output/d981de3a-162c-4c70-80a9-84bb168e00d7.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/Example/testHotUpdate/.nyc_output/f45cbde3-af32-4880-b276-321a181077f9.json b/Example/testHotUpdate/.nyc_output/f45cbde3-af32-4880-b276-321a181077f9.json deleted file mode 100644 index 096fc25..0000000 --- a/Example/testHotUpdate/.nyc_output/f45cbde3-af32-4880-b276-321a181077f9.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":110,"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":58,"column":15},"end":{"line":58,"column":49}},"type":"cond-expr","locations":[{"start":{"line":58,"column":32},"end":{"line":58,"column":37}},{"start":{"line":58,"column":40},"end":{"line":58,"column":49}}],"line":58}},"s":{"0":1},"f":{},"b":{"0":[0,1],"1":[0,1],"2":[0,1],"3":[0,1],"4":[0,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"58bedfd3138217937b7d396abd7b0c5826481f79","contentHash":"522b38643de93a23c72e2d1e6fe4f7c043965dd9f6c9c9782d17180545d4bfd3"}} \ No newline at end of file diff --git a/Example/testHotUpdate/.nyc_output/processinfo/19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6.json b/Example/testHotUpdate/.nyc_output/processinfo/19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6.json deleted file mode 100644 index cf4014e..0000000 --- a/Example/testHotUpdate/.nyc_output/processinfo/19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6.json +++ /dev/null @@ -1 +0,0 @@ -{"parent":"f45cbde3-af32-4880-b276-321a181077f9","pid":95187,"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":1680248198332,"ppid":95181,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6.json","externalId":"","uuid":"19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6","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/d981de3a-162c-4c70-80a9-84bb168e00d7.json b/Example/testHotUpdate/.nyc_output/processinfo/d981de3a-162c-4c70-80a9-84bb168e00d7.json deleted file mode 100644 index feec154..0000000 --- a/Example/testHotUpdate/.nyc_output/processinfo/d981de3a-162c-4c70-80a9-84bb168e00d7.json +++ /dev/null @@ -1 +0,0 @@ -{"parent":null,"pid":95180,"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":1680248197419,"ppid":95177,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/d981de3a-162c-4c70-80a9-84bb168e00d7.json","externalId":"","uuid":"d981de3a-162c-4c70-80a9-84bb168e00d7","files":[]} \ No newline at end of file diff --git a/Example/testHotUpdate/.nyc_output/processinfo/f45cbde3-af32-4880-b276-321a181077f9.json b/Example/testHotUpdate/.nyc_output/processinfo/f45cbde3-af32-4880-b276-321a181077f9.json deleted file mode 100644 index c521ba1..0000000 --- a/Example/testHotUpdate/.nyc_output/processinfo/f45cbde3-af32-4880-b276-321a181077f9.json +++ /dev/null @@ -1 +0,0 @@ -{"parent":"d981de3a-162c-4c70-80a9-84bb168e00d7","pid":95181,"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":1680248197907,"ppid":95180,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/f45cbde3-af32-4880-b276-321a181077f9.json","externalId":"","uuid":"f45cbde3-af32-4880-b276-321a181077f9","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/index.json b/Example/testHotUpdate/.nyc_output/processinfo/index.json deleted file mode 100644 index 0f4f163..0000000 --- a/Example/testHotUpdate/.nyc_output/processinfo/index.json +++ /dev/null @@ -1 +0,0 @@ -{"processes":{"19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6":{"parent":"f45cbde3-af32-4880-b276-321a181077f9","children":[]},"d981de3a-162c-4c70-80a9-84bb168e00d7":{"parent":null,"children":["f45cbde3-af32-4880-b276-321a181077f9"]},"f45cbde3-af32-4880-b276-321a181077f9":{"parent":"d981de3a-162c-4c70-80a9-84bb168e00d7","children":["19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6"]}},"files":{"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts":["19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6"],"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js":["f45cbde3-af32-4880-b276-321a181077f9"]},"externalIds":{}} \ No newline at end of file diff --git a/Example/testHotUpdate/.ruby-version b/Example/testHotUpdate/.ruby-version index 94ff29c..a603bb5 100644 --- a/Example/testHotUpdate/.ruby-version +++ b/Example/testHotUpdate/.ruby-version @@ -1 +1 @@ -3.1.1 +2.7.5 diff --git a/Example/testHotUpdate/Gemfile b/Example/testHotUpdate/Gemfile index 7750225..d1625ab 100644 --- a/Example/testHotUpdate/Gemfile +++ b/Example/testHotUpdate/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version -ruby File.read(File.join(__dir__, '.ruby-version')).strip +ruby '3.1.1' -gem 'cocoapods', '~> 1.11', '>= 1.11.3' \ No newline at end of file +gem 'cocoapods', '~> 1.11', '>= 1.11.2' diff --git a/Example/testHotUpdate/Gemfile.lock b/Example/testHotUpdate/Gemfile.lock index 0c1a860..7f3ac31 100644 --- a/Example/testHotUpdate/Gemfile.lock +++ b/Example/testHotUpdate/Gemfile.lock @@ -1,30 +1,29 @@ GEM remote: https://rubygems.org/ specs: - CFPropertyList (3.0.5) + CFPropertyList (3.0.6) rexml - activesupport (6.1.5.1) + activesupport (7.0.4.3) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - zeitwerk (~> 2.3) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) + addressable (2.8.1) + public_suffix (>= 2.0.2, < 6.0) algoliasearch (1.27.5) httpclient (~> 2.8, >= 2.8.3) json (>= 1.5.1) atomos (0.1.3) claide (1.1.0) - cocoapods (1.11.3) + cocoapods (1.12.0) addressable (~> 2.8) claide (>= 1.0.2, < 2.0) - cocoapods-core (= 1.11.3) + cocoapods-core (= 1.12.0) cocoapods-deintegrate (>= 1.0.3, < 2.0) - cocoapods-downloader (>= 1.4.0, < 2.0) + cocoapods-downloader (>= 1.6.0, < 2.0) cocoapods-plugins (>= 1.0.0, < 2.0) cocoapods-search (>= 1.0.0, < 2.0) - cocoapods-trunk (>= 1.4.0, < 2.0) + cocoapods-trunk (>= 1.6.0, < 2.0) cocoapods-try (>= 1.1.0, < 2.0) colored2 (~> 3.1) escape (~> 0.0.4) @@ -32,10 +31,10 @@ GEM gh_inspector (~> 1.0) molinillo (~> 0.8.0) nap (~> 1.0) - ruby-macho (>= 1.0, < 3.0) + ruby-macho (>= 2.3.0, < 3.0) xcodeproj (>= 1.21.0, < 2.0) - cocoapods-core (1.11.3) - activesupport (>= 5.0, < 7) + cocoapods-core (1.12.0) + activesupport (>= 5.0, < 8) addressable (~> 2.8) algoliasearch (~> 1.0) concurrent-ruby (~> 1.1) @@ -54,19 +53,19 @@ GEM netrc (~> 0.11) cocoapods-try (1.2.0) colored2 (3.1.2) - concurrent-ruby (1.1.10) + concurrent-ruby (1.2.2) escape (0.0.4) - ethon (0.15.0) + ethon (0.16.0) ffi (>= 1.15.0) ffi (1.15.5) fourflusher (2.3.1) fuzzy_match (2.0.4) gh_inspector (1.1.3) httpclient (2.8.3) - i18n (1.10.0) + i18n (1.12.0) concurrent-ruby (~> 1.0) - json (2.6.1) - minitest (5.15.0) + json (2.6.3) + minitest (5.18.0) molinillo (0.8.0) nanaimo (0.3.0) nap (1.1.0) @@ -76,25 +75,24 @@ GEM ruby-macho (2.5.1) typhoeus (1.4.0) ethon (>= 0.9.0) - tzinfo (2.0.4) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) - xcodeproj (1.21.0) + xcodeproj (1.22.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) colored2 (~> 3.1) nanaimo (~> 0.3.0) rexml (~> 3.2.4) - zeitwerk (2.5.4) PLATFORMS ruby DEPENDENCIES - cocoapods (~> 1.11, >= 1.11.3) + cocoapods (~> 1.11, >= 1.11.2) RUBY VERSION ruby 3.1.1p18 BUNDLED WITH - 2.2.27 + 2.1.4 diff --git a/Example/testHotUpdate/README.md b/Example/testHotUpdate/README.md new file mode 100644 index 0000000..ca2a81d --- /dev/null +++ b/Example/testHotUpdate/README.md @@ -0,0 +1,66 @@ +# react-native-android-detox + +[![e2e-android](https://github.com/remarkablemark/react-native-android-detox/actions/workflows/e2e-android.yml/badge.svg)](https://github.com/remarkablemark/react-native-android-detox/actions/workflows/e2e-android.yml) + +React Native Android Detox. The project has already been patched with the [additional Android configuration](https://wix.github.io/Detox/docs/introduction/project-setup/). + +## Prerequisites + +Follow the [environment setup](https://wix.github.io/Detox/docs/introduction/getting-started). + +## Install + +Clone the repository: + +```sh +git clone https://github.com/remarkablemark/react-native-android-detox.git +cd react-native-android-detox +``` + +Install the dependencies: + +```sh +yarn +``` + +## Build + +### Android (Debug) + +Build the Android debug app: + +```sh +yarn detox build --configuration android.emu.debug +``` + +### Android (Release) + +Build the Android release app: + +```sh +yarn detox build --configuration android.emu.release +``` + +## Test + +### Android (Debug) + +Start the app: + +```sh +yarn start +``` + +Run the test: + +```sh +yarn detox test --configuration android.emu.debug +``` + +### Android (Release) + +Run the test: + +```sh +yarn detox test --configuration android.emu.release +``` diff --git a/Example/testHotUpdate/android/app/_BUCK b/Example/testHotUpdate/android/app/_BUCK new file mode 100644 index 0000000..f286808 --- /dev/null +++ b/Example/testHotUpdate/android/app/_BUCK @@ -0,0 +1,55 @@ +# To learn about Buck see [Docs](https://buckbuild.com/). +# To run your application with Buck: +# - install Buck +# - `npm start` - to start the packager +# - `cd android` +# - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` +# - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck +# - `buck install -r android/app` - compile, install and run application +# + +load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") + +lib_deps = [] + +create_aar_targets(glob(["libs/*.aar"])) + +create_jar_targets(glob(["libs/*.jar"])) + +android_library( + name = "all-libs", + exported_deps = lib_deps, +) + +android_library( + name = "app-code", + srcs = glob([ + "src/main/java/**/*.java", + ]), + deps = [ + ":all-libs", + ":build_config", + ":res", + ], +) + +android_build_config( + name = "build_config", + package = "com.awesomeproject", +) + +android_resource( + name = "res", + package = "com.awesomeproject", + res = "src/main/res", +) + +android_binary( + name = "app", + keystore = "//android/keystores:debug", + manifest = "src/main/AndroidManifest.xml", + package_type = "debug", + deps = [ + ":app-code", + ], +) diff --git a/Example/testHotUpdate/android/app/build.gradle b/Example/testHotUpdate/android/app/build.gradle index 4070373..f7fbc35 100644 --- a/Example/testHotUpdate/android/app/build.gradle +++ b/Example/testHotUpdate/android/app/build.gradle @@ -1,87 +1,127 @@ apply plugin: "com.android.application" -apply plugin: "com.facebook.react" import com.android.build.OutputFile /** - * This is the configuration block to customize your React Native Android app. - * By default you don't need to apply any configuration, just uncomment the lines you need. + * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets + * and bundleReleaseJsAndAssets). + * These basically call `react-native bundle` with the correct arguments during the Android build + * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the + * bundle directly from the development server. Below you can see all the possible configurations + * and their defaults. If you decide to add a configuration block, make sure to add it before the + * `apply from: "../../node_modules/react-native/react.gradle"` line. + * + * project.ext.react = [ + * // the name of the generated asset file containing your JS bundle + * bundleAssetName: "index.android.bundle", + * + * // the entry file for bundle generation. If none specified and + * // "index.android.js" exists, it will be used. Otherwise "index.js" is + * // default. Can be overridden with ENTRY_FILE environment variable. + * entryFile: "index.android.js", + * + * // https://reactnative.dev/docs/performance#enable-the-ram-format + * bundleCommand: "ram-bundle", + * + * // whether to bundle JS and assets in debug mode + * bundleInDebug: false, + * + * // whether to bundle JS and assets in release mode + * bundleInRelease: true, + * + * // whether to bundle JS and assets in another build variant (if configured). + * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants + * // The configuration property can be in the following formats + * // 'bundleIn${productFlavor}${buildType}' + * // 'bundleIn${buildType}' + * // bundleInFreeDebug: true, + * // bundleInPaidRelease: true, + * // bundleInBeta: true, + * + * // whether to disable dev mode in custom build variants (by default only disabled in release) + * // for example: to disable dev mode in the staging build type (if configured) + * devDisabledInStaging: true, + * // The configuration property can be in the following formats + * // 'devDisabledIn${productFlavor}${buildType}' + * // 'devDisabledIn${buildType}' + * + * // the root of your project, i.e. where "package.json" lives + * root: "../../", + * + * // where to put the JS bundle asset in debug mode + * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", + * + * // where to put the JS bundle asset in release mode + * jsBundleDirRelease: "$buildDir/intermediates/assets/release", + * + * // where to put drawable resources / React Native assets, e.g. the ones you use via + * // require('./image.png')), in debug mode + * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", + * + * // where to put drawable resources / React Native assets, e.g. the ones you use via + * // require('./image.png')), in release mode + * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", + * + * // by default the gradle tasks are skipped if none of the JS files or assets change; this means + * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to + * // date; if you have any other folders that you want to ignore for performance reasons (gradle + * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ + * // for example, you might want to remove it from here. + * inputExcludes: ["android/**", "ios/**"], + * + * // override which node gets called and with what additional arguments + * nodeExecutableAndArgs: ["node"], + * + * // supply additional arguments to the packager + * extraPackagerArgs: [] + * ] */ -react { - /* Folders */ - // The root of your project, i.e. where "package.json" lives. Default is '..' - // root = file("../") - // The folder where the react-native NPM package is. Default is ../node_modules/react-native - // reactNativeDir = file("../node_modules/react-native") - // The folder where the react-native Codegen package is. Default is ../node_modules/react-native-codegen - // codegenDir = file("../node_modules/react-native-codegen") - // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js - // cliFile = file("../node_modules/react-native/cli.js") - /* Variants */ - // The list of variants to that are debuggable. For those we're going to - // skip the bundling of the JS bundle and the assets. By default is just 'debug'. - // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants. - // debuggableVariants = ["liteDebug", "prodDebug"] +project.ext.react = [ + enableHermes: false, // clean and rebuild if changing +] - /* Bundling */ - // A list containing the node command and its flags. Default is just 'node'. - // nodeExecutableAndArgs = ["node"] - // - // The command to run when bundling. By default is 'bundle' - // bundleCommand = "ram-bundle" - // - // The path to the CLI configuration file. Default is empty. - // bundleConfig = file(../rn-cli.config.js) - // - // The name of the generated asset file containing your JS bundle - // bundleAssetName = "MyApplication.android.bundle" - // - // The entry file for bundle generation. Default is 'index.android.js' or 'index.js' - // entryFile = file("../js/MyApplication.android.js") - // - // A list of extra flags to pass to the 'bundle' commands. - // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle - // extraPackagerArgs = [] - - /* Hermes Commands */ - // The hermes compiler command to run. By default it is 'hermesc' - // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc" - // - // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map" - // hermesFlags = ["-O", "-output-source-map"] -} +apply from: "../../node_modules/react-native/react.gradle" /** - * Set this to true to create four separate APKs instead of one, - * one for each native architecture. This is useful if you don't - * use App Bundles (https://developer.android.com/guide/app-bundle/) - * and want to have separate APKs to upload to the Play Store. + * Set this to true to create two separate APKs instead of one: + * - An APK that only works on ARM devices + * - An APK that only works on x86 devices + * The advantage is the size of the APK is reduced by about 4MB. + * Upload all the APKs to the Play Store and people will download + * the correct one based on the CPU architecture of their device. */ def enableSeparateBuildPerCPUArchitecture = false /** - * Set this to true to Run Proguard on Release builds to minify the Java bytecode. + * Run Proguard to shrink the Java bytecode in release builds. */ def enableProguardInReleaseBuilds = false /** - * The preferred build flavor of JavaScriptCore (JSC) + * The preferred build flavor of JavaScriptCore. * * For example, to use the international variant, you can use: * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` * * The international variant includes ICU i18n library and necessary data * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that - * give correct results when using with locales other than en-US. Note that + * give correct results when using with locales other than en-US. Note that * this variant is about 6MiB larger per architecture than default. */ def jscFlavor = 'org.webkit:android-jsc:+' /** - * Private function to get the list of Native Architectures you want to build. - * This reads the value from reactNativeArchitectures in your gradle.properties - * file and works together with the --active-arch-only flag of react-native run-android. + * Whether to enable the Hermes VM. + * + * This should be set on project.ext.react and that value will be read here. If it is not set + * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode + * and the benefits of using Hermes will therefore be sharply reduced. + */ +def enableHermes = project.ext.react.get("enableHermes", false); + +/** + * Architectures to build native code for. */ def reactNativeArchitectures() { def value = project.getProperties().get("reactNativeArchitectures") @@ -93,13 +133,82 @@ android { compileSdkVersion rootProject.ext.compileSdkVersion - namespace "com.testhotupdate" defaultConfig { - applicationId "com.testhotupdate" + applicationId "com.awesomeproject" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" + testBuildType System.getProperty('testBuildType', 'debug') + testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' + buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString() + + if (isNewArchitectureEnabled()) { + // We configure the NDK build only if you decide to opt-in for the New Architecture. + externalNativeBuild { + ndkBuild { + arguments "APP_PLATFORM=android-21", + "APP_STL=c++_shared", + "NDK_TOOLCHAIN_VERSION=clang", + "GENERATED_SRC_DIR=$buildDir/generated/source", + "PROJECT_BUILD_DIR=$buildDir", + "REACT_ANDROID_DIR=$rootDir/../node_modules/react-native/ReactAndroid", + "REACT_ANDROID_BUILD_DIR=$rootDir/../node_modules/react-native/ReactAndroid/build", + "NODE_MODULES_DIR=$rootDir/../node_modules" + cFlags "-Wall", "-Werror", "-fexceptions", "-frtti", "-DWITH_INSPECTOR=1" + cppFlags "-std=c++17" + // Make sure this target name is the same you specify inside the + // src/main/jni/Android.mk file for the `LOCAL_MODULE` variable. + targets "awesomeproject_appmodules" + } + } + if (!enableSeparateBuildPerCPUArchitecture) { + ndk { + abiFilters (*reactNativeArchitectures()) + } + } + } + } + + if (isNewArchitectureEnabled()) { + // We configure the NDK build only if you decide to opt-in for the New Architecture. + externalNativeBuild { + ndkBuild { + path "$projectDir/src/main/jni/Android.mk" + } + } + def reactAndroidProjectDir = project(':ReactAndroid').projectDir + def packageReactNdkDebugLibs = tasks.register("packageReactNdkDebugLibs", Copy) { + dependsOn(":ReactAndroid:packageReactNdkDebugLibsForBuck") + from("$reactAndroidProjectDir/src/main/jni/prebuilt/lib") + into("$buildDir/react-ndk/exported") + } + def packageReactNdkReleaseLibs = tasks.register("packageReactNdkReleaseLibs", Copy) { + dependsOn(":ReactAndroid:packageReactNdkReleaseLibsForBuck") + from("$reactAndroidProjectDir/src/main/jni/prebuilt/lib") + into("$buildDir/react-ndk/exported") + } + afterEvaluate { + // If you wish to add a custom TurboModule or component locally, + // you should uncomment this line. + // preBuild.dependsOn("generateCodegenArtifactsFromSchema") + preDebugBuild.dependsOn(packageReactNdkDebugLibs) + preReleaseBuild.dependsOn(packageReactNdkReleaseLibs) + + // Due to a bug inside AGP, we have to explicitly set a dependency + // between configureNdkBuild* tasks and the preBuild tasks. + // This can be removed once this is solved: https://issuetracker.google.com/issues/207403732 + configureNdkBuildRelease.dependsOn(preReleaseBuild) + configureNdkBuildDebug.dependsOn(preDebugBuild) + reactNativeArchitectures().each { architecture -> + tasks.findByName("configureNdkBuildDebug[${architecture}]")?.configure { + dependsOn("preDebugBuild") + } + tasks.findByName("configureNdkBuildRelease[${architecture}]")?.configure { + dependsOn("preReleaseBuild") + } + } + } } splits { @@ -128,6 +237,7 @@ android { signingConfig signingConfigs.debug minifyEnabled enableProguardInReleaseBuilds proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" + proguardFile "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules-app.pro" } } @@ -149,22 +259,67 @@ android { } dependencies { - // The version of react-native is set by the React Native Gradle Plugin - implementation("com.facebook.react:react-android") + androidTestImplementation('com.wix:detox:+') + implementation 'androidx.appcompat:appcompat:1.1.0' + implementation fileTree(dir: "libs", include: ["*.jar"]) - implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0") + //noinspection GradleDynamicVersion + implementation "com.facebook.react:react-native:+" // From node_modules + + implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" + + debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") { + exclude group:'com.facebook.fbjni' + } - debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") { + exclude group:'com.facebook.flipper' exclude group:'com.squareup.okhttp3', module:'okhttp' } - debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") - if (hermesEnabled.toBoolean()) { - implementation("com.facebook.react:hermes-android") + debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") { + exclude group:'com.facebook.flipper' + } + + if (enableHermes) { + //noinspection GradleDynamicVersion + implementation("com.facebook.react:hermes-engine:+") { // From node_modules + exclude group:'com.facebook.fbjni' + } } else { implementation jscFlavor } } +if (isNewArchitectureEnabled()) { + // If new architecture is enabled, we let you build RN from source + // Otherwise we fallback to a prebuilt .aar bundled in the NPM package. + // This will be applied to all the imported transtitive dependency. + configurations.all { + resolutionStrategy.dependencySubstitution { + substitute(module("com.facebook.react:react-native")) + .using(project(":ReactAndroid")) + .because("On New Architecture we're building React Native from source") + substitute(module("com.facebook.react:hermes-engine")) + .using(project(":ReactAndroid:hermes-engine")) + .because("On New Architecture we're building Hermes from source") + } + } +} + +// Run this once to be able to run the application with BUCK +// puts all compile dependencies into folder libs for BUCK to use +task copyDownloadableDepsToLibs(type: Copy) { + from configurations.implementation + into 'libs' +} + apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) + +def isNewArchitectureEnabled() { + // To opt-in for the New Architecture, you can either: + // - Set `newArchEnabled` to true inside the `gradle.properties` file + // - Invoke gradle with `-newArchEnabled=true` + // - Set an environment variable `ORG_GRADLE_PROJECT_newArchEnabled=true` + return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true" +} diff --git a/Example/testHotUpdate/android/app/build_defs.bzl b/Example/testHotUpdate/android/app/build_defs.bzl new file mode 100644 index 0000000..fff270f --- /dev/null +++ b/Example/testHotUpdate/android/app/build_defs.bzl @@ -0,0 +1,19 @@ +"""Helper definitions to glob .aar and .jar targets""" + +def create_aar_targets(aarfiles): + for aarfile in aarfiles: + name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] + lib_deps.append(":" + name) + android_prebuilt_aar( + name = name, + aar = aarfile, + ) + +def create_jar_targets(jarfiles): + for jarfile in jarfiles: + name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] + lib_deps.append(":" + name) + prebuilt_jar( + name = name, + binary_jar = jarfile, + ) diff --git a/Example/testHotUpdate/android/app/src/androidTest/java/com/awesomeproject/DetoxTest.java b/Example/testHotUpdate/android/app/src/androidTest/java/com/awesomeproject/DetoxTest.java new file mode 100644 index 0000000..9df93f6 --- /dev/null +++ b/Example/testHotUpdate/android/app/src/androidTest/java/com/awesomeproject/DetoxTest.java @@ -0,0 +1,29 @@ +package com.awesomeproject; + +import com.wix.detox.Detox; +import com.wix.detox.config.DetoxConfig; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.runner.RunWith; + +import androidx.test.ext.junit.runners.AndroidJUnit4; +import androidx.test.filters.LargeTest; +import androidx.test.rule.ActivityTestRule; + +@RunWith(AndroidJUnit4.class) +@LargeTest +public class DetoxTest { + @Rule + public ActivityTestRule mActivityRule = new ActivityTestRule<>(MainActivity.class, false, false); + + @Test + public void runDetoxTests() { + DetoxConfig detoxConfig = new DetoxConfig(); + detoxConfig.idlePolicyConfig.masterTimeoutSec = 90; + detoxConfig.idlePolicyConfig.idleResourceTimeoutSec = 60; + detoxConfig.rnContextLoadTimeoutSec = (BuildConfig.DEBUG ? 180 : 60); + + Detox.runTests(mActivityRule, detoxConfig); + } +} diff --git a/Example/testHotUpdate/android/app/src/debug/java/com/testhotupdate/ReactNativeFlipper.java b/Example/testHotUpdate/android/app/src/debug/java/com/awesomeproject/ReactNativeFlipper.java similarity index 93% rename from Example/testHotUpdate/android/app/src/debug/java/com/testhotupdate/ReactNativeFlipper.java rename to Example/testHotUpdate/android/app/src/debug/java/com/awesomeproject/ReactNativeFlipper.java index 2a7f9f9..0f56fa6 100644 --- a/Example/testHotUpdate/android/app/src/debug/java/com/testhotupdate/ReactNativeFlipper.java +++ b/Example/testHotUpdate/android/app/src/debug/java/com/awesomeproject/ReactNativeFlipper.java @@ -4,7 +4,7 @@ *

This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ -package com.testhotupdate; +package com.awesomeproject; import android.content.Context; import com.facebook.flipper.android.AndroidFlipperClient; @@ -17,6 +17,7 @@ import com.facebook.flipper.plugins.inspector.DescriptorMapping; import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin; import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor; import com.facebook.flipper.plugins.network.NetworkFlipperPlugin; +import com.facebook.flipper.plugins.react.ReactFlipperPlugin; import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin; import com.facebook.react.ReactInstanceEventListener; import com.facebook.react.ReactInstanceManager; @@ -24,16 +25,13 @@ import com.facebook.react.bridge.ReactContext; import com.facebook.react.modules.network.NetworkingModule; import okhttp3.OkHttpClient; -/** - * Class responsible of loading Flipper inside your React Native application. This is the debug - * flavor of it. Here you can add your own plugins and customize the Flipper setup. - */ public class ReactNativeFlipper { public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) { if (FlipperUtils.shouldEnableFlipper(context)) { final FlipperClient client = AndroidFlipperClient.getInstance(context); client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults())); + client.addPlugin(new ReactFlipperPlugin()); client.addPlugin(new DatabasesFlipperPlugin(context)); client.addPlugin(new SharedPreferencesFlipperPlugin(context)); client.addPlugin(CrashReporterPlugin.getInstance()); diff --git a/Example/testHotUpdate/android/app/src/main/AndroidManifest.xml b/Example/testHotUpdate/android/app/src/main/AndroidManifest.xml index 4122f36..8ad92a2 100644 --- a/Example/testHotUpdate/android/app/src/main/AndroidManifest.xml +++ b/Example/testHotUpdate/android/app/src/main/AndroidManifest.xml @@ -1,4 +1,5 @@ - + @@ -8,7 +9,8 @@ android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" - android:theme="@style/AppTheme"> + android:theme="@style/AppTheme" + android:networkSecurityConfig="@xml/network_security_config"> getPackages() { + @SuppressWarnings("UnnecessaryLocalVariable") + List packages = new PackageList(this).getPackages(); + // Packages that cannot be autolinked yet can be added manually here, for example: + // packages.add(new MyReactNativePackage()); + return packages; + } + + @Override + protected String getJSMainModuleName() { + return "index"; + } + }; + + private final ReactNativeHost mNewArchitectureNativeHost = + new MainApplicationReactNativeHost(this); + + @Override + public ReactNativeHost getReactNativeHost() { + if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { + return mNewArchitectureNativeHost; + } else { + return mReactNativeHost; + } + } + + @Override + public void onCreate() { + super.onCreate(); + // If you opted-in for the New Architecture, we enable the TurboModule system + ReactFeatureFlags.useTurboModules = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED; + SoLoader.init(this, /* native exopackage */ false); + initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); + } + + /** + * Loads Flipper in React Native templates. Call this in the onCreate method with something like + * initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); + * + * @param context + * @param reactInstanceManager + */ + private static void initializeFlipper( + Context context, ReactInstanceManager reactInstanceManager) { + if (BuildConfig.DEBUG) { + try { + /* + We use reflection here to pick up the class that initializes Flipper, + since Flipper library is not available in release mode + */ + Class aClass = Class.forName("com.awesomeproject.ReactNativeFlipper"); + aClass + .getMethod("initializeFlipper", Context.class, ReactInstanceManager.class) + .invoke(null, context, reactInstanceManager); + } catch (ClassNotFoundException e) { + e.printStackTrace(); + } catch (NoSuchMethodException e) { + e.printStackTrace(); + } catch (IllegalAccessException e) { + e.printStackTrace(); + } catch (InvocationTargetException e) { + e.printStackTrace(); + } + } + } +} diff --git a/Example/testHotUpdate/android/app/src/main/java/com/awesomeproject/newarchitecture/MainApplicationReactNativeHost.java b/Example/testHotUpdate/android/app/src/main/java/com/awesomeproject/newarchitecture/MainApplicationReactNativeHost.java new file mode 100644 index 0000000..b451ead --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/java/com/awesomeproject/newarchitecture/MainApplicationReactNativeHost.java @@ -0,0 +1,116 @@ +package com.awesomeproject.newarchitecture; + +import android.app.Application; +import androidx.annotation.NonNull; +import com.facebook.react.PackageList; +import com.facebook.react.ReactInstanceManager; +import com.facebook.react.ReactNativeHost; +import com.facebook.react.ReactPackage; +import com.facebook.react.ReactPackageTurboModuleManagerDelegate; +import com.facebook.react.bridge.JSIModulePackage; +import com.facebook.react.bridge.JSIModuleProvider; +import com.facebook.react.bridge.JSIModuleSpec; +import com.facebook.react.bridge.JSIModuleType; +import com.facebook.react.bridge.JavaScriptContextHolder; +import com.facebook.react.bridge.ReactApplicationContext; +import com.facebook.react.bridge.UIManager; +import com.facebook.react.fabric.ComponentFactory; +import com.facebook.react.fabric.CoreComponentsRegistry; +import com.facebook.react.fabric.FabricJSIModuleProvider; +import com.facebook.react.fabric.ReactNativeConfig; +import com.facebook.react.uimanager.ViewManagerRegistry; +import com.awesomeproject.BuildConfig; +import com.awesomeproject.newarchitecture.components.MainComponentsRegistry; +import com.awesomeproject.newarchitecture.modules.MainApplicationTurboModuleManagerDelegate; +import java.util.ArrayList; +import java.util.List; + +/** + * A {@link ReactNativeHost} that helps you load everything needed for the New Architecture, both + * TurboModule delegates and the Fabric Renderer. + * + *

Please note that this class is used ONLY if you opt-in for the New Architecture (see the + * `newArchEnabled` property). Is ignored otherwise. + */ +public class MainApplicationReactNativeHost extends ReactNativeHost { + public MainApplicationReactNativeHost(Application application) { + super(application); + } + + @Override + public boolean getUseDeveloperSupport() { + return BuildConfig.DEBUG; + } + + @Override + protected List getPackages() { + List packages = new PackageList(this).getPackages(); + // Packages that cannot be autolinked yet can be added manually here, for example: + // packages.add(new MyReactNativePackage()); + // TurboModules must also be loaded here providing a valid TurboReactPackage implementation: + // packages.add(new TurboReactPackage() { ... }); + // If you have custom Fabric Components, their ViewManagers should also be loaded here + // inside a ReactPackage. + return packages; + } + + @Override + protected String getJSMainModuleName() { + return "index"; + } + + @NonNull + @Override + protected ReactPackageTurboModuleManagerDelegate.Builder + getReactPackageTurboModuleManagerDelegateBuilder() { + // Here we provide the ReactPackageTurboModuleManagerDelegate Builder. This is necessary + // for the new architecture and to use TurboModules correctly. + return new MainApplicationTurboModuleManagerDelegate.Builder(); + } + + @Override + protected JSIModulePackage getJSIModulePackage() { + return new JSIModulePackage() { + @Override + public List getJSIModules( + final ReactApplicationContext reactApplicationContext, + final JavaScriptContextHolder jsContext) { + final List specs = new ArrayList<>(); + + // Here we provide a new JSIModuleSpec that will be responsible of providing the + // custom Fabric Components. + specs.add( + new JSIModuleSpec() { + @Override + public JSIModuleType getJSIModuleType() { + return JSIModuleType.UIManager; + } + + @Override + public JSIModuleProvider getJSIModuleProvider() { + final ComponentFactory componentFactory = new ComponentFactory(); + CoreComponentsRegistry.register(componentFactory); + + // Here we register a Components Registry. + // The one that is generated with the template contains no components + // and just provides you the one from React Native core. + MainComponentsRegistry.register(componentFactory); + + final ReactInstanceManager reactInstanceManager = getReactInstanceManager(); + + ViewManagerRegistry viewManagerRegistry = + new ViewManagerRegistry( + reactInstanceManager.getOrCreateViewManagers(reactApplicationContext)); + + return new FabricJSIModuleProvider( + reactApplicationContext, + componentFactory, + ReactNativeConfig.DEFAULT_CONFIG, + viewManagerRegistry); + } + }); + return specs; + } + }; + } +} diff --git a/Example/testHotUpdate/android/app/src/main/java/com/awesomeproject/newarchitecture/components/MainComponentsRegistry.java b/Example/testHotUpdate/android/app/src/main/java/com/awesomeproject/newarchitecture/components/MainComponentsRegistry.java new file mode 100644 index 0000000..a2b9e1e --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/java/com/awesomeproject/newarchitecture/components/MainComponentsRegistry.java @@ -0,0 +1,36 @@ +package com.awesomeproject.newarchitecture.components; + +import com.facebook.jni.HybridData; +import com.facebook.proguard.annotations.DoNotStrip; +import com.facebook.react.fabric.ComponentFactory; +import com.facebook.soloader.SoLoader; + +/** + * Class responsible to load the custom Fabric Components. This class has native methods and needs a + * corresponding C++ implementation/header file to work correctly (already placed inside the jni/ + * folder for you). + * + *

Please note that this class is used ONLY if you opt-in for the New Architecture (see the + * `newArchEnabled` property). Is ignored otherwise. + */ +@DoNotStrip +public class MainComponentsRegistry { + static { + SoLoader.loadLibrary("fabricjni"); + } + + @DoNotStrip private final HybridData mHybridData; + + @DoNotStrip + private native HybridData initHybrid(ComponentFactory componentFactory); + + @DoNotStrip + private MainComponentsRegistry(ComponentFactory componentFactory) { + mHybridData = initHybrid(componentFactory); + } + + @DoNotStrip + public static MainComponentsRegistry register(ComponentFactory componentFactory) { + return new MainComponentsRegistry(componentFactory); + } +} diff --git a/Example/testHotUpdate/android/app/src/main/java/com/awesomeproject/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java b/Example/testHotUpdate/android/app/src/main/java/com/awesomeproject/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java new file mode 100644 index 0000000..4e6e1ce --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/java/com/awesomeproject/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java @@ -0,0 +1,48 @@ +package com.awesomeproject.newarchitecture.modules; + +import com.facebook.jni.HybridData; +import com.facebook.react.ReactPackage; +import com.facebook.react.ReactPackageTurboModuleManagerDelegate; +import com.facebook.react.bridge.ReactApplicationContext; +import com.facebook.soloader.SoLoader; +import java.util.List; + +/** + * Class responsible to load the TurboModules. This class has native methods and needs a + * corresponding C++ implementation/header file to work correctly (already placed inside the jni/ + * folder for you). + * + *

Please note that this class is used ONLY if you opt-in for the New Architecture (see the + * `newArchEnabled` property). Is ignored otherwise. + */ +public class MainApplicationTurboModuleManagerDelegate + extends ReactPackageTurboModuleManagerDelegate { + + private static volatile boolean sIsSoLibraryLoaded; + + protected MainApplicationTurboModuleManagerDelegate( + ReactApplicationContext reactApplicationContext, List packages) { + super(reactApplicationContext, packages); + } + + protected native HybridData initHybrid(); + + native boolean canCreateTurboModule(String moduleName); + + public static class Builder extends ReactPackageTurboModuleManagerDelegate.Builder { + protected MainApplicationTurboModuleManagerDelegate build( + ReactApplicationContext context, List packages) { + return new MainApplicationTurboModuleManagerDelegate(context, packages); + } + } + + @Override + protected synchronized void maybeLoadOtherSoLibraries() { + if (!sIsSoLibraryLoaded) { + // If you change the name of your application .so file in the Android.mk file, + // make sure you update the name here as well. + SoLoader.loadLibrary("awesomeproject_appmodules"); + sIsSoLibraryLoaded = true; + } + } +} diff --git a/Example/testHotUpdate/android/app/src/main/java/com/testhotupdate/MainActivity.java b/Example/testHotUpdate/android/app/src/main/java/com/testhotupdate/MainActivity.java deleted file mode 100644 index 3a3fd67..0000000 --- a/Example/testHotUpdate/android/app/src/main/java/com/testhotupdate/MainActivity.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.testhotupdate; - -import com.facebook.react.ReactActivity; -import com.facebook.react.ReactActivityDelegate; -import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint; -import com.facebook.react.defaults.DefaultReactActivityDelegate; - -public class MainActivity extends ReactActivity { - - /** - * Returns the name of the main component registered from JavaScript. This is used to schedule - * rendering of the component. - */ - @Override - protected String getMainComponentName() { - return "testHotupdate"; - } - - /** - * Returns the instance of the {@link ReactActivityDelegate}. Here we use a util class {@link - * DefaultReactActivityDelegate} which allows you to easily enable Fabric and Concurrent React - * (aka React 18) with two boolean flags. - */ - @Override - protected ReactActivityDelegate createReactActivityDelegate() { - return new DefaultReactActivityDelegate( - this, - getMainComponentName(), - // If you opted-in for the New Architecture, we enable the Fabric Renderer. - DefaultNewArchitectureEntryPoint.getFabricEnabled(), // fabricEnabled - // If you opted-in for the New Architecture, we enable Concurrent React (i.e. React 18). - DefaultNewArchitectureEntryPoint.getConcurrentReactEnabled() // concurrentRootEnabled - ); - } -} diff --git a/Example/testHotUpdate/android/app/src/main/java/com/testhotupdate/MainApplication.java b/Example/testHotUpdate/android/app/src/main/java/com/testhotupdate/MainApplication.java deleted file mode 100644 index f2b6a7b..0000000 --- a/Example/testHotUpdate/android/app/src/main/java/com/testhotupdate/MainApplication.java +++ /dev/null @@ -1,68 +0,0 @@ -package com.testhotupdate; - -import android.app.Application; -import com.facebook.react.PackageList; -import com.facebook.react.ReactApplication; -import com.facebook.react.ReactNativeHost; -import com.facebook.react.ReactPackage; -import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint; -import com.facebook.react.defaults.DefaultReactNativeHost; -import com.facebook.soloader.SoLoader; -import java.util.List; - -import cn.reactnative.modules.update.UpdateContext; - -public class MainApplication extends Application implements ReactApplication { - - private final ReactNativeHost mReactNativeHost = - new DefaultReactNativeHost(this) { - @Override - protected String getJSBundleFile() { - return UpdateContext.getBundleUrl(MainApplication.this); - } - @Override - public boolean getUseDeveloperSupport() { - return BuildConfig.DEBUG; - } - - @Override - protected List getPackages() { - @SuppressWarnings("UnnecessaryLocalVariable") - List packages = new PackageList(this).getPackages(); - // Packages that cannot be autolinked yet can be added manually here, for example: - // packages.add(new MyReactNativePackage()); - return packages; - } - - @Override - protected String getJSMainModuleName() { - return "index"; - } - - @Override - protected boolean isNewArchEnabled() { - return BuildConfig.IS_NEW_ARCHITECTURE_ENABLED; - } - - @Override - protected Boolean isHermesEnabled() { - return BuildConfig.IS_HERMES_ENABLED; - } - }; - - @Override - public ReactNativeHost getReactNativeHost() { - return mReactNativeHost; - } - - @Override - public void onCreate() { - super.onCreate(); - SoLoader.init(this, /* native exopackage */ false); - if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { - // If you opted-in for the New Architecture, we load the native entry point for this app. - DefaultNewArchitectureEntryPoint.load(); - } - ReactNativeFlipper.initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); - } -} diff --git a/Example/testHotUpdate/android/app/src/main/jni/Android.mk b/Example/testHotUpdate/android/app/src/main/jni/Android.mk new file mode 100644 index 0000000..f75b388 --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/jni/Android.mk @@ -0,0 +1,48 @@ +THIS_DIR := $(call my-dir) + +include $(REACT_ANDROID_DIR)/Android-prebuilt.mk + +# If you wish to add a custom TurboModule or Fabric component in your app you +# will have to include the following autogenerated makefile. +# include $(GENERATED_SRC_DIR)/codegen/jni/Android.mk +include $(CLEAR_VARS) + +LOCAL_PATH := $(THIS_DIR) + +# You can customize the name of your application .so file here. +LOCAL_MODULE := awesomeproject_appmodules + +LOCAL_C_INCLUDES := $(LOCAL_PATH) +LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) + +# If you wish to add a custom TurboModule or Fabric component in your app you +# will have to uncomment those lines to include the generated source +# files from the codegen (placed in $(GENERATED_SRC_DIR)/codegen/jni) +# +# LOCAL_C_INCLUDES += $(GENERATED_SRC_DIR)/codegen/jni +# LOCAL_SRC_FILES += $(wildcard $(GENERATED_SRC_DIR)/codegen/jni/*.cpp) +# LOCAL_EXPORT_C_INCLUDES += $(GENERATED_SRC_DIR)/codegen/jni + +# Here you should add any native library you wish to depend on. +LOCAL_SHARED_LIBRARIES := \ + libfabricjni \ + libfbjni \ + libfolly_runtime \ + libglog \ + libjsi \ + libreact_codegen_rncore \ + libreact_debug \ + libreact_nativemodule_core \ + libreact_render_componentregistry \ + libreact_render_core \ + libreact_render_debug \ + libreact_render_graphics \ + librrc_view \ + libruntimeexecutor \ + libturbomodulejsijni \ + libyoga + +LOCAL_CFLAGS := -DLOG_TAG=\"ReactNative\" -fexceptions -frtti -std=c++17 -Wall + +include $(BUILD_SHARED_LIBRARY) diff --git a/Example/testHotUpdate/android/app/src/main/jni/MainApplicationModuleProvider.cpp b/Example/testHotUpdate/android/app/src/main/jni/MainApplicationModuleProvider.cpp new file mode 100644 index 0000000..0ac23cc --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/jni/MainApplicationModuleProvider.cpp @@ -0,0 +1,24 @@ +#include "MainApplicationModuleProvider.h" + +#include + +namespace facebook { +namespace react { + +std::shared_ptr MainApplicationModuleProvider( + const std::string moduleName, + const JavaTurboModule::InitParams ¶ms) { + // Here you can provide your own module provider for TurboModules coming from + // either your application or from external libraries. The approach to follow + // is similar to the following (for a library called `samplelibrary`: + // + // auto module = samplelibrary_ModuleProvider(moduleName, params); + // if (module != nullptr) { + // return module; + // } + // return rncore_ModuleProvider(moduleName, params); + return rncore_ModuleProvider(moduleName, params); +} + +} // namespace react +} // namespace facebook diff --git a/Example/testHotUpdate/android/app/src/main/jni/MainApplicationModuleProvider.h b/Example/testHotUpdate/android/app/src/main/jni/MainApplicationModuleProvider.h new file mode 100644 index 0000000..0fa43fa --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/jni/MainApplicationModuleProvider.h @@ -0,0 +1,16 @@ +#pragma once + +#include +#include + +#include + +namespace facebook { +namespace react { + +std::shared_ptr MainApplicationModuleProvider( + const std::string moduleName, + const JavaTurboModule::InitParams ¶ms); + +} // namespace react +} // namespace facebook diff --git a/Example/testHotUpdate/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp b/Example/testHotUpdate/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp new file mode 100644 index 0000000..dbbdc3d --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp @@ -0,0 +1,45 @@ +#include "MainApplicationTurboModuleManagerDelegate.h" +#include "MainApplicationModuleProvider.h" + +namespace facebook { +namespace react { + +jni::local_ref +MainApplicationTurboModuleManagerDelegate::initHybrid( + jni::alias_ref) { + return makeCxxInstance(); +} + +void MainApplicationTurboModuleManagerDelegate::registerNatives() { + registerHybrid({ + makeNativeMethod( + "initHybrid", MainApplicationTurboModuleManagerDelegate::initHybrid), + makeNativeMethod( + "canCreateTurboModule", + MainApplicationTurboModuleManagerDelegate::canCreateTurboModule), + }); +} + +std::shared_ptr +MainApplicationTurboModuleManagerDelegate::getTurboModule( + const std::string name, + const std::shared_ptr jsInvoker) { + // Not implemented yet: provide pure-C++ NativeModules here. + return nullptr; +} + +std::shared_ptr +MainApplicationTurboModuleManagerDelegate::getTurboModule( + const std::string name, + const JavaTurboModule::InitParams ¶ms) { + return MainApplicationModuleProvider(name, params); +} + +bool MainApplicationTurboModuleManagerDelegate::canCreateTurboModule( + std::string name) { + return getTurboModule(name, nullptr) != nullptr || + getTurboModule(name, {.moduleName = name}) != nullptr; +} + +} // namespace react +} // namespace facebook diff --git a/Example/testHotUpdate/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h b/Example/testHotUpdate/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h new file mode 100644 index 0000000..9a864cc --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h @@ -0,0 +1,38 @@ +#include +#include + +#include +#include + +namespace facebook { +namespace react { + +class MainApplicationTurboModuleManagerDelegate + : public jni::HybridClass< + MainApplicationTurboModuleManagerDelegate, + TurboModuleManagerDelegate> { + public: + // Adapt it to the package you used for your Java class. + static constexpr auto kJavaDescriptor = + "Lcom/awesomeproject/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate;"; + + static jni::local_ref initHybrid(jni::alias_ref); + + static void registerNatives(); + + std::shared_ptr getTurboModule( + const std::string name, + const std::shared_ptr jsInvoker) override; + std::shared_ptr getTurboModule( + const std::string name, + const JavaTurboModule::InitParams ¶ms) override; + + /** + * Test-only method. Allows user to verify whether a TurboModule can be + * created by instances of this class. + */ + bool canCreateTurboModule(std::string name); +}; + +} // namespace react +} // namespace facebook diff --git a/Example/testHotUpdate/android/app/src/main/jni/MainComponentsRegistry.cpp b/Example/testHotUpdate/android/app/src/main/jni/MainComponentsRegistry.cpp new file mode 100644 index 0000000..8f7edff --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/jni/MainComponentsRegistry.cpp @@ -0,0 +1,61 @@ +#include "MainComponentsRegistry.h" + +#include +#include +#include +#include + +namespace facebook { +namespace react { + +MainComponentsRegistry::MainComponentsRegistry(ComponentFactory *delegate) {} + +std::shared_ptr +MainComponentsRegistry::sharedProviderRegistry() { + auto providerRegistry = CoreComponentsRegistry::sharedProviderRegistry(); + + // Custom Fabric Components go here. You can register custom + // components coming from your App or from 3rd party libraries here. + // + // providerRegistry->add(concreteComponentDescriptorProvider< + // AocViewerComponentDescriptor>()); + return providerRegistry; +} + +jni::local_ref +MainComponentsRegistry::initHybrid( + jni::alias_ref, + ComponentFactory *delegate) { + auto instance = makeCxxInstance(delegate); + + auto buildRegistryFunction = + [](EventDispatcher::Weak const &eventDispatcher, + ContextContainer::Shared const &contextContainer) + -> ComponentDescriptorRegistry::Shared { + auto registry = MainComponentsRegistry::sharedProviderRegistry() + ->createComponentDescriptorRegistry( + {eventDispatcher, contextContainer}); + + auto mutableRegistry = + std::const_pointer_cast(registry); + + mutableRegistry->setFallbackComponentDescriptor( + std::make_shared( + ComponentDescriptorParameters{ + eventDispatcher, contextContainer, nullptr})); + + return registry; + }; + + delegate->buildRegistryFunction = buildRegistryFunction; + return instance; +} + +void MainComponentsRegistry::registerNatives() { + registerHybrid({ + makeNativeMethod("initHybrid", MainComponentsRegistry::initHybrid), + }); +} + +} // namespace react +} // namespace facebook diff --git a/Example/testHotUpdate/android/app/src/main/jni/MainComponentsRegistry.h b/Example/testHotUpdate/android/app/src/main/jni/MainComponentsRegistry.h new file mode 100644 index 0000000..20ad4b8 --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/jni/MainComponentsRegistry.h @@ -0,0 +1,32 @@ +#pragma once + +#include +#include +#include +#include + +namespace facebook { +namespace react { + +class MainComponentsRegistry + : public facebook::jni::HybridClass { + public: + // Adapt it to the package you used for your Java class. + constexpr static auto kJavaDescriptor = + "Lcom/awesomeproject/newarchitecture/components/MainComponentsRegistry;"; + + static void registerNatives(); + + MainComponentsRegistry(ComponentFactory *delegate); + + private: + static std::shared_ptr + sharedProviderRegistry(); + + static jni::local_ref initHybrid( + jni::alias_ref, + ComponentFactory *delegate); +}; + +} // namespace react +} // namespace facebook diff --git a/Example/testHotUpdate/android/app/src/main/jni/OnLoad.cpp b/Example/testHotUpdate/android/app/src/main/jni/OnLoad.cpp new file mode 100644 index 0000000..c569b6e --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/jni/OnLoad.cpp @@ -0,0 +1,11 @@ +#include +#include "MainApplicationTurboModuleManagerDelegate.h" +#include "MainComponentsRegistry.h" + +JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *) { + return facebook::jni::initialize(vm, [] { + facebook::react::MainApplicationTurboModuleManagerDelegate:: + registerNatives(); + facebook::react::MainComponentsRegistry::registerNatives(); + }); +} diff --git a/Example/testHotUpdate/android/app/src/main/res/values/strings.xml b/Example/testHotUpdate/android/app/src/main/res/values/strings.xml index 54d1850..cad480c 100644 --- a/Example/testHotUpdate/android/app/src/main/res/values/strings.xml +++ b/Example/testHotUpdate/android/app/src/main/res/values/strings.xml @@ -1,3 +1,3 @@ - testHotupdate + AwesomeProject diff --git a/Example/testHotUpdate/android/app/src/main/res/xml/network_security_config.xml b/Example/testHotUpdate/android/app/src/main/res/xml/network_security_config.xml new file mode 100644 index 0000000..881c837 --- /dev/null +++ b/Example/testHotUpdate/android/app/src/main/res/xml/network_security_config.xml @@ -0,0 +1,8 @@ + + + + 10.0.2.2 + localhost + cos.pgyer.com + + diff --git a/Example/testHotUpdate/android/app/src/release/java/com/testhotupdate/ReactNativeFlipper.java b/Example/testHotUpdate/android/app/src/release/java/com/testhotupdate/ReactNativeFlipper.java deleted file mode 100644 index 39f3bc2..0000000 --- a/Example/testHotUpdate/android/app/src/release/java/com/testhotupdate/ReactNativeFlipper.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - *

This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. - */ -package com.testhotupdate; - -import android.content.Context; -import com.facebook.react.ReactInstanceManager; - -/** - * Class responsible of loading Flipper inside your React Native application. This is the release - * flavor of it so it's empty as we don't want to load Flipper. - */ -public class ReactNativeFlipper { - public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) { - // Do nothing as we don't want to initialize Flipper on Release. - } -} diff --git a/Example/testHotUpdate/android/build.gradle b/Example/testHotUpdate/android/build.gradle index 67d887b..6755150 100644 --- a/Example/testHotUpdate/android/build.gradle +++ b/Example/testHotUpdate/android/build.gradle @@ -1,21 +1,58 @@ +import org.apache.tools.ant.taskdefs.condition.Os + // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext { - buildToolsVersion = "33.0.0" + buildToolsVersion = "31.0.0" minSdkVersion = 21 - compileSdkVersion = 33 - targetSdkVersion = 33 + compileSdkVersion = 31 + targetSdkVersion = 31 + kotlinVersion = '1.7.10' - // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP. - ndkVersion = "23.1.7779620" + if (System.properties['os.arch'] == "aarch64") { + // For M1 Users we need to use the NDK 24 which added support for aarch64 + ndkVersion = "24.0.8215888" + } else { + // Otherwise we default to the side-by-side NDK version from AGP. + ndkVersion = "21.4.7075529" + } } repositories { google() mavenCentral() } dependencies { - classpath("com.android.tools.build:gradle:7.3.1") + classpath("com.android.tools.build:gradle:7.1.1") classpath("com.facebook.react:react-native-gradle-plugin") + classpath("de.undercouch:gradle-download-task:5.0.1") + // NOTE: Do not place your application dependencies here; they belong + // in the individual module build.gradle files + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") + } +} + +allprojects { + repositories { + maven { + // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm + url("$rootDir/../node_modules/react-native/android") + } + maven { + // Android JSC is installed from npm + url("$rootDir/../node_modules/jsc-android/dist") + } + mavenCentral { + // We don't want to fetch react-native from Maven Central as there are + // older versions over there. + content { + excludeGroup "com.facebook.react" + } + } + google() + maven { + url("$rootDir/../node_modules/detox/Detox-android") + } + maven { url 'https://www.jitpack.io' } } } diff --git a/Example/testHotUpdate/android/gradle.properties b/Example/testHotUpdate/android/gradle.properties index cc45099..fa4feae 100644 --- a/Example/testHotUpdate/android/gradle.properties +++ b/Example/testHotUpdate/android/gradle.properties @@ -38,7 +38,3 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 # to write custom TurboModules/Fabric components OR use libraries that # are providing them. newArchEnabled=false - -# Use this property to enable or disable the Hermes JS engine. -# If set to false, you will be using JSC instead. -hermesEnabled=true \ No newline at end of file diff --git a/Example/testHotUpdate/android/gradle/wrapper/gradle-wrapper.jar b/Example/testHotUpdate/android/gradle/wrapper/gradle-wrapper.jar index 41d9927..7454180 100644 Binary files a/Example/testHotUpdate/android/gradle/wrapper/gradle-wrapper.jar and b/Example/testHotUpdate/android/gradle/wrapper/gradle-wrapper.jar differ diff --git a/Example/testHotUpdate/android/gradle/wrapper/gradle-wrapper.properties b/Example/testHotUpdate/android/gradle/wrapper/gradle-wrapper.properties index 8fad3f5..669386b 100644 --- a/Example/testHotUpdate/android/gradle/wrapper/gradle-wrapper.properties +++ b/Example/testHotUpdate/android/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/Example/testHotUpdate/android/settings.gradle b/Example/testHotUpdate/android/settings.gradle index 88c9978..df60757 100644 --- a/Example/testHotUpdate/android/settings.gradle +++ b/Example/testHotUpdate/android/settings.gradle @@ -1,4 +1,11 @@ -rootProject.name = 'testHotupdate' +rootProject.name = 'AwesomeProject' apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) include ':app' includeBuild('../node_modules/react-native-gradle-plugin') + +if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true") { + include(":ReactAndroid") + project(":ReactAndroid").projectDir = file('../node_modules/react-native/ReactAndroid') + include(":ReactAndroid:hermes-engine") + project(":ReactAndroid:hermes-engine").projectDir = file('../node_modules/react-native/ReactAndroid/hermes-engine') +} diff --git a/Example/testHotUpdate/app.json b/Example/testHotUpdate/app.json index b685bd1..af2b546 100644 --- a/Example/testHotUpdate/app.json +++ b/Example/testHotUpdate/app.json @@ -1,4 +1,4 @@ { - "name": "testHotupdate", - "displayName": "testHotupdate" + "name": "AwesomeProject", + "displayName": "AwesomeProject" } \ No newline at end of file diff --git a/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-30-12Z/cf35f38f-f35b-6c2b-412c-d8942bb92b27.83339.detox.jsonl b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-30-12Z/cf35f38f-f35b-6c2b-412c-d8942bb92b27.83339.detox.jsonl new file mode 100644 index 0000000..e9be380 --- /dev/null +++ b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-30-12Z/cf35f38f-f35b-6c2b-412c-d8942bb92b27.83339.detox.jsonl @@ -0,0 +1,29 @@ +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"lifecycle","ph":"B","tid":0,"cwd":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate","data":{"id":"cf35f38f-f35b-6c2b-412c-d8942bb92b27","detoxConfig":{"configurationName":"android.emu.debug","apps":{"default":{"type":"android.apk","binaryPath":"android/app/build/outputs/apk/debug/app-debug.apk","build":"cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug","reversePorts":[8081]}},"artifacts":{"rootDir":"artifacts/android.emu.debug.2023-04-01 15-30-12Z","plugins":{"log":{"enabled":true,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":false,"keepOnlyFailedTestsArtifacts":false},"video":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"uiHierarchy":{"enabled":false,"keepOnlyFailedTestsArtifacts":false}}},"behavior":{"init":{"keepLockFile":false,"reinstallApp":true,"exposeGlobals":true},"cleanup":{"shutdownDevice":false},"launchApp":"auto"},"cli":{"recordLogs":"all","configuration":"android.emu.debug","headless":true,"start":true},"device":{"type":"android.emulator","device":{"avdName":"Pixel_3a_API_33_arm64-v8a"},"headless":true},"logger":{"level":"info","overrideConsole":true,"options":{"showLoggerName":true,"showPid":true,"showLevel":false,"showMetadata":false,"basepath":"/Users/arvinh/Desktop/wooza/react-native-pushy/node_modules/detox/src","prefixers":{},"stringifiers":{}}},"testRunner":{"retries":0,"forwardEnv":false,"bail":false,"jest":{"setupTimeout":120000,"teardownTimeout":30000,"retryAfterCircusRetries":false,"reportWorkerAssign":true},"args":{"$0":"jest","_":[],"config":"e2e/jest.config.js","--":[]}},"session":{"autoStart":true,"debugSynchronization":10000}},"detoxIPCServer":"primary-83339","testResults":[],"testSessionIndex":0,"workersCount":0},"msg":"../../node_modules/.bin/detox test --configuration android.emu.debug --headless --record-logs all","time":"2023-04-01T15:30:12.537Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-83339","time":"2023-04-01T15:30:12.542Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"starting server on /tmp/detox.primary-83339 ","time":"2023-04-01T15:30:12.543Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"starting TLS server false","time":"2023-04-01T15:30:12.543Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"starting server as Unix || Windows Socket","time":"2023-04-01T15:30:12.543Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":20,"cat":"ws-server,ws","ph":"i","tid":0,"msg":"Detox server listening on localhost:55002...","time":"2023-04-01T15:30:12.549Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"lifecycle","ph":"i","tid":0,"msg":"Serialized the session state at: /private/var/folders/wm/91840x650t10w1m7sq830mp80000gn/T/cf35f38f-f35b-6c2b-412c-d8942bb92b27.detox.json","time":"2023-04-01T15:30:12.550Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":30,"cat":"lifecycle,cli","ph":"B","tid":0,"env":{},"msg":"jest --config e2e/jest.config.js","time":"2023-04-01T15:30:12.551Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"## socket connection to server detected ##","time":"2023-04-01T15:30:14.526Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"received event of : registerContext { id: \u001b[32m'secondary-83344'\u001b[39m }","time":"2023-04-01T15:30:14.528Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"dispatching event to socket : registerContextDone { testResults: [], testSessionIndex: \u001b[33m0\u001b[39m }","time":"2023-04-01T15:30:14.528Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"received event of : registerWorker { workerId: \u001b[32m'w1'\u001b[39m }","time":"2023-04-01T15:30:14.576Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"dispatching event to socket : registerWorkerDone { workersCount: \u001b[33m1\u001b[39m }","time":"2023-04-01T15:30:14.576Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"broadcasting event to all known sockets listening to /tmp/detox.primary-83339 : sessionStateUpdate { workersCount: \u001b[33m1\u001b[39m }","time":"2023-04-01T15:30:14.576Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":20,"cat":"ws-server,ws","ph":"B","tid":0,"id":55009,"msg":"connection :55002<->:55009","time":"2023-04-01T15:30:14.659Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws","ph":"i","tid":0,"id":55009,"data":"{\"type\":\"login\",\"params\":{\"sessionId\":\"911a46af-75be-6237-d296-b945b323abb2\",\"role\":\"tester\"},\"messageId\":0}","msg":"get","time":"2023-04-01T15:30:14.662Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws-session","ph":"i","tid":1,"msg":"created session 911a46af-75be-6237-d296-b945b323abb2","time":"2023-04-01T15:30:14.662Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws","ph":"i","tid":0,"id":55009,"trackingId":"tester","sessionId":"911a46af-75be-6237-d296-b945b323abb2","role":"tester","data":{"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0},"msg":"send","time":"2023-04-01T15:30:14.662Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws-session","ph":"i","tid":1,"msg":"tester joined session 911a46af-75be-6237-d296-b945b323abb2","time":"2023-04-01T15:30:14.663Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":20,"cat":"ws-server,ws","ph":"B","tid":1,"id":55134,"msg":"connection :55002<->:55134","time":"2023-04-01T15:30:20.151Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws","ph":"i","tid":1,"id":55134,"data":"{\"messageId\":0,\"type\":\"login\",\"params\":{\"role\":\"app\",\"sessionId\":\"911a46af-75be-6237-d296-b945b323abb2\"}}","msg":"get","time":"2023-04-01T15:30:20.161Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws","ph":"i","tid":1,"id":55134,"trackingId":"app","sessionId":"911a46af-75be-6237-d296-b945b323abb2","role":"app","data":{"messageId":0,"type":"loginSuccess","params":{"testerConnected":true,"appConnected":true}},"msg":"send","time":"2023-04-01T15:30:20.161Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws-session","ph":"i","tid":2,"msg":"app joined session 911a46af-75be-6237-d296-b945b323abb2","time":"2023-04-01T15:30:20.161Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws","ph":"i","tid":0,"id":55009,"trackingId":"tester","sessionId":"911a46af-75be-6237-d296-b945b323abb2","role":"tester","data":{"type":"appConnected"},"msg":"send","time":"2023-04-01T15:30:20.161Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws","ph":"i","tid":0,"id":55009,"trackingId":"tester","sessionId":"911a46af-75be-6237-d296-b945b323abb2","role":"tester","data":"{\"type\":\"isReady\",\"params\":{},\"messageId\":-1000}","msg":"get","time":"2023-04-01T15:30:20.163Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws","ph":"i","tid":1,"id":55134,"trackingId":"app","sessionId":"911a46af-75be-6237-d296-b945b323abb2","role":"app","data":{"type":"isReady","params":{},"messageId":-1000},"msg":"send","time":"2023-04-01T15:30:20.163Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws","ph":"i","tid":0,"id":55009,"trackingId":"tester","sessionId":"911a46af-75be-6237-d296-b945b323abb2","role":"tester","data":"{\"type\":\"currentStatus\",\"params\":{},\"messageId\":1}","msg":"get","time":"2023-04-01T15:30:30.164Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"ws-server,ws","ph":"i","tid":1,"id":55134,"trackingId":"app","sessionId":"911a46af-75be-6237-d296-b945b323abb2","role":"app","data":{"type":"currentStatus","params":{},"messageId":1},"msg":"send","time":"2023-04-01T15:30:30.165Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83339,"level":10,"cat":"lifecycle","ph":"E","tid":0,"abortSignal":"SIGINT","msg":"jest --config e2e/jest.config.js","time":"2023-04-01T15:32:05.663Z","v":0} diff --git a/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-30-12Z/cf35f38f-f35b-6c2b-412c-d8942bb92b27.83344.detox.jsonl b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-30-12Z/cf35f38f-f35b-6c2b-412c-d8942bb92b27.83344.detox.jsonl new file mode 100644 index 0000000..b18d82b --- /dev/null +++ b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-30-12Z/cf35f38f-f35b-6c2b-412c-d8942bb92b27.83344.detox.jsonl @@ -0,0 +1,150 @@ +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id ","time":"2023-04-01T15:30:14.524Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"requested connection to primary-83339 /tmp/detox.primary-83339","time":"2023-04-01T15:30:14.525Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"Connecting client on Unix Socket : /tmp/detox.primary-83339","time":"2023-04-01T15:30:14.525Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"retrying reset","time":"2023-04-01T15:30:14.526Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"dispatching event to primary-83339 /tmp/detox.primary-83339 : registerContext , { id: \u001b[32m'secondary-83344'\u001b[39m }","time":"2023-04-01T15:30:14.526Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"## received events ##","time":"2023-04-01T15:30:14.528Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"detected event registerContextDone { testResults: [], testSessionIndex: \u001b[33m0\u001b[39m }","time":"2023-04-01T15:30:14.528Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"lifecycle,jest-environment","ph":"B","tid":0,"msg":"e2e/NativeModule.test.ts","time":"2023-04-01T15:30:14.565Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"lifecycle,jest-environment","ph":"B","tid":0,"msg":"set up environment","time":"2023-04-01T15:30:14.575Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"dispatching event to primary-83339 /tmp/detox.primary-83339 : registerWorker , { workerId: \u001b[32m'w1'\u001b[39m }","time":"2023-04-01T15:30:14.576Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"## received events ##","time":"2023-04-01T15:30:14.576Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"detected event registerWorkerDone { workersCount: \u001b[33m1\u001b[39m }","time":"2023-04-01T15:30:14.576Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"## received events ##","time":"2023-04-01T15:30:14.651Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"detected event sessionStateUpdate { workersCount: \u001b[33m1\u001b[39m }","time":"2023-04-01T15:30:14.651Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"msg":"opened web socket to: ws://localhost:55002","time":"2023-04-01T15:30:14.660Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"data":"{\"type\":\"login\",\"params\":{\"sessionId\":\"911a46af-75be-6237-d296-b945b323abb2\",\"role\":\"tester\"},\"messageId\":0}","msg":"send message","time":"2023-04-01T15:30:14.661Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"data":"{\"type\":\"loginSuccess\",\"params\":{\"testerConnected\":true,\"appConnected\":false},\"messageId\":0}\n ","msg":"get message","time":"2023-04-01T15:30:14.663Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":[{"type":"android.emulator","device":{"avdName":"Pixel_3a_API_33_arm64-v8a"},"headless":true}],"msg":"allocate","time":"2023-04-01T15:30:14.688Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","trackingId":0,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","time":"2023-04-01T15:30:14.689Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","trackingId":0,"event":"EXEC_SUCCESS","stdout":true,"msg":"Pixel_3a_API_33_arm64-v8a\n","time":"2023-04-01T15:30:14.714Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","trackingId":1,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","time":"2023-04-01T15:30:14.715Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","trackingId":1,"event":"EXEC_SUCCESS","stdout":true,"msg":"INFO | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.\nAndroid emulator version 31.3.13.0 (build_id 9189900) (CL:N/A)\nCopyright (C) 2006-2017 The Android Open Source Project and many others.\nThis program is a derivative of the QEMU CPU emulator (www.qemu.org).\n\n This software is licensed under the terms of the GNU General Public\n License version 2, as published by the Free Software Foundation, and\n may be copied, distributed, and modified under those terms.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n","time":"2023-04-01T15:30:14.842Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"device","ph":"i","tid":0,"success":true,"msg":"Detected emulator binary version { major: 31, minor: 3, patch: 13, toString: [Function: toString] }","time":"2023-04-01T15:30:14.843Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"device","ph":"i","tid":0,"event":"ALLOCATE_DEVICE","msg":"Trying to allocate a device based on \"Pixel_3a_API_33_arm64-v8a\"","time":"2023-04-01T15:30:14.843Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","trackingId":2,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","time":"2023-04-01T15:30:14.844Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","trackingId":2,"event":"EXEC_SUCCESS","stdout":true,"msg":"List of devices attached\nemulator-5554\tdevice\n\n","time":"2023-04-01T15:30:14.856Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"i","tid":0,"event":"TELNET_CONNECTING","msg":"port: 5554, host: localhost","time":"2023-04-01T15:30:14.856Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"device","ph":"i","tid":0,"event":"DEVICE_LOOKUP","msg":"Found a matching & free device emulator-5554","time":"2023-04-01T15:30:14.860Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"device","ph":"i","tid":0,"event":"ALLOCATE_DEVICE","msg":"Settled on emulator-5554","time":"2023-04-01T15:30:14.860Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":["Pixel_3a_API_33_arm64-v8a","emulator-5554",true,{"headless":true,"port":null}],"msg":"_launchEmulator","time":"2023-04-01T15:30:14.860Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":["emulator-5554"],"msg":"_awaitEmulatorBoot","time":"2023-04-01T15:30:14.860Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","trackingId":3,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","time":"2023-04-01T15:30:14.861Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","trackingId":3,"event":"EXEC_SUCCESS","stdout":true,"msg":"1\n","time":"2023-04-01T15:30:14.903Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"_awaitEmulatorBoot","time":"2023-04-01T15:30:14.904Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","type":"Pixel_3a_API_33_arm64-v8a","coldBoot":false}],"msg":"onBootDevice","time":"2023-04-01T15:30:14.904Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBootDevice","time":"2023-04-01T15:30:14.904Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"_launchEmulator","time":"2023-04-01T15:30:14.904Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","trackingId":4,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","time":"2023-04-01T15:30:14.904Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","trackingId":4,"event":"EXEC_SUCCESS","stdout":true,"msg":"33\n","time":"2023-04-01T15:30:14.926Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","trackingId":5,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","time":"2023-04-01T15:30:14.926Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","trackingId":5,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:30:14.953Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","trackingId":6,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","time":"2023-04-01T15:30:14.953Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","trackingId":6,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:30:14.977Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","trackingId":7,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","time":"2023-04-01T15:30:14.978Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","trackingId":7,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:30:15.001Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","trackingId":8,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","time":"2023-04-01T15:30:15.001Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","trackingId":8,"event":"EXEC_SUCCESS","stdout":true,"msg":" mWakefulness=Awake\n mWakefulnessChanging=false\n mWakeLockSummary=0x0\n mWakeUpWhenPluggedOrUnpluggedConfig=false\n mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false\n mUserActivityTimeoutOverrideFromWindowManager=-1\n mUserInactiveOverrideFromWindowManager=false\n mUserId=0\n mWakeLockSummary=0x0\n mUserInteractionBackoffMillis=60000\n","time":"2023-04-01T15:30:15.063Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"allocate","time":"2023-04-01T15:30:15.063Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"installUtilBinaries","time":"2023-04-01T15:30:15.078Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"installUtilBinaries","time":"2023-04-01T15:30:15.078Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":["default"],"msg":"selectApp","time":"2023-04-01T15:30:15.079Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","trackingId":9,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","time":"2023-04-01T15:30:15.080Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","trackingId":9,"event":"EXEC_SUCCESS","stdout":true,"msg":"package: name='com.awesomeproject' versionCode='1' versionName='1.0' platformBuildVersionName='12' platformBuildVersionCode='31' compileSdkVersion='31' compileSdkVersionCodename='12'\nsdkVersion:'21'\ntargetSdkVersion:'31'\nuses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'\nuses-permission: name='android.permission.INTERNET'\nuses-permission: name='android.permission.ACCESS_WIFI_STATE'\nuses-permission: name='android.permission.REQUEST_INSTALL_PACKAGES'\nuses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'\napplication-label:'AwesomeProject'\napplication-label-af:'AwesomeProject'\napplication-label-am:'AwesomeProject'\napplication-label-ar:'AwesomeProject'\napplication-label-as:'AwesomeProject'\napplication-label-az:'AwesomeProject'\napplication-label-be:'AwesomeProject'\napplication-label-bg:'AwesomeProject'\napplication-label-bn:'AwesomeProject'\napplication-label-bs:'AwesomeProject'\napplication-label-ca:'AwesomeProject'\napplication-label-cs:'AwesomeProject'\napplication-label-da:'AwesomeProject'\napplication-label-de:'AwesomeProject'\napplication-label-el:'AwesomeProject'\napplication-label-en-AU:'AwesomeProject'\napplication-label-en-CA:'AwesomeProject'\napplication-label-en-GB:'AwesomeProject'\napplication-label-en-IN:'AwesomeProject'\napplication-label-en-XC:'AwesomeProject'\napplication-label-es:'AwesomeProject'\napplication-label-es-US:'AwesomeProject'\napplication-label-et:'AwesomeProject'\napplication-label-eu:'AwesomeProject'\napplication-label-fa:'AwesomeProject'\napplication-label-fi:'AwesomeProject'\napplication-label-fr:'AwesomeProject'\napplication-label-fr-CA:'AwesomeProject'\napplication-label-gl:'AwesomeProject'\napplication-label-gu:'AwesomeProject'\napplication-label-hi:'AwesomeProject'\napplication-label-hr:'AwesomeProject'\napplication-label-hu:'AwesomeProject'\napplication-label-hy:'AwesomeProject'\napplication-label-in:'AwesomeProject'\napplication-label-is:'AwesomeProject'\napplication-label-it:'AwesomeProject'\napplication-label-iw:'AwesomeProject'\napplication-label-ja:'AwesomeProject'\napplication-label-ka:'AwesomeProject'\napplication-label-kk:'AwesomeProject'\napplication-label-km:'AwesomeProject'\napplication-label-kn:'AwesomeProject'\napplication-label-ko:'AwesomeProject'\napplication-label-ky:'AwesomeProject'\napplication-label-lo:'AwesomeProject'\napplication-label-lt:'AwesomeProject'\napplication-label-lv:'AwesomeProject'\napplication-label-mk:'AwesomeProject'\napplication-label-ml:'AwesomeProject'\napplication-label-mn:'AwesomeProject'\napplication-label-mr:'AwesomeProject'\napplication-label-ms:'AwesomeProject'\napplication-label-my:'AwesomeProject'\napplication-label-nb:'AwesomeProject'\napplication-label-ne:'AwesomeProject'\napplication-label-nl:'AwesomeProject'\napplication-label-or:'AwesomeProject'\napplication-label-pa:'AwesomeProject'\napplication-label-pl:'AwesomeProject'\napplication-label-pt:'AwesomeProject'\napplication-label-pt-BR:'AwesomeProject'\napplication-label-pt-PT:'AwesomeProject'\napplication-label-ro:'AwesomeProject'\napplication-label-ru:'AwesomeProject'\napplication-label-si:'AwesomeProject'\napplication-label-sk:'AwesomeProject'\napplication-label-sl:'AwesomeProject'\napplication-label-sq:'AwesomeProject'\napplication-label-sr:'AwesomeProject'\napplication-label-sr-Latn:'AwesomeProject'\napplication-label-sv:'AwesomeProject'\napplication-label-sw:'AwesomeProject'\napplication-label-ta:'AwesomeProject'\napplication-label-te:'AwesomeProject'\napplication-label-th:'AwesomeProject'\napplication-label-tl:'AwesomeProject'\napplication-label-tr:'AwesomeProject'\napplication-label-uk:'AwesomeProject'\napplication-label-ur:'AwesomeProject'\napplication-label-uz:'AwesomeProject'\napplication-label-vi:'AwesomeProject'\napplication-label-zh-CN:'AwesomeProject'\napplication-label-zh-HK:'AwesomeProject'\napplication-label-zh-TW:'AwesomeProject'\napplication-label-zu:'AwesomeProject'\napplication-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'\napplication-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'\napplication-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'\napplication-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'\napplication-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'\napplication: label='AwesomeProject' icon='res/mipmap-mdpi-v4/ic_launcher.png'\napplication-debuggable\nlaunchable-activity: name='com.awesomeproject.MainActivity' label='AwesomeProject' icon=''\nuses-permission: name='android.permission.READ_EXTERNAL_STORAGE'\nuses-implied-permission: name='android.permission.READ_EXTERNAL_STORAGE' reason='requested WRITE_EXTERNAL_STORAGE'\nfeature-group: label=''\n uses-feature: name='android.hardware.faketouch'\n uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'\n uses-feature: name='android.hardware.wifi'\n uses-implied-feature: name='android.hardware.wifi' reason='requested android.permission.ACCESS_WIFI_STATE permission'\nmain\nother-activities\nsupports-screens: 'small' 'normal' 'large' 'xlarge'\nsupports-any-density: 'true'\nlocales: '--_--' 'af' 'am' 'ar' 'as' 'az' 'be' 'bg' 'bn' 'bs' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-CA' 'en-GB' 'en-IN' 'en-XC' 'es' 'es-US' 'et' 'eu' 'fa' 'fi' 'fr' 'fr-CA' 'gl' 'gu' 'hi' 'hr' 'hu' 'hy' 'in' 'is' 'it' 'iw' 'ja' 'ka' 'kk' 'km' 'kn' 'ko' 'ky' 'lo' 'lt' 'lv' 'mk' 'ml' 'mn' 'mr' 'ms' 'my' 'nb' 'ne' 'nl' 'or' 'pa' 'pl' 'pt' 'pt-BR' 'pt-PT' 'ro' 'ru' 'si' 'sk' 'sl' 'sq' 'sr' 'sr-Latn' 'sv' 'sw' 'ta' 'te' 'th' 'tl' 'tr' 'uk' 'ur' 'uz' 'vi' 'zh-CN' 'zh-HK' 'zh-TW' 'zu'\ndensities: '160' '240' '320' '480' '640'\nnative-code: 'arm64-v8a' 'armeabi-v7a' 'x86' 'x86_64'\n","time":"2023-04-01T15:30:15.114Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"selectApp","time":"2023-04-01T15:30:15.114Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"uninstallApp","time":"2023-04-01T15:30:15.114Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onBeforeUninstallApp","time":"2023-04-01T15:30:15.114Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBeforeUninstallApp","time":"2023-04-01T15:30:15.114Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","trackingId":10,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","time":"2023-04-01T15:30:15.115Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","trackingId":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"package:com.awesomeproject\npackage:com.awesomeproject.test\n","time":"2023-04-01T15:30:15.140Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","trackingId":11,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","time":"2023-04-01T15:30:15.140Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","trackingId":11,"event":"EXEC_SUCCESS","stdout":true,"msg":"Success\n","time":"2023-04-01T15:30:15.565Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","trackingId":12,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","time":"2023-04-01T15:30:15.565Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","trackingId":12,"event":"EXEC_SUCCESS","stdout":true,"msg":"package:com.awesomeproject.test\n","time":"2023-04-01T15:30:15.662Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","trackingId":13,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","time":"2023-04-01T15:30:15.663Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","trackingId":13,"event":"EXEC_SUCCESS","stdout":true,"msg":"Success\n","time":"2023-04-01T15:30:15.904Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"uninstallApp","time":"2023-04-01T15:30:15.904Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":["default"],"msg":"selectApp","time":"2023-04-01T15:30:15.904Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"terminateApp","time":"2023-04-01T15:30:15.905Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onBeforeTerminateApp","time":"2023-04-01T15:30:15.905Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBeforeTerminateApp","time":"2023-04-01T15:30:15.906Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":14,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","time":"2023-04-01T15:30:15.906Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":14,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:30:15.999Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onTerminateApp","time":"2023-04-01T15:30:16.000Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onTerminateApp","time":"2023-04-01T15:30:16.000Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"terminateApp","time":"2023-04-01T15:30:16.000Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"selectApp","time":"2023-04-01T15:30:16.000Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"installApp","time":"2023-04-01T15:30:16.001Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","trackingId":15,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","time":"2023-04-01T15:30:16.001Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","trackingId":15,"event":"EXEC_SUCCESS","stdout":true,"msg":"String pool of 62 unique UTF-16 non-sorted strings, 62 entries and 0 styles using 2972 bytes:\nString #0: theme\nString #1: label\nString #2: icon\nString #3: name\nString #4: debuggable\nString #5: exported\nString #6: authorities\nString #7: grantUriPermissions\nString #8: launchMode\nString #9: configChanges\nString #10: value\nString #11: resource\nString #12: minSdkVersion\nString #13: versionCode\nString #14: versionName\nString #15: windowSoftInputMode\nString #16: targetSdkVersion\nString #17: allowBackup\nString #18: usesCleartextTraffic\nString #19: networkSecurityConfig\nString #20: roundIcon\nString #21: compileSdkVersion\nString #22: compileSdkVersionCodename\nString #23: appComponentFactory\nString #24: 1.0\nString #25: 12\nString #26: action\nString #27: activity\nString #28: android\nString #29: android.intent.action.MAIN\nString #30: android.intent.category.LAUNCHER\nString #31: android.permission.ACCESS_WIFI_STATE\nString #32: android.permission.INTERNET\nString #33: android.permission.REQUEST_INSTALL_PACKAGES\nString #34: android.permission.SYSTEM_ALERT_WINDOW\nString #35: android.permission.WRITE_EXTERNAL_STORAGE\nString #36: android.support.FILE_PROVIDER_PATHS\nString #37: androidx.core.app.CoreComponentFactory\nString #38: androidx.emoji2.text.EmojiCompatInitializer\nString #39: androidx.lifecycle.ProcessLifecycleInitializer\nString #40: androidx.startup\nString #41: androidx.startup.InitializationProvider\nString #42: application\nString #43: category\nString #44: cn.reactnative.modules.update.PushyFileProvider\nString #45: com.awesomeproject\nString #46: com.awesomeproject.MainActivity\nString #47: com.awesomeproject.MainApplication\nString #48: com.awesomeproject.androidx-startup\nString #49: com.awesomeproject.pushy.fileprovider\nString #50: com.facebook.react.devsupport.DevSettingsActivity\nString #51: http://schemas.android.com/apk/res/android\nString #52: intent-filter\nString #53: manifest\nString #54: meta-data\nString #55: package\nString #56: platformBuildVersionCode\nString #57: platformBuildVersionName\nString #58: provider\nString #59: pushy_build_time\nString #60: uses-permission\nString #61: uses-sdk\n","time":"2023-04-01T15:30:16.012Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","trackingId":16,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","time":"2023-04-01T15:30:16.012Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","trackingId":16,"event":"EXEC_SUCCESS","stdout":true,"msg":"String pool of 41 unique UTF-16 non-sorted strings, 41 entries and 0 styles using 2052 bytes:\nString #0: theme\nString #1: label\nString #2: name\nString #3: debuggable\nString #4: exported\nString #5: targetPackage\nString #6: handleProfiling\nString #7: functionalTest\nString #8: minSdkVersion\nString #9: targetSdkVersion\nString #10: compileSdkVersion\nString #11: compileSdkVersionCodename\nString #12: 12\nString #13: Tests for com.awesomeproject\nString #14: action\nString #15: activity\nString #16: android\nString #17: android.intent.action.MAIN\nString #18: android.permission.REORDER_TASKS\nString #19: android.test.runner\nString #20: androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity\nString #21: androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity\nString #22: androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity\nString #23: androidx.test.orchestrator\nString #24: androidx.test.runner.AndroidJUnitRunner\nString #25: androidx.test.services\nString #26: application\nString #27: com.awesomeproject\nString #28: com.awesomeproject.test\nString #29: com.google.android.apps.common.testing.services\nString #30: http://schemas.android.com/apk/res/android\nString #31: instrumentation\nString #32: intent-filter\nString #33: manifest\nString #34: package\nString #35: platformBuildVersionCode\nString #36: platformBuildVersionName\nString #37: queries\nString #38: uses-library\nString #39: uses-permission\nString #40: uses-sdk\n","time":"2023-04-01T15:30:16.025Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","trackingId":17,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","time":"2023-04-01T15:30:16.025Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","trackingId":17,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:30:16.095Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","trackingId":18,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","time":"2023-04-01T15:30:16.095Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","trackingId":18,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:30:16.141Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","trackingId":19,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","time":"2023-04-01T15:30:16.141Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","trackingId":19,"event":"EXEC_SUCCESS","stdout":true,"msg":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk: 1 file pushed, 0 skipped. 186.6 MB/s (57188071 bytes in 0.292s)\n","time":"2023-04-01T15:30:16.469Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":87491,"event":"SPAWN_CMD","msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","time":"2023-04-01T15:30:16.472Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":87491,"stdout":true,"event":"SPAWN_STDOUT","msg":"Success\n","time":"2023-04-01T15:30:17.302Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":87491,"event":"SPAWN_END","signal":"","code":0,"msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk exited with code #0","time":"2023-04-01T15:30:17.304Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","trackingId":21,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","time":"2023-04-01T15:30:17.305Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","trackingId":21,"event":"EXEC_SUCCESS","stdout":true,"msg":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk: 1 file pushed, 0 skipped. 535.3 MB/s (7834463 bytes in 0.014s)\n","time":"2023-04-01T15:30:17.360Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":87493,"event":"SPAWN_CMD","msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","time":"2023-04-01T15:30:17.361Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":87493,"stdout":true,"event":"SPAWN_STDOUT","msg":"Success\n","time":"2023-04-01T15:30:17.496Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":87493,"event":"SPAWN_END","signal":"","code":0,"msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk exited with code #0","time":"2023-04-01T15:30:17.499Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":[8081],"msg":"reverseTcpPort","time":"2023-04-01T15:30:17.500Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","trackingId":23,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","time":"2023-04-01T15:30:17.500Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","trackingId":23,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:30:17.515Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"reverseTcpPort","time":"2023-04-01T15:30:17.515Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"installApp","time":"2023-04-01T15:30:17.515Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":["default"],"msg":"selectApp","time":"2023-04-01T15:30:17.515Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"terminateApp","time":"2023-04-01T15:30:17.515Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onBeforeTerminateApp","time":"2023-04-01T15:30:17.515Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBeforeTerminateApp","time":"2023-04-01T15:30:17.516Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":24,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","time":"2023-04-01T15:30:17.516Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":24,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:30:17.570Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onTerminateApp","time":"2023-04-01T15:30:17.570Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onTerminateApp","time":"2023-04-01T15:30:17.570Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"terminateApp","time":"2023-04-01T15:30:17.570Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"selectApp","time":"2023-04-01T15:30:17.570Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"lifecycle,jest-environment","ph":"E","tid":0,"success":true,"msg":"set up environment","time":"2023-04-01T15:30:17.571Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":30,"cat":"lifecycle","ph":"i","tid":0,"msg":"\u001b[1mNativeModule.test.ts\u001b[22m is assigned to \u001b[94memulator-5554 (Pixel_3a_API_33_arm64-v8a)\u001b[39m","time":"2023-04-01T15:30:18.702Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"lifecycle,jest-environment","ph":"B","tid":0,"msg":"run the tests","time":"2023-04-01T15:30:18.702Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"name":"ROOT_DESCRIBE_BLOCK"}],"msg":"onRunDescribeStart","time":"2023-04-01T15:30:18.702Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onRunDescribeStart","time":"2023-04-01T15:30:18.702Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"lifecycle,jest-environment","ph":"B","tid":0,"msg":"测试Native模块的方法","time":"2023-04-01T15:30:18.703Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"name":"测试Native模块的方法"}],"msg":"onRunDescribeStart","time":"2023-04-01T15:30:18.703Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onRunDescribeStart","time":"2023-04-01T15:30:18.703Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"lifecycle,jest-environment","ph":"B","tid":0,"functionCode":"() => __awaiter(void 0, void 0, void 0, function* () {\n yield detox_1.device.launchApp();\n })","msg":"beforeAll","time":"2023-04-01T15:30:18.703Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"launchApp","time":"2023-04-01T15:30:18.707Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"B","tid":0,"args":["com.awesomeproject"],"msg":"terminateApp","time":"2023-04-01T15:30:18.707Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onBeforeTerminateApp","time":"2023-04-01T15:30:18.707Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBeforeTerminateApp","time":"2023-04-01T15:30:18.707Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":25,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","time":"2023-04-01T15:30:18.707Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":25,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:30:18.750Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onTerminateApp","time":"2023-04-01T15:30:18.750Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onTerminateApp","time":"2023-04-01T15:30:18.751Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"terminateApp","time":"2023-04-01T15:30:18.751Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:55002","detoxSessionId":"911a46af-75be-6237-d296-b945b323abb2"}}],"msg":"onBeforeLaunchApp","time":"2023-04-01T15:30:18.751Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":26,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","time":"2023-04-01T15:30:18.751Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":26,"event":"EXEC_SUCCESS","stdout":true,"msg":"12-09 14:37:42.000\n","time":"2023-04-01T15:30:18.774Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBeforeLaunchApp","time":"2023-04-01T15:30:18.774Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:55002 tcp:55002","trackingId":27,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:55002 tcp:55002","time":"2023-04-01T15:30:18.774Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:55002 tcp:55002","trackingId":27,"event":"EXEC_SUCCESS","stdout":true,"msg":"55002\n","time":"2023-04-01T15:30:18.787Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","trackingId":28,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","time":"2023-04-01T15:30:18.787Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","trackingId":28,"event":"EXEC_SUCCESS","stdout":true,"msg":"instrumentation:com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner (target=com.awesomeproject)\ninstrumentation:com.testhotupdate.test/android.test.InstrumentationTestRunner (target=com.testhotupdate)\n","time":"2023-04-01T15:30:18.809Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55002 -e detoxSessionId 911a46af-75be-6237-d296-b945b323abb2 -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","trackingId":29,"cpid":87500,"event":"SPAWN_CMD","msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55002 -e detoxSessionId 911a46af-75be-6237-d296-b945b323abb2 -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","time":"2023-04-01T15:30:18.810Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","trackingId":30,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","time":"2023-04-01T15:30:19.313Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","trackingId":30,"event":"EXEC_SUCCESS","stdout":true,"msg":"u0_a180 19478 325 14915088 172788 0 0 S com.awesomeproject\n","time":"2023-04-01T15:30:19.389Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:55002","detoxSessionId":"911a46af-75be-6237-d296-b945b323abb2"},"pid":19478}],"msg":"onLaunchApp","time":"2023-04-01T15:30:19.389Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifact","ph":"i","tid":0,"class":"ADBLogcatRecording","event":"ARTIFACT_START","msg":"starting ADBLogcatRecording","time":"2023-04-01T15:30:19.390Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:37:42.000\\\" --pid=19478 -f /sdcard/233014683_0.log\"","trackingId":31,"cpid":87502,"event":"SPAWN_CMD","msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:37:42.000\\\" --pid=19478 -f /sdcard/233014683_0.log\"","time":"2023-04-01T15:30:19.392Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onLaunchApp","time":"2023-04-01T15:30:19.392Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/233014683_0.log","trackingId":32,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/233014683_0.log","time":"2023-04-01T15:30:19.694Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/233014683_0.log","trackingId":32,"event":"EXEC_SUCCESS","stdout":true,"msg":"4\t/sdcard/233014683_0.log\n","time":"2023-04-01T15:30:19.729Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55002 -e detoxSessionId 911a46af-75be-6237-d296-b945b323abb2 -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","trackingId":29,"cpid":87500,"stdout":true,"event":"SPAWN_STDOUT","msg":"INSTRUMENTATION_STATUS: class=com.awesomeproject.DetoxTest\nINSTRUMENTATION_STATUS: current=1\nINSTRUMENTATION_STATUS: id=AndroidJUnitRunner\nINSTRUMENTATION_STATUS: numtests=1\nINSTRUMENTATION_STATUS: stream=\ncom.awesomeproject.DetoxTest:\nINSTRUMENTATION_STATUS: test=runDetoxTests\nINSTRUMENTATION_STATUS_CODE: 1\n","time":"2023-04-01T15:30:19.748Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"data":"{\"type\":\"appConnected\"}\n ","msg":"get message","time":"2023-04-01T15:30:20.161Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"data":"{\"type\":\"isReady\",\"params\":{},\"messageId\":-1000}","msg":"send message","time":"2023-04-01T15:30:20.162Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"data":"{\"type\":\"currentStatus\",\"params\":{},\"messageId\":1}","msg":"send message","time":"2023-04-01T15:30:30.163Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":83344,"level":20,"cat":"ws-client,ws","ph":"i","tid":0,"event":"APP_STATUS","msg":"Failed to execute the current status query.","time":"2023-04-01T15:30:35.164Z","v":0} diff --git a/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-08Z/d04386f3-e94c-894f-8d25-1193249ad5cf.95956.detox.jsonl b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-08Z/d04386f3-e94c-894f-8d25-1193249ad5cf.95956.detox.jsonl new file mode 100644 index 0000000..fa424dc --- /dev/null +++ b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-08Z/d04386f3-e94c-894f-8d25-1193249ad5cf.95956.detox.jsonl @@ -0,0 +1,29 @@ +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"lifecycle","ph":"B","tid":0,"cwd":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate","data":{"id":"d04386f3-e94c-894f-8d25-1193249ad5cf","detoxConfig":{"configurationName":"android.emu.debug","apps":{"default":{"type":"android.apk","binaryPath":"android/app/build/outputs/apk/debug/app-debug.apk","build":"cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug","reversePorts":[8081]}},"artifacts":{"rootDir":"artifacts/android.emu.debug.2023-04-01 15-32-08Z","plugins":{"log":{"enabled":true,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":false,"keepOnlyFailedTestsArtifacts":false},"video":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"uiHierarchy":{"enabled":false,"keepOnlyFailedTestsArtifacts":false}}},"behavior":{"init":{"keepLockFile":false,"reinstallApp":true,"exposeGlobals":true},"cleanup":{"shutdownDevice":false},"launchApp":"auto"},"cli":{"recordLogs":"all","configuration":"android.emu.debug","headless":true,"start":true},"device":{"type":"android.emulator","device":{"avdName":"Pixel_3a_API_33_arm64-v8a"},"headless":true},"logger":{"level":"info","overrideConsole":true,"options":{"showLoggerName":true,"showPid":true,"showLevel":false,"showMetadata":false,"basepath":"/Users/arvinh/Desktop/wooza/react-native-pushy/node_modules/detox/src","prefixers":{},"stringifiers":{}}},"testRunner":{"retries":0,"forwardEnv":false,"bail":false,"jest":{"setupTimeout":120000,"teardownTimeout":30000,"retryAfterCircusRetries":false,"reportWorkerAssign":true},"args":{"$0":"jest","_":[],"config":"e2e/jest.config.js","--":[]}},"session":{"autoStart":true,"debugSynchronization":10000}},"detoxIPCServer":"primary-95956","testResults":[],"testSessionIndex":0,"workersCount":0},"msg":"../../node_modules/.bin/detox test --configuration android.emu.debug --headless --record-logs all","time":"2023-04-01T15:32:08.091Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-95956","time":"2023-04-01T15:32:08.095Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"starting server on /tmp/detox.primary-95956 ","time":"2023-04-01T15:32:08.096Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"starting TLS server false","time":"2023-04-01T15:32:08.096Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"starting server as Unix || Windows Socket","time":"2023-04-01T15:32:08.096Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":20,"cat":"ws-server,ws","ph":"i","tid":0,"msg":"Detox server listening on localhost:55591...","time":"2023-04-01T15:32:08.101Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"lifecycle","ph":"i","tid":0,"msg":"Serialized the session state at: /private/var/folders/wm/91840x650t10w1m7sq830mp80000gn/T/d04386f3-e94c-894f-8d25-1193249ad5cf.detox.json","time":"2023-04-01T15:32:08.102Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":30,"cat":"lifecycle,cli","ph":"B","tid":0,"env":{},"msg":"jest --config e2e/jest.config.js","time":"2023-04-01T15:32:08.103Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"## socket connection to server detected ##","time":"2023-04-01T15:32:09.118Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"received event of : registerContext { id: \u001b[32m'secondary-95963'\u001b[39m }","time":"2023-04-01T15:32:09.120Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"dispatching event to socket : registerContextDone { testResults: [], testSessionIndex: \u001b[33m0\u001b[39m }","time":"2023-04-01T15:32:09.120Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"received event of : registerWorker { workerId: \u001b[32m'w1'\u001b[39m }","time":"2023-04-01T15:32:09.177Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"dispatching event to socket : registerWorkerDone { workersCount: \u001b[33m1\u001b[39m }","time":"2023-04-01T15:32:09.177Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ipc,ipc-server","ph":"i","tid":0,"msg":"broadcasting event to all known sockets listening to /tmp/detox.primary-95956 : sessionStateUpdate { workersCount: \u001b[33m1\u001b[39m }","time":"2023-04-01T15:32:09.177Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":20,"cat":"ws-server,ws","ph":"B","tid":0,"id":55598,"msg":"connection :55591<->:55598","time":"2023-04-01T15:32:09.265Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws","ph":"i","tid":0,"id":55598,"data":"{\"type\":\"login\",\"params\":{\"sessionId\":\"e5928eb2-642b-d685-dc0d-c06c4bbc6df3\",\"role\":\"tester\"},\"messageId\":0}","msg":"get","time":"2023-04-01T15:32:09.268Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws-session","ph":"i","tid":1,"msg":"created session e5928eb2-642b-d685-dc0d-c06c4bbc6df3","time":"2023-04-01T15:32:09.268Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws","ph":"i","tid":0,"id":55598,"trackingId":"tester","sessionId":"e5928eb2-642b-d685-dc0d-c06c4bbc6df3","role":"tester","data":{"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0},"msg":"send","time":"2023-04-01T15:32:09.268Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws-session","ph":"i","tid":1,"msg":"tester joined session e5928eb2-642b-d685-dc0d-c06c4bbc6df3","time":"2023-04-01T15:32:09.268Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":20,"cat":"ws-server,ws","ph":"B","tid":1,"id":55704,"msg":"connection :55591<->:55704","time":"2023-04-01T15:32:14.120Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws","ph":"i","tid":1,"id":55704,"data":"{\"messageId\":0,\"type\":\"login\",\"params\":{\"role\":\"app\",\"sessionId\":\"e5928eb2-642b-d685-dc0d-c06c4bbc6df3\"}}","msg":"get","time":"2023-04-01T15:32:14.130Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws","ph":"i","tid":1,"id":55704,"trackingId":"app","sessionId":"e5928eb2-642b-d685-dc0d-c06c4bbc6df3","role":"app","data":{"messageId":0,"type":"loginSuccess","params":{"testerConnected":true,"appConnected":true}},"msg":"send","time":"2023-04-01T15:32:14.131Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws-session","ph":"i","tid":2,"msg":"app joined session e5928eb2-642b-d685-dc0d-c06c4bbc6df3","time":"2023-04-01T15:32:14.131Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws","ph":"i","tid":0,"id":55598,"trackingId":"tester","sessionId":"e5928eb2-642b-d685-dc0d-c06c4bbc6df3","role":"tester","data":{"type":"appConnected"},"msg":"send","time":"2023-04-01T15:32:14.131Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws","ph":"i","tid":0,"id":55598,"trackingId":"tester","sessionId":"e5928eb2-642b-d685-dc0d-c06c4bbc6df3","role":"tester","data":"{\"type\":\"isReady\",\"params\":{},\"messageId\":-1000}","msg":"get","time":"2023-04-01T15:32:14.132Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws","ph":"i","tid":1,"id":55704,"trackingId":"app","sessionId":"e5928eb2-642b-d685-dc0d-c06c4bbc6df3","role":"app","data":{"type":"isReady","params":{},"messageId":-1000},"msg":"send","time":"2023-04-01T15:32:14.132Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws","ph":"i","tid":0,"id":55598,"trackingId":"tester","sessionId":"e5928eb2-642b-d685-dc0d-c06c4bbc6df3","role":"tester","data":"{\"type\":\"currentStatus\",\"params\":{},\"messageId\":1}","msg":"get","time":"2023-04-01T15:32:24.139Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"ws-server,ws","ph":"i","tid":1,"id":55704,"trackingId":"app","sessionId":"e5928eb2-642b-d685-dc0d-c06c4bbc6df3","role":"app","data":{"type":"currentStatus","params":{},"messageId":1},"msg":"send","time":"2023-04-01T15:32:24.140Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95956,"level":10,"cat":"lifecycle","ph":"E","tid":0,"abortSignal":"SIGINT","msg":"jest --config e2e/jest.config.js","time":"2023-04-01T15:32:37.850Z","v":0} diff --git a/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-08Z/d04386f3-e94c-894f-8d25-1193249ad5cf.95963.detox.jsonl b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-08Z/d04386f3-e94c-894f-8d25-1193249ad5cf.95963.detox.jsonl new file mode 100644 index 0000000..dc90fe5 --- /dev/null +++ b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-08Z/d04386f3-e94c-894f-8d25-1193249ad5cf.95963.detox.jsonl @@ -0,0 +1,150 @@ +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id ","time":"2023-04-01T15:32:09.116Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"requested connection to primary-95956 /tmp/detox.primary-95956","time":"2023-04-01T15:32:09.117Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"Connecting client on Unix Socket : /tmp/detox.primary-95956","time":"2023-04-01T15:32:09.117Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"retrying reset","time":"2023-04-01T15:32:09.118Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"dispatching event to primary-95956 /tmp/detox.primary-95956 : registerContext , { id: \u001b[32m'secondary-95963'\u001b[39m }","time":"2023-04-01T15:32:09.119Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"## received events ##","time":"2023-04-01T15:32:09.121Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"detected event registerContextDone { testResults: [], testSessionIndex: \u001b[33m0\u001b[39m }","time":"2023-04-01T15:32:09.121Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"lifecycle,jest-environment","ph":"B","tid":0,"msg":"e2e/NativeModule.test.ts","time":"2023-04-01T15:32:09.167Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"lifecycle,jest-environment","ph":"B","tid":0,"msg":"set up environment","time":"2023-04-01T15:32:09.176Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"dispatching event to primary-95956 /tmp/detox.primary-95956 : registerWorker , { workerId: \u001b[32m'w1'\u001b[39m }","time":"2023-04-01T15:32:09.177Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"## received events ##","time":"2023-04-01T15:32:09.177Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"detected event registerWorkerDone { workersCount: \u001b[33m1\u001b[39m }","time":"2023-04-01T15:32:09.177Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"## received events ##","time":"2023-04-01T15:32:09.262Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ipc","ph":"i","tid":0,"msg":"detected event sessionStateUpdate { workersCount: \u001b[33m1\u001b[39m }","time":"2023-04-01T15:32:09.262Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"msg":"opened web socket to: ws://localhost:55591","time":"2023-04-01T15:32:09.266Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"data":"{\"type\":\"login\",\"params\":{\"sessionId\":\"e5928eb2-642b-d685-dc0d-c06c4bbc6df3\",\"role\":\"tester\"},\"messageId\":0}","msg":"send message","time":"2023-04-01T15:32:09.267Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"data":"{\"type\":\"loginSuccess\",\"params\":{\"testerConnected\":true,\"appConnected\":false},\"messageId\":0}\n ","msg":"get message","time":"2023-04-01T15:32:09.269Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":[{"type":"android.emulator","device":{"avdName":"Pixel_3a_API_33_arm64-v8a"},"headless":true}],"msg":"allocate","time":"2023-04-01T15:32:09.302Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","trackingId":0,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","time":"2023-04-01T15:32:09.302Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","trackingId":0,"event":"EXEC_SUCCESS","stdout":true,"msg":"Pixel_3a_API_33_arm64-v8a\n","time":"2023-04-01T15:32:09.330Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","trackingId":1,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","time":"2023-04-01T15:32:09.330Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","trackingId":1,"event":"EXEC_SUCCESS","stdout":true,"msg":"INFO | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.\nAndroid emulator version 31.3.13.0 (build_id 9189900) (CL:N/A)\nCopyright (C) 2006-2017 The Android Open Source Project and many others.\nThis program is a derivative of the QEMU CPU emulator (www.qemu.org).\n\n This software is licensed under the terms of the GNU General Public\n License version 2, as published by the Free Software Foundation, and\n may be copied, distributed, and modified under those terms.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n","time":"2023-04-01T15:32:09.420Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"device","ph":"i","tid":0,"success":true,"msg":"Detected emulator binary version { major: 31, minor: 3, patch: 13, toString: [Function: toString] }","time":"2023-04-01T15:32:09.420Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"device","ph":"i","tid":0,"event":"ALLOCATE_DEVICE","msg":"Trying to allocate a device based on \"Pixel_3a_API_33_arm64-v8a\"","time":"2023-04-01T15:32:09.420Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","trackingId":2,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","time":"2023-04-01T15:32:09.421Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","trackingId":2,"event":"EXEC_SUCCESS","stdout":true,"msg":"List of devices attached\nemulator-5554\tdevice\n\n","time":"2023-04-01T15:32:09.434Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"i","tid":0,"event":"TELNET_CONNECTING","msg":"port: 5554, host: localhost","time":"2023-04-01T15:32:09.435Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"device","ph":"i","tid":0,"event":"DEVICE_LOOKUP","msg":"Found a matching & free device emulator-5554","time":"2023-04-01T15:32:09.438Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"device","ph":"i","tid":0,"event":"ALLOCATE_DEVICE","msg":"Settled on emulator-5554","time":"2023-04-01T15:32:09.439Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":["Pixel_3a_API_33_arm64-v8a","emulator-5554",true,{"headless":true,"port":null}],"msg":"_launchEmulator","time":"2023-04-01T15:32:09.439Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":["emulator-5554"],"msg":"_awaitEmulatorBoot","time":"2023-04-01T15:32:09.439Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","trackingId":3,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","time":"2023-04-01T15:32:09.439Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","trackingId":3,"event":"EXEC_SUCCESS","stdout":true,"msg":"1\n","time":"2023-04-01T15:32:09.476Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"_awaitEmulatorBoot","time":"2023-04-01T15:32:09.476Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","type":"Pixel_3a_API_33_arm64-v8a","coldBoot":false}],"msg":"onBootDevice","time":"2023-04-01T15:32:09.476Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBootDevice","time":"2023-04-01T15:32:09.476Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"_launchEmulator","time":"2023-04-01T15:32:09.476Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","trackingId":4,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","time":"2023-04-01T15:32:09.476Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","trackingId":4,"event":"EXEC_SUCCESS","stdout":true,"msg":"33\n","time":"2023-04-01T15:32:09.500Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","trackingId":5,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","time":"2023-04-01T15:32:09.500Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","trackingId":5,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:32:09.527Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","trackingId":6,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","time":"2023-04-01T15:32:09.527Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","trackingId":6,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:32:09.551Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","trackingId":7,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","time":"2023-04-01T15:32:09.551Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","trackingId":7,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:32:09.576Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","trackingId":8,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","time":"2023-04-01T15:32:09.577Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","trackingId":8,"event":"EXEC_SUCCESS","stdout":true,"msg":" mWakefulness=Awake\n mWakefulnessChanging=false\n mWakeLockSummary=0x0\n mWakeUpWhenPluggedOrUnpluggedConfig=false\n mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false\n mUserActivityTimeoutOverrideFromWindowManager=-1\n mUserInactiveOverrideFromWindowManager=false\n mUserId=0\n mWakeLockSummary=0x0\n mUserInteractionBackoffMillis=60000\n","time":"2023-04-01T15:32:09.634Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"allocate","time":"2023-04-01T15:32:09.635Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"installUtilBinaries","time":"2023-04-01T15:32:09.650Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"installUtilBinaries","time":"2023-04-01T15:32:09.650Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":["default"],"msg":"selectApp","time":"2023-04-01T15:32:09.650Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","trackingId":9,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","time":"2023-04-01T15:32:09.651Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","trackingId":9,"event":"EXEC_SUCCESS","stdout":true,"msg":"package: name='com.awesomeproject' versionCode='1' versionName='1.0' platformBuildVersionName='12' platformBuildVersionCode='31' compileSdkVersion='31' compileSdkVersionCodename='12'\nsdkVersion:'21'\ntargetSdkVersion:'31'\nuses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'\nuses-permission: name='android.permission.INTERNET'\nuses-permission: name='android.permission.ACCESS_WIFI_STATE'\nuses-permission: name='android.permission.REQUEST_INSTALL_PACKAGES'\nuses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'\napplication-label:'AwesomeProject'\napplication-label-af:'AwesomeProject'\napplication-label-am:'AwesomeProject'\napplication-label-ar:'AwesomeProject'\napplication-label-as:'AwesomeProject'\napplication-label-az:'AwesomeProject'\napplication-label-be:'AwesomeProject'\napplication-label-bg:'AwesomeProject'\napplication-label-bn:'AwesomeProject'\napplication-label-bs:'AwesomeProject'\napplication-label-ca:'AwesomeProject'\napplication-label-cs:'AwesomeProject'\napplication-label-da:'AwesomeProject'\napplication-label-de:'AwesomeProject'\napplication-label-el:'AwesomeProject'\napplication-label-en-AU:'AwesomeProject'\napplication-label-en-CA:'AwesomeProject'\napplication-label-en-GB:'AwesomeProject'\napplication-label-en-IN:'AwesomeProject'\napplication-label-en-XC:'AwesomeProject'\napplication-label-es:'AwesomeProject'\napplication-label-es-US:'AwesomeProject'\napplication-label-et:'AwesomeProject'\napplication-label-eu:'AwesomeProject'\napplication-label-fa:'AwesomeProject'\napplication-label-fi:'AwesomeProject'\napplication-label-fr:'AwesomeProject'\napplication-label-fr-CA:'AwesomeProject'\napplication-label-gl:'AwesomeProject'\napplication-label-gu:'AwesomeProject'\napplication-label-hi:'AwesomeProject'\napplication-label-hr:'AwesomeProject'\napplication-label-hu:'AwesomeProject'\napplication-label-hy:'AwesomeProject'\napplication-label-in:'AwesomeProject'\napplication-label-is:'AwesomeProject'\napplication-label-it:'AwesomeProject'\napplication-label-iw:'AwesomeProject'\napplication-label-ja:'AwesomeProject'\napplication-label-ka:'AwesomeProject'\napplication-label-kk:'AwesomeProject'\napplication-label-km:'AwesomeProject'\napplication-label-kn:'AwesomeProject'\napplication-label-ko:'AwesomeProject'\napplication-label-ky:'AwesomeProject'\napplication-label-lo:'AwesomeProject'\napplication-label-lt:'AwesomeProject'\napplication-label-lv:'AwesomeProject'\napplication-label-mk:'AwesomeProject'\napplication-label-ml:'AwesomeProject'\napplication-label-mn:'AwesomeProject'\napplication-label-mr:'AwesomeProject'\napplication-label-ms:'AwesomeProject'\napplication-label-my:'AwesomeProject'\napplication-label-nb:'AwesomeProject'\napplication-label-ne:'AwesomeProject'\napplication-label-nl:'AwesomeProject'\napplication-label-or:'AwesomeProject'\napplication-label-pa:'AwesomeProject'\napplication-label-pl:'AwesomeProject'\napplication-label-pt:'AwesomeProject'\napplication-label-pt-BR:'AwesomeProject'\napplication-label-pt-PT:'AwesomeProject'\napplication-label-ro:'AwesomeProject'\napplication-label-ru:'AwesomeProject'\napplication-label-si:'AwesomeProject'\napplication-label-sk:'AwesomeProject'\napplication-label-sl:'AwesomeProject'\napplication-label-sq:'AwesomeProject'\napplication-label-sr:'AwesomeProject'\napplication-label-sr-Latn:'AwesomeProject'\napplication-label-sv:'AwesomeProject'\napplication-label-sw:'AwesomeProject'\napplication-label-ta:'AwesomeProject'\napplication-label-te:'AwesomeProject'\napplication-label-th:'AwesomeProject'\napplication-label-tl:'AwesomeProject'\napplication-label-tr:'AwesomeProject'\napplication-label-uk:'AwesomeProject'\napplication-label-ur:'AwesomeProject'\napplication-label-uz:'AwesomeProject'\napplication-label-vi:'AwesomeProject'\napplication-label-zh-CN:'AwesomeProject'\napplication-label-zh-HK:'AwesomeProject'\napplication-label-zh-TW:'AwesomeProject'\napplication-label-zu:'AwesomeProject'\napplication-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'\napplication-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'\napplication-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'\napplication-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'\napplication-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'\napplication: label='AwesomeProject' icon='res/mipmap-mdpi-v4/ic_launcher.png'\napplication-debuggable\nlaunchable-activity: name='com.awesomeproject.MainActivity' label='AwesomeProject' icon=''\nuses-permission: name='android.permission.READ_EXTERNAL_STORAGE'\nuses-implied-permission: name='android.permission.READ_EXTERNAL_STORAGE' reason='requested WRITE_EXTERNAL_STORAGE'\nfeature-group: label=''\n uses-feature: name='android.hardware.faketouch'\n uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'\n uses-feature: name='android.hardware.wifi'\n uses-implied-feature: name='android.hardware.wifi' reason='requested android.permission.ACCESS_WIFI_STATE permission'\nmain\nother-activities\nsupports-screens: 'small' 'normal' 'large' 'xlarge'\nsupports-any-density: 'true'\nlocales: '--_--' 'af' 'am' 'ar' 'as' 'az' 'be' 'bg' 'bn' 'bs' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-CA' 'en-GB' 'en-IN' 'en-XC' 'es' 'es-US' 'et' 'eu' 'fa' 'fi' 'fr' 'fr-CA' 'gl' 'gu' 'hi' 'hr' 'hu' 'hy' 'in' 'is' 'it' 'iw' 'ja' 'ka' 'kk' 'km' 'kn' 'ko' 'ky' 'lo' 'lt' 'lv' 'mk' 'ml' 'mn' 'mr' 'ms' 'my' 'nb' 'ne' 'nl' 'or' 'pa' 'pl' 'pt' 'pt-BR' 'pt-PT' 'ro' 'ru' 'si' 'sk' 'sl' 'sq' 'sr' 'sr-Latn' 'sv' 'sw' 'ta' 'te' 'th' 'tl' 'tr' 'uk' 'ur' 'uz' 'vi' 'zh-CN' 'zh-HK' 'zh-TW' 'zu'\ndensities: '160' '240' '320' '480' '640'\nnative-code: 'arm64-v8a' 'armeabi-v7a' 'x86' 'x86_64'\n","time":"2023-04-01T15:32:09.687Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"selectApp","time":"2023-04-01T15:32:09.687Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"uninstallApp","time":"2023-04-01T15:32:09.687Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onBeforeUninstallApp","time":"2023-04-01T15:32:09.687Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBeforeUninstallApp","time":"2023-04-01T15:32:09.687Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","trackingId":10,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","time":"2023-04-01T15:32:09.687Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","trackingId":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"package:com.awesomeproject\npackage:com.awesomeproject.test\n","time":"2023-04-01T15:32:09.713Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","trackingId":11,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","time":"2023-04-01T15:32:09.713Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","trackingId":11,"event":"EXEC_SUCCESS","stdout":true,"msg":"Success\n","time":"2023-04-01T15:32:09.978Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","trackingId":12,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","time":"2023-04-01T15:32:09.978Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","trackingId":12,"event":"EXEC_SUCCESS","stdout":true,"msg":"package:com.awesomeproject.test\n","time":"2023-04-01T15:32:10.070Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","trackingId":13,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","time":"2023-04-01T15:32:10.070Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","trackingId":13,"event":"EXEC_SUCCESS","stdout":true,"msg":"Success\n","time":"2023-04-01T15:32:10.395Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"uninstallApp","time":"2023-04-01T15:32:10.395Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":["default"],"msg":"selectApp","time":"2023-04-01T15:32:10.395Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"terminateApp","time":"2023-04-01T15:32:10.396Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onBeforeTerminateApp","time":"2023-04-01T15:32:10.396Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBeforeTerminateApp","time":"2023-04-01T15:32:10.396Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":14,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","time":"2023-04-01T15:32:10.396Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":14,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:32:10.486Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onTerminateApp","time":"2023-04-01T15:32:10.486Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onTerminateApp","time":"2023-04-01T15:32:10.486Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"terminateApp","time":"2023-04-01T15:32:10.486Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"selectApp","time":"2023-04-01T15:32:10.486Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"installApp","time":"2023-04-01T15:32:10.486Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","trackingId":15,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","time":"2023-04-01T15:32:10.487Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","trackingId":15,"event":"EXEC_SUCCESS","stdout":true,"msg":"String pool of 62 unique UTF-16 non-sorted strings, 62 entries and 0 styles using 2972 bytes:\nString #0: theme\nString #1: label\nString #2: icon\nString #3: name\nString #4: debuggable\nString #5: exported\nString #6: authorities\nString #7: grantUriPermissions\nString #8: launchMode\nString #9: configChanges\nString #10: value\nString #11: resource\nString #12: minSdkVersion\nString #13: versionCode\nString #14: versionName\nString #15: windowSoftInputMode\nString #16: targetSdkVersion\nString #17: allowBackup\nString #18: usesCleartextTraffic\nString #19: networkSecurityConfig\nString #20: roundIcon\nString #21: compileSdkVersion\nString #22: compileSdkVersionCodename\nString #23: appComponentFactory\nString #24: 1.0\nString #25: 12\nString #26: action\nString #27: activity\nString #28: android\nString #29: android.intent.action.MAIN\nString #30: android.intent.category.LAUNCHER\nString #31: android.permission.ACCESS_WIFI_STATE\nString #32: android.permission.INTERNET\nString #33: android.permission.REQUEST_INSTALL_PACKAGES\nString #34: android.permission.SYSTEM_ALERT_WINDOW\nString #35: android.permission.WRITE_EXTERNAL_STORAGE\nString #36: android.support.FILE_PROVIDER_PATHS\nString #37: androidx.core.app.CoreComponentFactory\nString #38: androidx.emoji2.text.EmojiCompatInitializer\nString #39: androidx.lifecycle.ProcessLifecycleInitializer\nString #40: androidx.startup\nString #41: androidx.startup.InitializationProvider\nString #42: application\nString #43: category\nString #44: cn.reactnative.modules.update.PushyFileProvider\nString #45: com.awesomeproject\nString #46: com.awesomeproject.MainActivity\nString #47: com.awesomeproject.MainApplication\nString #48: com.awesomeproject.androidx-startup\nString #49: com.awesomeproject.pushy.fileprovider\nString #50: com.facebook.react.devsupport.DevSettingsActivity\nString #51: http://schemas.android.com/apk/res/android\nString #52: intent-filter\nString #53: manifest\nString #54: meta-data\nString #55: package\nString #56: platformBuildVersionCode\nString #57: platformBuildVersionName\nString #58: provider\nString #59: pushy_build_time\nString #60: uses-permission\nString #61: uses-sdk\n","time":"2023-04-01T15:32:10.498Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","trackingId":16,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","time":"2023-04-01T15:32:10.498Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","trackingId":16,"event":"EXEC_SUCCESS","stdout":true,"msg":"String pool of 41 unique UTF-16 non-sorted strings, 41 entries and 0 styles using 2052 bytes:\nString #0: theme\nString #1: label\nString #2: name\nString #3: debuggable\nString #4: exported\nString #5: targetPackage\nString #6: handleProfiling\nString #7: functionalTest\nString #8: minSdkVersion\nString #9: targetSdkVersion\nString #10: compileSdkVersion\nString #11: compileSdkVersionCodename\nString #12: 12\nString #13: Tests for com.awesomeproject\nString #14: action\nString #15: activity\nString #16: android\nString #17: android.intent.action.MAIN\nString #18: android.permission.REORDER_TASKS\nString #19: android.test.runner\nString #20: androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity\nString #21: androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity\nString #22: androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity\nString #23: androidx.test.orchestrator\nString #24: androidx.test.runner.AndroidJUnitRunner\nString #25: androidx.test.services\nString #26: application\nString #27: com.awesomeproject\nString #28: com.awesomeproject.test\nString #29: com.google.android.apps.common.testing.services\nString #30: http://schemas.android.com/apk/res/android\nString #31: instrumentation\nString #32: intent-filter\nString #33: manifest\nString #34: package\nString #35: platformBuildVersionCode\nString #36: platformBuildVersionName\nString #37: queries\nString #38: uses-library\nString #39: uses-permission\nString #40: uses-sdk\n","time":"2023-04-01T15:32:10.511Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","trackingId":17,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","time":"2023-04-01T15:32:10.511Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","trackingId":17,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:32:10.579Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","trackingId":18,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","time":"2023-04-01T15:32:10.579Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","trackingId":18,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:32:10.628Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","trackingId":19,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","time":"2023-04-01T15:32:10.628Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","trackingId":19,"event":"EXEC_SUCCESS","stdout":true,"msg":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk: 1 file pushed, 0 skipped. 184.1 MB/s (57188071 bytes in 0.296s)\n","time":"2023-04-01T15:32:10.963Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":203,"event":"SPAWN_CMD","msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","time":"2023-04-01T15:32:10.967Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":203,"stdout":true,"event":"SPAWN_STDOUT","msg":"Success\n","time":"2023-04-01T15:32:11.762Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":203,"event":"SPAWN_END","signal":"","code":0,"msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk exited with code #0","time":"2023-04-01T15:32:11.764Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","trackingId":21,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","time":"2023-04-01T15:32:11.764Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","trackingId":21,"event":"EXEC_SUCCESS","stdout":true,"msg":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk: 1 file pushed, 0 skipped. 508.1 MB/s (7834463 bytes in 0.015s)\n","time":"2023-04-01T15:32:11.808Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":205,"event":"SPAWN_CMD","msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","time":"2023-04-01T15:32:11.809Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":205,"stdout":true,"event":"SPAWN_STDOUT","msg":"Success\n","time":"2023-04-01T15:32:11.991Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":205,"event":"SPAWN_END","signal":"","code":0,"msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk exited with code #0","time":"2023-04-01T15:32:11.992Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":[8081],"msg":"reverseTcpPort","time":"2023-04-01T15:32:11.993Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","trackingId":23,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","time":"2023-04-01T15:32:11.993Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","trackingId":23,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:32:12.009Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"reverseTcpPort","time":"2023-04-01T15:32:12.009Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"installApp","time":"2023-04-01T15:32:12.009Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":["default"],"msg":"selectApp","time":"2023-04-01T15:32:12.009Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"terminateApp","time":"2023-04-01T15:32:12.009Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onBeforeTerminateApp","time":"2023-04-01T15:32:12.009Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBeforeTerminateApp","time":"2023-04-01T15:32:12.009Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":24,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","time":"2023-04-01T15:32:12.009Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":24,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:32:12.067Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onTerminateApp","time":"2023-04-01T15:32:12.067Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onTerminateApp","time":"2023-04-01T15:32:12.067Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"terminateApp","time":"2023-04-01T15:32:12.067Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"selectApp","time":"2023-04-01T15:32:12.067Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"lifecycle,jest-environment","ph":"E","tid":0,"success":true,"msg":"set up environment","time":"2023-04-01T15:32:12.067Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":30,"cat":"lifecycle","ph":"i","tid":0,"msg":"\u001b[1mNativeModule.test.ts\u001b[22m is assigned to \u001b[94memulator-5554 (Pixel_3a_API_33_arm64-v8a)\u001b[39m","time":"2023-04-01T15:32:12.636Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"lifecycle,jest-environment","ph":"B","tid":0,"msg":"run the tests","time":"2023-04-01T15:32:12.637Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"name":"ROOT_DESCRIBE_BLOCK"}],"msg":"onRunDescribeStart","time":"2023-04-01T15:32:12.637Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onRunDescribeStart","time":"2023-04-01T15:32:12.637Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"lifecycle,jest-environment","ph":"B","tid":0,"msg":"测试Native模块的方法","time":"2023-04-01T15:32:12.638Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"name":"测试Native模块的方法"}],"msg":"onRunDescribeStart","time":"2023-04-01T15:32:12.638Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onRunDescribeStart","time":"2023-04-01T15:32:12.638Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"lifecycle,jest-environment","ph":"B","tid":0,"functionCode":"() => __awaiter(void 0, void 0, void 0, function* () {\n yield detox_1.device.launchApp();\n })","msg":"beforeAll","time":"2023-04-01T15:32:12.638Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":[],"msg":"launchApp","time":"2023-04-01T15:32:12.642Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"B","tid":0,"args":["com.awesomeproject"],"msg":"terminateApp","time":"2023-04-01T15:32:12.642Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onBeforeTerminateApp","time":"2023-04-01T15:32:12.642Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBeforeTerminateApp","time":"2023-04-01T15:32:12.642Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":25,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","time":"2023-04-01T15:32:12.642Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":25,"event":"EXEC_SUCCESS","msg":"","time":"2023-04-01T15:32:12.671Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"msg":"onTerminateApp","time":"2023-04-01T15:32:12.672Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onTerminateApp","time":"2023-04-01T15:32:12.672Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"device","ph":"E","tid":0,"success":true,"msg":"terminateApp","time":"2023-04-01T15:32:12.672Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:55591","detoxSessionId":"e5928eb2-642b-d685-dc0d-c06c4bbc6df3"}}],"msg":"onBeforeLaunchApp","time":"2023-04-01T15:32:12.672Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":26,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","time":"2023-04-01T15:32:12.672Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":26,"event":"EXEC_SUCCESS","stdout":true,"msg":"12-09 14:39:36.000\n","time":"2023-04-01T15:32:12.694Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onBeforeLaunchApp","time":"2023-04-01T15:32:12.694Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:55591 tcp:55591","trackingId":27,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:55591 tcp:55591","time":"2023-04-01T15:32:12.695Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:55591 tcp:55591","trackingId":27,"event":"EXEC_SUCCESS","stdout":true,"msg":"55591\n","time":"2023-04-01T15:32:12.707Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","trackingId":28,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","time":"2023-04-01T15:32:12.708Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","trackingId":28,"event":"EXEC_SUCCESS","stdout":true,"msg":"instrumentation:com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner (target=com.awesomeproject)\ninstrumentation:com.testhotupdate.test/android.test.InstrumentationTestRunner (target=com.testhotupdate)\n","time":"2023-04-01T15:32:12.732Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55591 -e detoxSessionId e5928eb2-642b-d685-dc0d-c06c4bbc6df3 -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","trackingId":29,"cpid":212,"event":"SPAWN_CMD","msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55591 -e detoxSessionId e5928eb2-642b-d685-dc0d-c06c4bbc6df3 -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","time":"2023-04-01T15:32:12.734Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","trackingId":30,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","time":"2023-04-01T15:32:13.238Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","trackingId":30,"event":"EXEC_SUCCESS","stdout":true,"msg":"u0_a182 19836 325 14550672 159892 0 0 R com.awesomeproject\n","time":"2023-04-01T15:32:13.319Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"B","tid":0,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:55591","detoxSessionId":"e5928eb2-642b-d685-dc0d-c06c4bbc6df3"},"pid":19836}],"msg":"onLaunchApp","time":"2023-04-01T15:32:13.319Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifact","ph":"i","tid":0,"class":"ADBLogcatRecording","event":"ARTIFACT_START","msg":"starting ADBLogcatRecording","time":"2023-04-01T15:32:13.320Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:39:36.000\\\" --pid=19836 -f /sdcard/23329294_0.log\"","trackingId":31,"cpid":215,"event":"SPAWN_CMD","msg":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:39:36.000\\\" --pid=19836 -f /sdcard/23329294_0.log\"","time":"2023-04-01T15:32:13.321Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"artifacts-manager,artifact","ph":"E","tid":0,"success":true,"msg":"onLaunchApp","time":"2023-04-01T15:32:13.321Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/23329294_0.log","trackingId":32,"event":"EXEC_CMD","msg":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/23329294_0.log","time":"2023-04-01T15:32:13.621Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-exec","ph":"i","tid":0,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/23329294_0.log","trackingId":32,"event":"EXEC_SUCCESS","stdout":true,"msg":"4\t/sdcard/23329294_0.log\n","time":"2023-04-01T15:32:13.651Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"child-process,child-process-spawn","ph":"i","tid":0,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55591 -e detoxSessionId e5928eb2-642b-d685-dc0d-c06c4bbc6df3 -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","trackingId":29,"cpid":212,"stdout":true,"event":"SPAWN_STDOUT","msg":"INSTRUMENTATION_STATUS: class=com.awesomeproject.DetoxTest\nINSTRUMENTATION_STATUS: current=1\nINSTRUMENTATION_STATUS: id=AndroidJUnitRunner\nINSTRUMENTATION_STATUS: numtests=1\nINSTRUMENTATION_STATUS: stream=\ncom.awesomeproject.DetoxTest:\nINSTRUMENTATION_STATUS: test=runDetoxTests\nINSTRUMENTATION_STATUS_CODE: 1\n","time":"2023-04-01T15:32:13.769Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"data":"{\"type\":\"appConnected\"}\n ","msg":"get message","time":"2023-04-01T15:32:14.131Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"data":"{\"type\":\"isReady\",\"params\":{},\"messageId\":-1000}","msg":"send message","time":"2023-04-01T15:32:14.132Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":10,"cat":"ws-client,ws","ph":"i","tid":0,"data":"{\"type\":\"currentStatus\",\"params\":{},\"messageId\":1}","msg":"send message","time":"2023-04-01T15:32:24.137Z","v":0} +{"name":"detox","hostname":"MacBook-Pro.local","pid":95963,"level":20,"cat":"ws-client,ws","ph":"i","tid":0,"event":"APP_STATUS","msg":"Failed to execute the current status query.","time":"2023-04-01T15:32:29.138Z","v":0} diff --git a/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-39Z/detox.log b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-39Z/detox.log new file mode 100644 index 0000000..a83b3de --- /dev/null +++ b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-39Z/detox.log @@ -0,0 +1,797 @@ +23:32:39.942 detox[286] B ../../node_modules/.bin/detox test --configuration android.emu.debug --headless --record-logs all + data: { + "id": "5bb1f0fb-2312-754e-890e-9b6f4493310d", + "detoxConfig": { + "configurationName": "android.emu.debug", + "apps": { + "default": { + "type": "android.apk", + "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk", + "build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug", + "reversePorts": [ + 8081 + ] + } + }, + "artifacts": { + "rootDir": "artifacts/android.emu.debug.2023-04-01 15-32-39Z", + "plugins": { + "log": { + "enabled": true, + "keepOnlyFailedTestsArtifacts": false + }, + "screenshot": { + "enabled": true, + "shouldTakeAutomaticSnapshots": false, + "keepOnlyFailedTestsArtifacts": false + }, + "video": { + "enabled": false, + "keepOnlyFailedTestsArtifacts": false + }, + "instruments": { + "enabled": false, + "keepOnlyFailedTestsArtifacts": false + }, + "uiHierarchy": { + "enabled": false, + "keepOnlyFailedTestsArtifacts": false + } + } + }, + "behavior": { + "init": { + "keepLockFile": false, + "reinstallApp": true, + "exposeGlobals": true + }, + "cleanup": { + "shutdownDevice": false + }, + "launchApp": "auto" + }, + "cli": { + "recordLogs": "all", + "configuration": "android.emu.debug", + "headless": true, + "start": true + }, + "device": { + "type": "android.emulator", + "device": { + "avdName": "Pixel_3a_API_33_arm64-v8a" + }, + "headless": true + }, + "logger": { + "level": "info", + "overrideConsole": true, + "options": { + "showLoggerName": true, + "showPid": true, + "showLevel": false, + "showMetadata": false, + "basepath": "/Users/arvinh/Desktop/wooza/react-native-pushy/node_modules/detox/src", + "prefixers": {}, + "stringifiers": {} + } + }, + "testRunner": { + "retries": 0, + "forwardEnv": false, + "bail": false, + "jest": { + "setupTimeout": 120000, + "teardownTimeout": 30000, + "retryAfterCircusRetries": false, + "reportWorkerAssign": true + }, + "args": { + "$0": "jest", + "_": [], + "config": "e2e/jest.config.js", + "--": [] + } + }, + "session": { + "autoStart": true, + "debugSynchronization": 10000 + } + }, + "detoxIPCServer": "primary-286", + "testResults": [], + "testSessionIndex": 0, + "workersCount": 0 + } +23:32:39.946 detox[286] i Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-286 +23:32:39.947 detox[286] i starting server on /tmp/detox.primary-286 +23:32:39.947 detox[286] i starting TLS server false +23:32:39.947 detox[286] i starting server as Unix || Windows Socket +23:32:39.952 detox[286] i Detox server listening on localhost:55801... +23:32:39.953 detox[286] i Serialized the session state at: /private/var/folders/wm/91840x650t10w1m7sq830mp80000gn/T/5bb1f0fb-2312-754e-890e-9b6f4493310d.detox.json +23:32:39.954 detox[286] B jest --config e2e/jest.config.js +23:32:40.958 detox[287] i Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id +23:32:40.959 detox[286] i ## socket connection to server detected ## +23:32:40.959 detox[287] i requested connection to primary-286 /tmp/detox.primary-286 +23:32:40.959 detox[287] i Connecting client on Unix Socket : /tmp/detox.primary-286 +23:32:40.959 detox[287] i retrying reset +23:32:40.960 detox[287] i dispatching event to primary-286 /tmp/detox.primary-286 : registerContext , { id: 'secondary-287' } +23:32:40.961 detox[286] i received event of : registerContext { id: 'secondary-287' } +23:32:40.961 detox[286] i dispatching event to socket : registerContextDone { testResults: [], testSessionIndex: 0 } +23:32:40.962 detox[287] i ## received events ## +23:32:40.962 detox[287] i detected event registerContextDone { testResults: [], testSessionIndex: 0 } +23:32:41.006 detox[287] B e2e/NativeModule.test.ts +23:32:41.014 detox[287] B set up environment +23:32:41.014 detox[287] i dispatching event to primary-286 /tmp/detox.primary-286 : registerWorker , { workerId: 'w1' } +23:32:41.015 detox[286] i received event of : registerWorker { workerId: 'w1' } +23:32:41.015 detox[286] i dispatching event to socket : registerWorkerDone { workersCount: 1 } +23:32:41.015 detox[286] i broadcasting event to all known sockets listening to /tmp/detox.primary-286 : sessionStateUpdate { workersCount: 1 } +23:32:41.015 detox[287] i ## received events ## +23:32:41.015 detox[287] i detected event registerWorkerDone { workersCount: 1 } +23:32:41.103 detox[287] i ## received events ## +23:32:41.103 detox[287] i detected event sessionStateUpdate { workersCount: 1 } +23:32:41.106 detox[286] B connection :55801<->:55810 +23:32:41.107 detox[287] i opened web socket to: ws://localhost:55801 +23:32:41.108 detox[287] i send message + data: {"type":"login","params":{"sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"tester"},"messageId":0} +23:32:41.109 detox[286] i get + data: {"type":"login","params":{"sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"tester"},"messageId":0} +23:32:41.109 detox[286] i created session 85295354-1163-f241-e2d5-6b40862968db +23:32:41.109 detox[286] i send + data: { + "type": "loginSuccess", + "params": { + "testerConnected": true, + "appConnected": false + }, + "messageId": 0 + } +23:32:41.109 detox[286] i tester joined session 85295354-1163-f241-e2d5-6b40862968db +23:32:41.110 detox[287] i get message + data: {"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0} + +23:32:41.145 detox[287] B allocate + args: ({"type":"android.emulator","device":{"avdName":"Pixel_3a_API_33_arm64-v8a"},"headless":true}) +23:32:41.145 detox[287] i "/Users/arvinh/Library/Android/sdk/emulator/emulator" -list-avds --verbose +23:32:41.168 detox[287] i Pixel_3a_API_33_arm64-v8a + +23:32:41.169 detox[287] i "/Users/arvinh/Library/Android/sdk/emulator/emulator" -version -no-window +23:32:41.245 detox[287] i INFO | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag. +Android emulator version 31.3.13.0 (build_id 9189900) (CL:N/A) +Copyright (C) 2006-2017 The Android Open Source Project and many others. +This program is a derivative of the QEMU CPU emulator (www.qemu.org). + + This software is licensed under the terms of the GNU General Public + License version 2, as published by the Free Software Foundation, and + may be copied, distributed, and modified under those terms. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + +23:32:41.246 detox[287] i Detected emulator binary version { major: 31, minor: 3, patch: 13, toString: [Function: toString] } +23:32:41.246 detox[287] i Trying to allocate a device based on "Pixel_3a_API_33_arm64-v8a" +23:32:41.247 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" devices +23:32:41.259 detox[287] i List of devices attached +emulator-5554 device + + +23:32:41.260 detox[287] i port: 5554, host: localhost +23:32:41.264 detox[287] i Found a matching & free device emulator-5554 +23:32:41.265 detox[287] i Settled on emulator-5554 +23:32:41.265 detox[287] B _launchEmulator + args: ("Pixel_3a_API_33_arm64-v8a", "emulator-5554", true, {"headless":true,"port":null}) +23:32:41.265 detox[287] B _awaitEmulatorBoot + args: ("emulator-5554") +23:32:41.265 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "getprop dev.bootcomplete" +23:32:41.302 detox[287] i 1 + +23:32:41.302 detox[287] E _awaitEmulatorBoot +23:32:41.302 detox[287] B onBootDevice + args: ({"deviceId":"emulator-5554","type":"Pixel_3a_API_33_arm64-v8a","coldBoot":false}) +23:32:41.303 detox[287] E onBootDevice +23:32:41.303 detox[287] E _launchEmulator +23:32:41.303 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "getprop ro.build.version.sdk" +23:32:41.329 detox[287] i 33 + +23:32:41.330 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global animator_duration_scale 0" +23:32:41.370 detox[287] i +23:32:41.370 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global window_animation_scale 0" +23:32:41.400 detox[287] i +23:32:41.400 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global transition_animation_scale 0" +23:32:41.428 detox[287] i +23:32:41.428 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "dumpsys power | grep \"^[ ]*m[UW].*=\"" +23:32:41.488 detox[287] i mWakefulness=Awake + mWakefulnessChanging=false + mWakeLockSummary=0x0 + mWakeUpWhenPluggedOrUnpluggedConfig=false + mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false + mUserActivityTimeoutOverrideFromWindowManager=-1 + mUserInactiveOverrideFromWindowManager=false + mUserId=0 + mWakeLockSummary=0x0 + mUserInteractionBackoffMillis=60000 + +23:32:41.488 detox[287] E allocate +23:32:41.500 detox[287] B installUtilBinaries + args: () +23:32:41.500 detox[287] E installUtilBinaries +23:32:41.500 detox[287] B selectApp + args: ("default") +23:32:41.501 detox[287] i "/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt" dump badging "/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk" +23:32:41.535 detox[287] i package: name='com.awesomeproject' versionCode='1' versionName='1.0' platformBuildVersionName='12' platformBuildVersionCode='31' compileSdkVersion='31' compileSdkVersionCodename='12' +sdkVersion:'21' +targetSdkVersion:'31' +uses-permission: name='android.permission.SYSTEM_ALERT_WINDOW' +uses-permission: name='android.permission.INTERNET' +uses-permission: name='android.permission.ACCESS_WIFI_STATE' +uses-permission: name='android.permission.REQUEST_INSTALL_PACKAGES' +uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE' +application-label:'AwesomeProject' +application-label-af:'AwesomeProject' +application-label-am:'AwesomeProject' +application-label-ar:'AwesomeProject' +application-label-as:'AwesomeProject' +application-label-az:'AwesomeProject' +application-label-be:'AwesomeProject' +application-label-bg:'AwesomeProject' +application-label-bn:'AwesomeProject' +application-label-bs:'AwesomeProject' +application-label-ca:'AwesomeProject' +application-label-cs:'AwesomeProject' +application-label-da:'AwesomeProject' +application-label-de:'AwesomeProject' +application-label-el:'AwesomeProject' +application-label-en-AU:'AwesomeProject' +application-label-en-CA:'AwesomeProject' +application-label-en-GB:'AwesomeProject' +application-label-en-IN:'AwesomeProject' +application-label-en-XC:'AwesomeProject' +application-label-es:'AwesomeProject' +application-label-es-US:'AwesomeProject' +application-label-et:'AwesomeProject' +application-label-eu:'AwesomeProject' +application-label-fa:'AwesomeProject' +application-label-fi:'AwesomeProject' +application-label-fr:'AwesomeProject' +application-label-fr-CA:'AwesomeProject' +application-label-gl:'AwesomeProject' +application-label-gu:'AwesomeProject' +application-label-hi:'AwesomeProject' +application-label-hr:'AwesomeProject' +application-label-hu:'AwesomeProject' +application-label-hy:'AwesomeProject' +application-label-in:'AwesomeProject' +application-label-is:'AwesomeProject' +application-label-it:'AwesomeProject' +application-label-iw:'AwesomeProject' +application-label-ja:'AwesomeProject' +application-label-ka:'AwesomeProject' +application-label-kk:'AwesomeProject' +application-label-km:'AwesomeProject' +application-label-kn:'AwesomeProject' +application-label-ko:'AwesomeProject' +application-label-ky:'AwesomeProject' +application-label-lo:'AwesomeProject' +application-label-lt:'AwesomeProject' +application-label-lv:'AwesomeProject' +application-label-mk:'AwesomeProject' +application-label-ml:'AwesomeProject' +application-label-mn:'AwesomeProject' +application-label-mr:'AwesomeProject' +application-label-ms:'AwesomeProject' +application-label-my:'AwesomeProject' +application-label-nb:'AwesomeProject' +application-label-ne:'AwesomeProject' +application-label-nl:'AwesomeProject' +application-label-or:'AwesomeProject' +application-label-pa:'AwesomeProject' +application-label-pl:'AwesomeProject' +application-label-pt:'AwesomeProject' +application-label-pt-BR:'AwesomeProject' +application-label-pt-PT:'AwesomeProject' +application-label-ro:'AwesomeProject' +application-label-ru:'AwesomeProject' +application-label-si:'AwesomeProject' +application-label-sk:'AwesomeProject' +application-label-sl:'AwesomeProject' +application-label-sq:'AwesomeProject' +application-label-sr:'AwesomeProject' +application-label-sr-Latn:'AwesomeProject' +application-label-sv:'AwesomeProject' +application-label-sw:'AwesomeProject' +application-label-ta:'AwesomeProject' +application-label-te:'AwesomeProject' +application-label-th:'AwesomeProject' +application-label-tl:'AwesomeProject' +application-label-tr:'AwesomeProject' +application-label-uk:'AwesomeProject' +application-label-ur:'AwesomeProject' +application-label-uz:'AwesomeProject' +application-label-vi:'AwesomeProject' +application-label-zh-CN:'AwesomeProject' +application-label-zh-HK:'AwesomeProject' +application-label-zh-TW:'AwesomeProject' +application-label-zu:'AwesomeProject' +application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png' +application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png' +application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png' +application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png' +application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png' +application: label='AwesomeProject' icon='res/mipmap-mdpi-v4/ic_launcher.png' +application-debuggable +launchable-activity: name='com.awesomeproject.MainActivity' label='AwesomeProject' icon='' +uses-permission: name='android.permission.READ_EXTERNAL_STORAGE' +uses-implied-permission: name='android.permission.READ_EXTERNAL_STORAGE' reason='requested WRITE_EXTERNAL_STORAGE' +feature-group: label='' + uses-feature: name='android.hardware.faketouch' + uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' + uses-feature: name='android.hardware.wifi' + uses-implied-feature: name='android.hardware.wifi' reason='requested android.permission.ACCESS_WIFI_STATE permission' +main +other-activities +supports-screens: 'small' 'normal' 'large' 'xlarge' +supports-any-density: 'true' +locales: '--_--' 'af' 'am' 'ar' 'as' 'az' 'be' 'bg' 'bn' 'bs' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-CA' 'en-GB' 'en-IN' 'en-XC' 'es' 'es-US' 'et' 'eu' 'fa' 'fi' 'fr' 'fr-CA' 'gl' 'gu' 'hi' 'hr' 'hu' 'hy' 'in' 'is' 'it' 'iw' 'ja' 'ka' 'kk' 'km' 'kn' 'ko' 'ky' 'lo' 'lt' 'lv' 'mk' 'ml' 'mn' 'mr' 'ms' 'my' 'nb' 'ne' 'nl' 'or' 'pa' 'pl' 'pt' 'pt-BR' 'pt-PT' 'ro' 'ru' 'si' 'sk' 'sl' 'sq' 'sr' 'sr-Latn' 'sv' 'sw' 'ta' 'te' 'th' 'tl' 'tr' 'uk' 'ur' 'uz' 'vi' 'zh-CN' 'zh-HK' 'zh-TW' 'zu' +densities: '160' '240' '320' '480' '640' +native-code: 'arm64-v8a' 'armeabi-v7a' 'x86' 'x86_64' + +23:32:41.535 detox[287] E selectApp +23:32:41.535 detox[287] B uninstallApp + args: () +23:32:41.535 detox[287] B onBeforeUninstallApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:32:41.535 detox[287] E onBeforeUninstallApp +23:32:41.535 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list packages com.awesomeproject" +23:32:41.559 detox[287] i package:com.awesomeproject +package:com.awesomeproject.test + +23:32:41.559 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 uninstall com.awesomeproject +23:32:41.875 detox[287] i Success + +23:32:41.875 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list packages com.awesomeproject.test" +23:32:41.973 detox[287] i package:com.awesomeproject.test + +23:32:41.973 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 uninstall com.awesomeproject.test +23:32:42.138 detox[287] i Success + +23:32:42.138 detox[287] E uninstallApp +23:32:42.138 detox[287] B selectApp + args: ("default") +23:32:42.139 detox[287] B terminateApp + args: () +23:32:42.139 detox[287] B onBeforeTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:32:42.139 detox[287] E onBeforeTerminateApp +23:32:42.139 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop com.awesomeproject" +23:32:42.202 detox[287] i +23:32:42.202 detox[287] B onTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:32:42.203 detox[287] E onTerminateApp +23:32:42.203 detox[287] E terminateApp +23:32:42.203 detox[287] E selectApp +23:32:42.203 detox[287] B installApp + args: () +23:32:42.203 detox[287] i "/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt" dump xmlstrings "/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk" AndroidManifest.xml +23:32:42.216 detox[287] i String pool of 62 unique UTF-16 non-sorted strings, 62 entries and 0 styles using 2972 bytes: +String #0: theme +String #1: label +String #2: icon +String #3: name +String #4: debuggable +String #5: exported +String #6: authorities +String #7: grantUriPermissions +String #8: launchMode +String #9: configChanges +String #10: value +String #11: resource +String #12: minSdkVersion +String #13: versionCode +String #14: versionName +String #15: windowSoftInputMode +String #16: targetSdkVersion +String #17: allowBackup +String #18: usesCleartextTraffic +String #19: networkSecurityConfig +String #20: roundIcon +String #21: compileSdkVersion +String #22: compileSdkVersionCodename +String #23: appComponentFactory +String #24: 1.0 +String #25: 12 +String #26: action +String #27: activity +String #28: android +String #29: android.intent.action.MAIN +String #30: android.intent.category.LAUNCHER +String #31: android.permission.ACCESS_WIFI_STATE +String #32: android.permission.INTERNET +String #33: android.permission.REQUEST_INSTALL_PACKAGES +String #34: android.permission.SYSTEM_ALERT_WINDOW +String #35: android.permission.WRITE_EXTERNAL_STORAGE +String #36: android.support.FILE_PROVIDER_PATHS +String #37: androidx.core.app.CoreComponentFactory +String #38: androidx.emoji2.text.EmojiCompatInitializer +String #39: androidx.lifecycle.ProcessLifecycleInitializer +String #40: androidx.startup +String #41: androidx.startup.InitializationProvider +String #42: application +String #43: category +String #44: cn.reactnative.modules.update.PushyFileProvider +String #45: com.awesomeproject +String #46: com.awesomeproject.MainActivity +String #47: com.awesomeproject.MainApplication +String #48: com.awesomeproject.androidx-startup +String #49: com.awesomeproject.pushy.fileprovider +String #50: com.facebook.react.devsupport.DevSettingsActivity +String #51: http://schemas.android.com/apk/res/android +String #52: intent-filter +String #53: manifest +String #54: meta-data +String #55: package +String #56: platformBuildVersionCode +String #57: platformBuildVersionName +String #58: provider +String #59: pushy_build_time +String #60: uses-permission +String #61: uses-sdk + +23:32:42.216 detox[287] i "/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt" dump xmlstrings "/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk" AndroidManifest.xml +23:32:42.228 detox[287] i String pool of 41 unique UTF-16 non-sorted strings, 41 entries and 0 styles using 2052 bytes: +String #0: theme +String #1: label +String #2: name +String #3: debuggable +String #4: exported +String #5: targetPackage +String #6: handleProfiling +String #7: functionalTest +String #8: minSdkVersion +String #9: targetSdkVersion +String #10: compileSdkVersion +String #11: compileSdkVersionCodename +String #12: 12 +String #13: Tests for com.awesomeproject +String #14: action +String #15: activity +String #16: android +String #17: android.intent.action.MAIN +String #18: android.permission.REORDER_TASKS +String #19: android.test.runner +String #20: androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity +String #21: androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity +String #22: androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity +String #23: androidx.test.orchestrator +String #24: androidx.test.runner.AndroidJUnitRunner +String #25: androidx.test.services +String #26: application +String #27: com.awesomeproject +String #28: com.awesomeproject.test +String #29: com.google.android.apps.common.testing.services +String #30: http://schemas.android.com/apk/res/android +String #31: instrumentation +String #32: intent-filter +String #33: manifest +String #34: package +String #35: platformBuildVersionCode +String #36: platformBuildVersionName +String #37: queries +String #38: uses-library +String #39: uses-permission +String #40: uses-sdk + +23:32:42.228 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "rm -fr /data/local/tmp/detox" +23:32:42.306 detox[287] i +23:32:42.306 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "mkdir -p /data/local/tmp/detox" +23:32:42.344 detox[287] i +23:32:42.344 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 push "/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk" "/data/local/tmp/detox/Application.apk" +23:32:42.683 detox[287] i /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk: 1 file pushed, 0 skipped. 174.6 MB/s (57188071 bytes in 0.312s) + +23:32:42.685 detox[287] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk +23:32:43.594 detox[287] i Success + +23:32:43.597 detox[287] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk exited with code #0 +23:32:43.597 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 push "/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk" "/data/local/tmp/detox/Test.apk" +23:32:43.643 detox[287] i /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk: 1 file pushed, 0 skipped. 466.5 MB/s (7834463 bytes in 0.016s) + +23:32:43.644 detox[287] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk +23:32:43.845 detox[287] i Success + +23:32:43.849 detox[287] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk exited with code #0 +23:32:43.849 detox[287] B reverseTcpPort + args: (8081) +23:32:43.849 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse tcp:8081 tcp:8081 +23:32:43.865 detox[287] i +23:32:43.865 detox[287] E reverseTcpPort +23:32:43.865 detox[287] E installApp +23:32:43.865 detox[287] B selectApp + args: ("default") +23:32:43.865 detox[287] B terminateApp + args: () +23:32:43.865 detox[287] B onBeforeTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:32:43.865 detox[287] E onBeforeTerminateApp +23:32:43.865 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop com.awesomeproject" +23:32:43.925 detox[287] i +23:32:43.925 detox[287] B onTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:32:43.925 detox[287] E onTerminateApp +23:32:43.925 detox[287] E terminateApp +23:32:43.925 detox[287] E selectApp +23:32:43.926 detox[287] E set up environment +23:32:44.530 detox[287] i NativeModule.test.ts is assigned to emulator-5554 (Pixel_3a_API_33_arm64-v8a) +23:32:44.530 detox[287] B run the tests +23:32:44.530 detox[287] B onRunDescribeStart + args: ({"name":"ROOT_DESCRIBE_BLOCK"}) +23:32:44.531 detox[287] E onRunDescribeStart +23:32:44.531 detox[287] B 测试Native模块的方法 +23:32:44.531 detox[287] B onRunDescribeStart + args: ({"name":"测试Native模块的方法"}) +23:32:44.531 detox[287] E onRunDescribeStart +23:32:44.531 detox[287] B beforeAll +23:32:44.535 detox[287] B launchApp + args: () +23:32:44.536 detox[287] B terminateApp + args: ("com.awesomeproject") +23:32:44.536 detox[287] B onBeforeTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:32:44.536 detox[287] E onBeforeTerminateApp +23:32:44.536 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop com.awesomeproject" +23:32:44.569 detox[287] i +23:32:44.569 detox[287] B onTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:32:44.569 detox[287] E onTerminateApp +23:32:44.569 detox[287] E terminateApp +23:32:44.570 detox[287] B onBeforeLaunchApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:55801","detoxSessionId":"85295354-1163-f241-e2d5-6b40862968db"}}) +23:32:44.571 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "date +\"%m-%d %T.000\"" +23:32:44.594 detox[287] i 12-09 14:40:08.000 + +23:32:44.594 detox[287] E onBeforeLaunchApp +23:32:44.594 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse tcp:55801 tcp:55801 +23:32:44.607 detox[287] i 55801 + +23:32:44.607 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list instrumentation" +23:32:44.630 detox[287] i instrumentation:com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner (target=com.awesomeproject) +instrumentation:com.testhotupdate.test/android.test.InstrumentationTestRunner (target=com.testhotupdate) + +23:32:44.632 detox[287] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55801 -e detoxSessionId 85295354-1163-f241-e2d5-6b40862968db -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner +23:32:45.134 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "ps | grep \"com\.awesomeproject$\"" +23:32:45.213 detox[287] i u0_a184 20108 325 14812908 167772 0 0 R com.awesomeproject + +23:32:45.213 detox[287] B onLaunchApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:55801","detoxSessionId":"85295354-1163-f241-e2d5-6b40862968db"},"pid":20108}) +23:32:45.213 detox[287] i starting ADBLogcatRecording +23:32:45.214 detox[287] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "logcat -T \"12-09 14:40:08.000\" --pid=20108 -f /sdcard/233241138_0.log" +23:32:45.214 detox[287] E onLaunchApp +23:32:45.516 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell du /sdcard/233241138_0.log +23:32:45.545 detox[287] i 4 /sdcard/233241138_0.log + +23:32:45.581 detox[287] i INSTRUMENTATION_STATUS: class=com.awesomeproject.DetoxTest +INSTRUMENTATION_STATUS: current=1 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=1 +INSTRUMENTATION_STATUS: stream= +com.awesomeproject.DetoxTest: +INSTRUMENTATION_STATUS: test=runDetoxTests +INSTRUMENTATION_STATUS_CODE: 1 + +23:32:45.917 detox[286] B connection :55801<->:55919 +23:32:45.942 detox[286] i get + data: {"messageId":0,"type":"login","params":{"role":"app","sessionId":"85295354-1163-f241-e2d5-6b40862968db"}} +23:32:45.942 detox[286] i send + data: { + "messageId": 0, + "type": "loginSuccess", + "params": { + "testerConnected": true, + "appConnected": true + } + } +23:32:45.942 detox[286] i app joined session 85295354-1163-f241-e2d5-6b40862968db +23:32:45.942 detox[286] i send + data: { + "type": "appConnected" + } +23:32:45.942 detox[287] i get message + data: {"type":"appConnected"} + +23:32:45.943 detox[286] i get + data: {"type":"isReady","params":{},"messageId":-1000} +23:32:45.943 detox[287] i send message + data: {"type":"isReady","params":{},"messageId":-1000} +23:32:45.944 detox[286] i send + data: { + "type": "isReady", + "params": {}, + "messageId": -1000 + } +23:32:55.947 detox[287] i send message + data: {"type":"currentStatus","params":{},"messageId":1} +23:32:55.949 detox[286] i get + data: {"type":"currentStatus","params":{},"messageId":1} +23:32:55.949 detox[286] i send + data: { + "type": "currentStatus", + "params": {}, + "messageId": 1 + } +23:33:00.950 detox[287] i Failed to execute the current status query. +23:34:44.533 detox[287] B onHookFailure + args: ({"error":"Exceeded timeout of 120000 ms for a hook.\nAdd a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout.","hook":"beforeAll"}) +23:34:44.533 detox[287] E onHookFailure +23:34:44.533 detox[287] E beforeAll + error: 'Exceeded timeout of 120000 ms for a hook.\n' + + 'Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout.' +23:34:44.534 detox[287] B setLocalHashInfo +23:34:44.534 detox[287] i 测试Native模块的方法: setLocalHashInfo +23:34:44.536 detox[287] E setLocalHashInfo +23:34:44.536 detox[287] i 测试Native模块的方法: setLocalHashInfo [FAIL] +23:34:44.545 detox[287] B getLocalHashInfo +23:34:44.545 detox[287] i 测试Native模块的方法: getLocalHashInfo +23:34:44.545 detox[287] E getLocalHashInfo +23:34:44.545 detox[287] i 测试Native模块的方法: getLocalHashInfo [FAIL] +23:34:44.545 detox[287] B setUuid +23:34:44.545 detox[287] i 测试Native模块的方法: setUuid +23:34:44.545 detox[287] E setUuid +23:34:44.545 detox[287] i 测试Native模块的方法: setUuid [FAIL] +23:34:44.546 detox[287] B setBlockUpdate +23:34:44.546 detox[287] i 测试Native模块的方法: setBlockUpdate +23:34:44.546 detox[287] E setBlockUpdate +23:34:44.546 detox[287] i 测试Native模块的方法: setBlockUpdate [FAIL] +23:34:44.547 detox[287] B setNeedUpdate +23:34:44.547 detox[287] i 测试Native模块的方法: setNeedUpdate +23:34:44.547 detox[287] E setNeedUpdate +23:34:44.547 detox[287] i 测试Native模块的方法: setNeedUpdate [FAIL] +23:34:44.547 detox[287] B markSuccess +23:34:44.547 detox[287] i 测试Native模块的方法: markSuccess +23:34:44.547 detox[287] E markSuccess +23:34:44.547 detox[287] i 测试Native模块的方法: markSuccess [FAIL] +23:34:44.548 detox[287] B downloadPatchFromPpk +23:34:44.548 detox[287] i 测试Native模块的方法: downloadPatchFromPpk +23:34:44.548 detox[287] E downloadPatchFromPpk +23:34:44.548 detox[287] i 测试Native模块的方法: downloadPatchFromPpk [FAIL] +23:34:44.548 detox[287] B downloadPatchFromPackage +23:34:44.548 detox[287] i 测试Native模块的方法: downloadPatchFromPackage +23:34:44.548 detox[287] E downloadPatchFromPackage +23:34:44.548 detox[287] i 测试Native模块的方法: downloadPatchFromPackage [FAIL] +23:34:44.548 detox[287] B downloadFullUpdate +23:34:44.548 detox[287] i 测试Native模块的方法: downloadFullUpdate +23:34:44.549 detox[287] E downloadFullUpdate +23:34:44.549 detox[287] i 测试Native模块的方法: downloadFullUpdate [FAIL] +23:34:44.549 detox[287] B downloadAndInstallApk +23:34:44.549 detox[287] i 测试Native模块的方法: downloadAndInstallApk +23:34:44.549 detox[287] E downloadAndInstallApk +23:34:44.549 detox[287] i 测试Native模块的方法: downloadAndInstallApk [FAIL] +23:34:44.550 detox[287] B onRunDescribeFinish + args: ({"name":"测试Native模块的方法"}) +23:34:44.550 detox[287] E onRunDescribeFinish +23:34:44.550 detox[287] E 测试Native模块的方法 +23:34:44.550 detox[287] B onRunDescribeFinish + args: ({"name":"ROOT_DESCRIBE_BLOCK"}) +23:34:44.550 detox[287] E onRunDescribeFinish +23:34:44.550 detox[287] E run the tests +23:34:44.574 detox[287] B tear down environment +23:34:44.574 detox[287] B onBeforeCleanup + args: () +23:34:44.576 detox[287] i saving ADBLogcatRecording to: artifacts/android.emu.debug.2023-04-01 15-32-39Z/emulator-5554 2023-04-01 15-34-44Z.startup.log +23:34:44.576 detox[287] i stopping ADBLogcatRecording +23:34:44.576 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "date +\"%m-%d %T.000\"" +23:34:44.612 detox[287] i 12-09 14:42:08.000 + +23:34:44.614 detox[287] i sending SIGINT to: /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell logcat -T "12-09 14:40:08.000" --pid=20108 -f /sdcard/233241138_0.log +23:34:44.615 detox[287] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "logcat -T \"12-09 14:40:08.000\" --pid=20108 -f /sdcard/233241138_0.log" terminated with SIGINT +23:34:44.615 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 pull "/sdcard/233241138_0.log" "artifacts/android.emu.debug.2023-04-01 15-32-39Z/emulator-5554 2023-04-01 15-34-44Z.startup.log" +23:34:44.634 detox[287] i /sdcard/233241138_0.log: 1 file pulled, 0 skipped. 13.4 MB/s (53248 bytes in 0.004s) + +23:34:44.634 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "rm \"/sdcard/233241138_0.log\"" +23:34:44.678 detox[287] i +23:34:44.678 detox[287] i saving FileArtifact to: artifacts/android.emu.debug.2023-04-01 15-32-39Z/detox_pid_287.json.log { append: true } +23:34:44.678 detox[287] i saving FileArtifact to: artifacts/android.emu.debug.2023-04-01 15-32-39Z/detox_pid_287.log { append: true } +23:34:44.678 detox[287] E onBeforeCleanup +23:34:44.678 detox[287] i The app has not responded to the network requests below: + (id = 1) currentStatus: {} + (id = -1000) isReady: {} + +Unresponded network requests might result in timeout errors in Detox tests. + +23:34:44.680 detox[287] i send message + data: {"type":"cleanup","params":{"stopRunner":true},"messageId":-49642} +23:34:44.681 detox[286] i get + data: {"type":"cleanup","params":{"stopRunner":true},"messageId":-49642} +23:34:44.681 detox[286] i send + data: { + "type": "cleanup", + "params": { + "stopRunner": true + }, + "messageId": -49642 + } +23:34:49.683 detox[287] i The pending request #-49642 ("cleanup") has been rejected due to the following error: + +The tester has not received a response within 5000ms timeout to the message: + +Cleanup { + type: 'cleanup', + params: [Object], + messageId: -49642 +} +23:34:49.687 detox[286] i tester exited session 85295354-1163-f241-e2d5-6b40862968db +23:34:49.688 detox[286] i send + data: { + "type": "testerDisconnected", + "messageId": -1 + } +23:34:49.688 detox[286] E connection :55801<->:55810 +23:34:49.688 detox[287] i sending SIGINT to: /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55801 -e detoxSessionId 85295354-1163-f241-e2d5-6b40862968db -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner +23:34:49.691 detox[287] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55801 -e detoxSessionId 85295354-1163-f241-e2d5-6b40862968db -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner terminated with SIGINT +23:34:49.691 detox[287] i An error occurred while waiting for the app to become ready. Waiting for disconnection... + error: Failed to run application on the device + + HINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for "ready" message (over WebSocket) from the instrumentation process. +23:34:49.692 detox[287] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse --remove tcp:55801 +23:34:49.693 detox[287] B free + args: ({"adbName":"emulator-5554"}, {"shutdown":false}) +23:34:49.699 detox[287] E free +23:34:49.699 detox[287] E tear down environment +23:34:49.699 detox[287] E e2e/NativeModule.test.ts +23:34:49.705 detox[287] i dispatching event to primary-286 /tmp/detox.primary-286 : reportTestResults , { + testResults: [ + { + success: false, + testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts', + testExecError: undefined, + isPermanentFailure: false + } + ] +} +23:34:49.706 detox[286] i received event of : reportTestResults { + testResults: [ + { + success: false, + testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts', + isPermanentFailure: false + } + ] +} +23:34:49.706 detox[286] i dispatching event to socket : reportTestResultsDone { + testResults: [ + { + success: false, + testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts', + isPermanentFailure: false + } + ] +} +23:34:49.706 detox[286] i broadcasting event to all known sockets listening to /tmp/detox.primary-286 : sessionStateUpdate { + testResults: [ + { + success: false, + testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts', + isPermanentFailure: false + } + ] +} +23:34:49.706 detox[287] i ## received events ## +23:34:49.707 detox[287] i detected event reportTestResultsDone { + testResults: [ + { + success: false, + testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts', + isPermanentFailure: false + } + ] +} +23:34:49.710 detox[286] i socket disconnected secondary-287 +23:34:49.710 detox[287] i connection closed primary-286 /tmp/detox.primary-286 0 tries remaining of 0 +23:34:49.710 detox[287] i secondary-287 exceeded connection rety amount of or stopRetrying flag set. +23:34:49.714 detox[287] i +23:34:49.777 detox[286] E Command failed with exit code = 1: +jest --config e2e/jest.config.js +23:34:49.778 detox[286] i Detox server has been closed gracefully +23:34:49.778 detox[286] i app exited session 85295354-1163-f241-e2d5-6b40862968db +23:34:49.778 detox[286] E connection :55801<->:55919 +23:34:49.779 detox[286] E ../../node_modules/.bin/detox test --configuration android.emu.debug --headless --record-logs all diff --git a/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-39Z/detox.trace.json b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-39Z/detox.trace.json new file mode 100644 index 0000000..cb1d65f --- /dev/null +++ b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-39Z/detox.trace.json @@ -0,0 +1,303 @@ +[ + {"ph":"M","args":{"name":"primary"},"ts":1680363159942000,"tid":0,"pid":286,"name":"process_name"}, + {"ph":"M","args":{"sort_index":0},"ts":1680363159942000,"tid":0,"pid":286,"name":"process_sort_index"}, + {"ph":"M","args":{"name":"lifecycle"},"ts":1680363159942000,"tid":0,"pid":286,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":0},"ts":1680363159942000,"tid":0,"pid":286,"name":"thread_sort_index"}, + {"ph":"B","name":"../../node_modules/.bin/detox test --configuration android.emu.debug --headless --record-logs all","pid":286,"tid":0,"cat":"lifecycle","ts":1680363159942000,"args":{"level":10,"cwd":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate","data":{"id":"5bb1f0fb-2312-754e-890e-9b6f4493310d","detoxConfig":{"configurationName":"android.emu.debug","apps":{"default":{"type":"android.apk","binaryPath":"android/app/build/outputs/apk/debug/app-debug.apk","build":"cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug","reversePorts":[8081]}},"artifacts":{"rootDir":"artifacts/android.emu.debug.2023-04-01 15-32-39Z","plugins":{"log":{"enabled":true,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":false,"keepOnlyFailedTestsArtifacts":false},"video":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"uiHierarchy":{"enabled":false,"keepOnlyFailedTestsArtifacts":false}}},"behavior":{"init":{"keepLockFile":false,"reinstallApp":true,"exposeGlobals":true},"cleanup":{"shutdownDevice":false},"launchApp":"auto"},"cli":{"recordLogs":"all","configuration":"android.emu.debug","headless":true,"start":true},"device":{"type":"android.emulator","device":{"avdName":"Pixel_3a_API_33_arm64-v8a"},"headless":true},"logger":{"level":"info","overrideConsole":true,"options":{"showLoggerName":true,"showPid":true,"showLevel":false,"showMetadata":false,"basepath":"/Users/arvinh/Desktop/wooza/react-native-pushy/node_modules/detox/src","prefixers":{},"stringifiers":{}}},"testRunner":{"retries":0,"forwardEnv":false,"bail":false,"jest":{"setupTimeout":120000,"teardownTimeout":30000,"retryAfterCircusRetries":false,"reportWorkerAssign":true},"args":{"$0":"jest","_":[],"config":"e2e/jest.config.js","--":[]}},"session":{"autoStart":true,"debugSynchronization":10000}},"detoxIPCServer":"primary-286","testResults":[],"testSessionIndex":0,"workersCount":0},"v":0}}, + {"ph":"M","args":{"name":"ipc"},"ts":1680363159946000,"tid":1,"pid":286,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":1},"ts":1680363159946000,"tid":1,"pid":286,"name":"thread_sort_index"}, + {"ph":"i","name":"Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-286","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363159946000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"starting server on /tmp/detox.primary-286 ","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363159947000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"starting TLS server false","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363159947000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"starting server as Unix || Windows Socket","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363159947000,"args":{"level":10,"v":0}}, + {"ph":"M","args":{"name":"ws-server"},"ts":1680363159952000,"tid":2,"pid":286,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":2},"ts":1680363159952000,"tid":2,"pid":286,"name":"thread_sort_index"}, + {"ph":"i","name":"Detox server listening on localhost:55801...","pid":286,"tid":2,"cat":"ws-server,ws","ts":1680363159952000,"args":{"level":20,"v":0}}, + {"ph":"i","name":"Serialized the session state at: /private/var/folders/wm/91840x650t10w1m7sq830mp80000gn/T/5bb1f0fb-2312-754e-890e-9b6f4493310d.detox.json","pid":286,"tid":0,"cat":"lifecycle","ts":1680363159953000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"jest --config e2e/jest.config.js","pid":286,"tid":0,"cat":"lifecycle,cli","ts":1680363159954000,"args":{"level":30,"env":{},"v":0}}, + {"ph":"M","args":{"name":"secondary"},"ts":1680363160958000,"tid":0,"pid":287,"name":"process_name"}, + {"ph":"M","args":{"sort_index":1},"ts":1680363160958000,"tid":0,"pid":287,"name":"process_sort_index"}, + {"ph":"M","args":{"name":"ipc"},"ts":1680363160958000,"tid":5,"pid":287,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":5},"ts":1680363160958000,"tid":5,"pid":287,"name":"thread_sort_index"}, + {"ph":"i","name":"Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id ","pid":287,"tid":5,"cat":"ipc","ts":1680363160958000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"## socket connection to server detected ##","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363160959000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"requested connection to primary-286 /tmp/detox.primary-286","pid":287,"tid":5,"cat":"ipc","ts":1680363160959000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"Connecting client on Unix Socket : /tmp/detox.primary-286","pid":287,"tid":5,"cat":"ipc","ts":1680363160959000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"retrying reset","pid":287,"tid":5,"cat":"ipc","ts":1680363160959000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"dispatching event to primary-286 /tmp/detox.primary-286 : registerContext , { id: 'secondary-287' }","pid":287,"tid":5,"cat":"ipc","ts":1680363160960000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"received event of : registerContext { id: 'secondary-287' }","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363160961000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"dispatching event to socket : registerContextDone { testResults: [], testSessionIndex: 0 }","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363160961000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"## received events ##","pid":287,"tid":5,"cat":"ipc","ts":1680363160962000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"detected event registerContextDone { testResults: [], testSessionIndex: 0 }","pid":287,"tid":5,"cat":"ipc","ts":1680363160962000,"args":{"level":10,"v":0}}, + {"ph":"M","args":{"name":"lifecycle"},"ts":1680363161006000,"tid":6,"pid":287,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":6},"ts":1680363161006000,"tid":6,"pid":287,"name":"thread_sort_index"}, + {"ph":"B","name":"e2e/NativeModule.test.ts","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363161006000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"set up environment","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363161014000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"dispatching event to primary-286 /tmp/detox.primary-286 : registerWorker , { workerId: 'w1' }","pid":287,"tid":5,"cat":"ipc","ts":1680363161014000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"received event of : registerWorker { workerId: 'w1' }","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363161015000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"dispatching event to socket : registerWorkerDone { workersCount: 1 }","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363161015000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"broadcasting event to all known sockets listening to /tmp/detox.primary-286 : sessionStateUpdate { workersCount: 1 }","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363161015000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"## received events ##","pid":287,"tid":5,"cat":"ipc","ts":1680363161015000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"detected event registerWorkerDone { workersCount: 1 }","pid":287,"tid":5,"cat":"ipc","ts":1680363161015000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"## received events ##","pid":287,"tid":5,"cat":"ipc","ts":1680363161103000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"detected event sessionStateUpdate { workersCount: 1 }","pid":287,"tid":5,"cat":"ipc","ts":1680363161103000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"connection :55801<->:55810","pid":286,"tid":2,"cat":"ws-server,ws","ts":1680363161106000,"args":{"level":20,"id":55810,"v":0}}, + {"ph":"M","args":{"name":"ws-client"},"ts":1680363161107000,"tid":7,"pid":287,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":7},"ts":1680363161107000,"tid":7,"pid":287,"name":"thread_sort_index"}, + {"ph":"i","name":"opened web socket to: ws://localhost:55801","pid":287,"tid":7,"cat":"ws-client,ws","ts":1680363161107000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"send message","pid":287,"tid":7,"cat":"ws-client,ws","ts":1680363161108000,"args":{"level":10,"data":"{\"type\":\"login\",\"params\":{\"sessionId\":\"85295354-1163-f241-e2d5-6b40862968db\",\"role\":\"tester\"},\"messageId\":0}","v":0}}, + {"ph":"i","name":"get","pid":286,"tid":2,"cat":"ws-server,ws","ts":1680363161109000,"args":{"level":10,"id":55810,"data":"{\"type\":\"login\",\"params\":{\"sessionId\":\"85295354-1163-f241-e2d5-6b40862968db\",\"role\":\"tester\"},\"messageId\":0}","v":0}}, + {"ph":"M","args":{"name":"ws-server"},"ts":1680363161109000,"tid":3,"pid":286,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":3},"ts":1680363161109000,"tid":3,"pid":286,"name":"thread_sort_index"}, + {"ph":"i","name":"created session 85295354-1163-f241-e2d5-6b40862968db","pid":286,"tid":3,"cat":"ws-server,ws-session","ts":1680363161109000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"send","pid":286,"tid":2,"cat":"ws-server,ws","ts":1680363161109000,"args":{"level":10,"id":55810,"trackingId":"tester","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"tester","data":{"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0},"v":0}}, + {"ph":"i","name":"tester joined session 85295354-1163-f241-e2d5-6b40862968db","pid":286,"tid":3,"cat":"ws-server,ws-session","ts":1680363161109000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"get message","pid":287,"tid":7,"cat":"ws-client,ws","ts":1680363161110000,"args":{"level":10,"data":"{\"type\":\"loginSuccess\",\"params\":{\"testerConnected\":true,\"appConnected\":false},\"messageId\":0}\n ","v":0}}, + {"ph":"M","args":{"name":"device"},"ts":1680363161145000,"tid":8,"pid":287,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":8},"ts":1680363161145000,"tid":8,"pid":287,"name":"thread_sort_index"}, + {"ph":"B","name":"allocate","pid":287,"tid":8,"cat":"device","ts":1680363161145000,"args":{"level":10,"args":[{"type":"android.emulator","device":{"avdName":"Pixel_3a_API_33_arm64-v8a"},"headless":true}],"v":0}}, + {"ph":"M","args":{"name":"child-process"},"ts":1680363161145000,"tid":9,"pid":287,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":9},"ts":1680363161145000,"tid":9,"pid":287,"name":"thread_sort_index"}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161145000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","trackingId":0,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"Pixel_3a_API_33_arm64-v8a\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161168000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","trackingId":0,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161169000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","trackingId":1,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"INFO | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.\nAndroid emulator version 31.3.13.0 (build_id 9189900) (CL:N/A)\nCopyright (C) 2006-2017 The Android Open Source Project and many others.\nThis program is a derivative of the QEMU CPU emulator (www.qemu.org).\n\n This software is licensed under the terms of the GNU General Public\n License version 2, as published by the Free Software Foundation, and\n may be copied, distributed, and modified under those terms.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161245000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","trackingId":1,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"Detected emulator binary version { major: 31, minor: 3, patch: 13, toString: [Function: toString] }","pid":287,"tid":8,"cat":"device","ts":1680363161246000,"args":{"level":20,"success":true,"v":0}}, + {"ph":"i","name":"Trying to allocate a device based on \"Pixel_3a_API_33_arm64-v8a\"","pid":287,"tid":8,"cat":"device","ts":1680363161246000,"args":{"level":20,"event":"ALLOCATE_DEVICE","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161247000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","trackingId":2,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"List of devices attached\nemulator-5554\tdevice\n\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161259000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","trackingId":2,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"port: 5554, host: localhost","pid":287,"tid":8,"cat":"device","ts":1680363161260000,"args":{"level":10,"event":"TELNET_CONNECTING","v":0}}, + {"ph":"i","name":"Found a matching & free device emulator-5554","pid":287,"tid":8,"cat":"device","ts":1680363161264000,"args":{"level":20,"event":"DEVICE_LOOKUP","v":0}}, + {"ph":"i","name":"Settled on emulator-5554","pid":287,"tid":8,"cat":"device","ts":1680363161265000,"args":{"level":20,"event":"ALLOCATE_DEVICE","v":0}}, + {"ph":"B","name":"_launchEmulator","pid":287,"tid":8,"cat":"device","ts":1680363161265000,"args":{"level":10,"args":["Pixel_3a_API_33_arm64-v8a","emulator-5554",true,{"headless":true,"port":null}],"v":0}}, + {"ph":"B","name":"_awaitEmulatorBoot","pid":287,"tid":8,"cat":"device","ts":1680363161265000,"args":{"level":10,"args":["emulator-5554"],"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161265000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","trackingId":3,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"1\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161302000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","trackingId":3,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363161302000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"M","args":{"name":"artifacts-manager"},"ts":1680363161302000,"tid":10,"pid":287,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":10},"ts":1680363161302000,"tid":10,"pid":287,"name":"thread_sort_index"}, + {"ph":"B","name":"onBootDevice","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363161302000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","type":"Pixel_3a_API_33_arm64-v8a","coldBoot":false}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363161303000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363161303000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161303000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","trackingId":4,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"33\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161329000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","trackingId":4,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161330000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","trackingId":5,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161370000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","trackingId":5,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161370000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","trackingId":6,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161400000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","trackingId":6,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161400000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","trackingId":7,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161428000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","trackingId":7,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161428000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","trackingId":8,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":" mWakefulness=Awake\n mWakefulnessChanging=false\n mWakeLockSummary=0x0\n mWakeUpWhenPluggedOrUnpluggedConfig=false\n mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false\n mUserActivityTimeoutOverrideFromWindowManager=-1\n mUserInactiveOverrideFromWindowManager=false\n mUserId=0\n mWakeLockSummary=0x0\n mUserInteractionBackoffMillis=60000\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161488000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","trackingId":8,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363161488000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"installUtilBinaries","pid":287,"tid":8,"cat":"device","ts":1680363161500000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363161500000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"selectApp","pid":287,"tid":8,"cat":"device","ts":1680363161500000,"args":{"level":10,"args":["default"],"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161501000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","trackingId":9,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"package: name='com.awesomeproject' versionCode='1' versionName='1.0' platformBuildVersionName='12' platformBuildVersionCode='31' compileSdkVersion='31' compileSdkVersionCodename='12'\nsdkVersion:'21'\ntargetSdkVersion:'31'\nuses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'\nuses-permission: name='android.permission.INTERNET'\nuses-permission: name='android.permission.ACCESS_WIFI_STATE'\nuses-permission: name='android.permission.REQUEST_INSTALL_PACKAGES'\nuses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'\napplication-label:'AwesomeProject'\napplication-label-af:'AwesomeProject'\napplication-label-am:'AwesomeProject'\napplication-label-ar:'AwesomeProject'\napplication-label-as:'AwesomeProject'\napplication-label-az:'AwesomeProject'\napplication-label-be:'AwesomeProject'\napplication-label-bg:'AwesomeProject'\napplication-label-bn:'AwesomeProject'\napplication-label-bs:'AwesomeProject'\napplication-label-ca:'AwesomeProject'\napplication-label-cs:'AwesomeProject'\napplication-label-da:'AwesomeProject'\napplication-label-de:'AwesomeProject'\napplication-label-el:'AwesomeProject'\napplication-label-en-AU:'AwesomeProject'\napplication-label-en-CA:'AwesomeProject'\napplication-label-en-GB:'AwesomeProject'\napplication-label-en-IN:'AwesomeProject'\napplication-label-en-XC:'AwesomeProject'\napplication-label-es:'AwesomeProject'\napplication-label-es-US:'AwesomeProject'\napplication-label-et:'AwesomeProject'\napplication-label-eu:'AwesomeProject'\napplication-label-fa:'AwesomeProject'\napplication-label-fi:'AwesomeProject'\napplication-label-fr:'AwesomeProject'\napplication-label-fr-CA:'AwesomeProject'\napplication-label-gl:'AwesomeProject'\napplication-label-gu:'AwesomeProject'\napplication-label-hi:'AwesomeProject'\napplication-label-hr:'AwesomeProject'\napplication-label-hu:'AwesomeProject'\napplication-label-hy:'AwesomeProject'\napplication-label-in:'AwesomeProject'\napplication-label-is:'AwesomeProject'\napplication-label-it:'AwesomeProject'\napplication-label-iw:'AwesomeProject'\napplication-label-ja:'AwesomeProject'\napplication-label-ka:'AwesomeProject'\napplication-label-kk:'AwesomeProject'\napplication-label-km:'AwesomeProject'\napplication-label-kn:'AwesomeProject'\napplication-label-ko:'AwesomeProject'\napplication-label-ky:'AwesomeProject'\napplication-label-lo:'AwesomeProject'\napplication-label-lt:'AwesomeProject'\napplication-label-lv:'AwesomeProject'\napplication-label-mk:'AwesomeProject'\napplication-label-ml:'AwesomeProject'\napplication-label-mn:'AwesomeProject'\napplication-label-mr:'AwesomeProject'\napplication-label-ms:'AwesomeProject'\napplication-label-my:'AwesomeProject'\napplication-label-nb:'AwesomeProject'\napplication-label-ne:'AwesomeProject'\napplication-label-nl:'AwesomeProject'\napplication-label-or:'AwesomeProject'\napplication-label-pa:'AwesomeProject'\napplication-label-pl:'AwesomeProject'\napplication-label-pt:'AwesomeProject'\napplication-label-pt-BR:'AwesomeProject'\napplication-label-pt-PT:'AwesomeProject'\napplication-label-ro:'AwesomeProject'\napplication-label-ru:'AwesomeProject'\napplication-label-si:'AwesomeProject'\napplication-label-sk:'AwesomeProject'\napplication-label-sl:'AwesomeProject'\napplication-label-sq:'AwesomeProject'\napplication-label-sr:'AwesomeProject'\napplication-label-sr-Latn:'AwesomeProject'\napplication-label-sv:'AwesomeProject'\napplication-label-sw:'AwesomeProject'\napplication-label-ta:'AwesomeProject'\napplication-label-te:'AwesomeProject'\napplication-label-th:'AwesomeProject'\napplication-label-tl:'AwesomeProject'\napplication-label-tr:'AwesomeProject'\napplication-label-uk:'AwesomeProject'\napplication-label-ur:'AwesomeProject'\napplication-label-uz:'AwesomeProject'\napplication-label-vi:'AwesomeProject'\napplication-label-zh-CN:'AwesomeProject'\napplication-label-zh-HK:'AwesomeProject'\napplication-label-zh-TW:'AwesomeProject'\napplication-label-zu:'AwesomeProject'\napplication-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'\napplication-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'\napplication-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'\napplication-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'\napplication-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'\napplication: label='AwesomeProject' icon='res/mipmap-mdpi-v4/ic_launcher.png'\napplication-debuggable\nlaunchable-activity: name='com.awesomeproject.MainActivity' label='AwesomeProject' icon=''\nuses-permission: name='android.permission.READ_EXTERNAL_STORAGE'\nuses-implied-permission: name='android.permission.READ_EXTERNAL_STORAGE' reason='requested WRITE_EXTERNAL_STORAGE'\nfeature-group: label=''\n uses-feature: name='android.hardware.faketouch'\n uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'\n uses-feature: name='android.hardware.wifi'\n uses-implied-feature: name='android.hardware.wifi' reason='requested android.permission.ACCESS_WIFI_STATE permission'\nmain\nother-activities\nsupports-screens: 'small' 'normal' 'large' 'xlarge'\nsupports-any-density: 'true'\nlocales: '--_--' 'af' 'am' 'ar' 'as' 'az' 'be' 'bg' 'bn' 'bs' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-CA' 'en-GB' 'en-IN' 'en-XC' 'es' 'es-US' 'et' 'eu' 'fa' 'fi' 'fr' 'fr-CA' 'gl' 'gu' 'hi' 'hr' 'hu' 'hy' 'in' 'is' 'it' 'iw' 'ja' 'ka' 'kk' 'km' 'kn' 'ko' 'ky' 'lo' 'lt' 'lv' 'mk' 'ml' 'mn' 'mr' 'ms' 'my' 'nb' 'ne' 'nl' 'or' 'pa' 'pl' 'pt' 'pt-BR' 'pt-PT' 'ro' 'ru' 'si' 'sk' 'sl' 'sq' 'sr' 'sr-Latn' 'sv' 'sw' 'ta' 'te' 'th' 'tl' 'tr' 'uk' 'ur' 'uz' 'vi' 'zh-CN' 'zh-HK' 'zh-TW' 'zu'\ndensities: '160' '240' '320' '480' '640'\nnative-code: 'arm64-v8a' 'armeabi-v7a' 'x86' 'x86_64'\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161535000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","trackingId":9,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363161535000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"uninstallApp","pid":287,"tid":8,"cat":"device","ts":1680363161535000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"B","name":"onBeforeUninstallApp","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363161535000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363161535000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161535000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","trackingId":10,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"package:com.awesomeproject\npackage:com.awesomeproject.test\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161559000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","trackingId":10,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161559000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","trackingId":11,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"Success\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161875000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","trackingId":11,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161875000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","trackingId":12,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"package:com.awesomeproject.test\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161973000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","trackingId":12,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363161973000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","trackingId":13,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"Success\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162138000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","trackingId":13,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363162138000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"selectApp","pid":287,"tid":8,"cat":"device","ts":1680363162138000,"args":{"level":10,"args":["default"],"v":0}}, + {"ph":"B","name":"terminateApp","pid":287,"tid":8,"cat":"device","ts":1680363162139000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"B","name":"onBeforeTerminateApp","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363162139000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363162139000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162139000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":14,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162202000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":14,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"B","name":"onTerminateApp","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363162202000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363162203000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363162203000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363162203000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"installApp","pid":287,"tid":8,"cat":"device","ts":1680363162203000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162203000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","trackingId":15,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"String pool of 62 unique UTF-16 non-sorted strings, 62 entries and 0 styles using 2972 bytes:\nString #0: theme\nString #1: label\nString #2: icon\nString #3: name\nString #4: debuggable\nString #5: exported\nString #6: authorities\nString #7: grantUriPermissions\nString #8: launchMode\nString #9: configChanges\nString #10: value\nString #11: resource\nString #12: minSdkVersion\nString #13: versionCode\nString #14: versionName\nString #15: windowSoftInputMode\nString #16: targetSdkVersion\nString #17: allowBackup\nString #18: usesCleartextTraffic\nString #19: networkSecurityConfig\nString #20: roundIcon\nString #21: compileSdkVersion\nString #22: compileSdkVersionCodename\nString #23: appComponentFactory\nString #24: 1.0\nString #25: 12\nString #26: action\nString #27: activity\nString #28: android\nString #29: android.intent.action.MAIN\nString #30: android.intent.category.LAUNCHER\nString #31: android.permission.ACCESS_WIFI_STATE\nString #32: android.permission.INTERNET\nString #33: android.permission.REQUEST_INSTALL_PACKAGES\nString #34: android.permission.SYSTEM_ALERT_WINDOW\nString #35: android.permission.WRITE_EXTERNAL_STORAGE\nString #36: android.support.FILE_PROVIDER_PATHS\nString #37: androidx.core.app.CoreComponentFactory\nString #38: androidx.emoji2.text.EmojiCompatInitializer\nString #39: androidx.lifecycle.ProcessLifecycleInitializer\nString #40: androidx.startup\nString #41: androidx.startup.InitializationProvider\nString #42: application\nString #43: category\nString #44: cn.reactnative.modules.update.PushyFileProvider\nString #45: com.awesomeproject\nString #46: com.awesomeproject.MainActivity\nString #47: com.awesomeproject.MainApplication\nString #48: com.awesomeproject.androidx-startup\nString #49: com.awesomeproject.pushy.fileprovider\nString #50: com.facebook.react.devsupport.DevSettingsActivity\nString #51: http://schemas.android.com/apk/res/android\nString #52: intent-filter\nString #53: manifest\nString #54: meta-data\nString #55: package\nString #56: platformBuildVersionCode\nString #57: platformBuildVersionName\nString #58: provider\nString #59: pushy_build_time\nString #60: uses-permission\nString #61: uses-sdk\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162216000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","trackingId":15,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162216000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","trackingId":16,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"String pool of 41 unique UTF-16 non-sorted strings, 41 entries and 0 styles using 2052 bytes:\nString #0: theme\nString #1: label\nString #2: name\nString #3: debuggable\nString #4: exported\nString #5: targetPackage\nString #6: handleProfiling\nString #7: functionalTest\nString #8: minSdkVersion\nString #9: targetSdkVersion\nString #10: compileSdkVersion\nString #11: compileSdkVersionCodename\nString #12: 12\nString #13: Tests for com.awesomeproject\nString #14: action\nString #15: activity\nString #16: android\nString #17: android.intent.action.MAIN\nString #18: android.permission.REORDER_TASKS\nString #19: android.test.runner\nString #20: androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity\nString #21: androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity\nString #22: androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity\nString #23: androidx.test.orchestrator\nString #24: androidx.test.runner.AndroidJUnitRunner\nString #25: androidx.test.services\nString #26: application\nString #27: com.awesomeproject\nString #28: com.awesomeproject.test\nString #29: com.google.android.apps.common.testing.services\nString #30: http://schemas.android.com/apk/res/android\nString #31: instrumentation\nString #32: intent-filter\nString #33: manifest\nString #34: package\nString #35: platformBuildVersionCode\nString #36: platformBuildVersionName\nString #37: queries\nString #38: uses-library\nString #39: uses-permission\nString #40: uses-sdk\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162228000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","trackingId":16,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162228000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","trackingId":17,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162306000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","trackingId":17,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162306000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","trackingId":18,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162344000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","trackingId":18,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162344000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","trackingId":19,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk: 1 file pushed, 0 skipped. 174.6 MB/s (57188071 bytes in 0.312s)\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363162683000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","trackingId":19,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363162685000,"args":{"level":20,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":4632,"event":"SPAWN_CMD","v":0}}, + {"ph":"i","name":"Success\n","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363163594000,"args":{"level":10,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":4632,"stdout":true,"event":"SPAWN_STDOUT","v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk exited with code #0","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363163597000,"args":{"level":20,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":4632,"event":"SPAWN_END","signal":"","code":0,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363163597000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","trackingId":21,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk: 1 file pushed, 0 skipped. 466.5 MB/s (7834463 bytes in 0.016s)\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363163643000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","trackingId":21,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363163644000,"args":{"level":20,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":4634,"event":"SPAWN_CMD","v":0}}, + {"ph":"i","name":"Success\n","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363163845000,"args":{"level":10,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":4634,"stdout":true,"event":"SPAWN_STDOUT","v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk exited with code #0","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363163849000,"args":{"level":20,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":4634,"event":"SPAWN_END","signal":"","code":0,"v":0}}, + {"ph":"B","name":"reverseTcpPort","pid":287,"tid":8,"cat":"device","ts":1680363163849000,"args":{"level":10,"args":[8081],"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363163849000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","trackingId":23,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363163865000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","trackingId":23,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363163865000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363163865000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"selectApp","pid":287,"tid":8,"cat":"device","ts":1680363163865000,"args":{"level":10,"args":["default"],"v":0}}, + {"ph":"B","name":"terminateApp","pid":287,"tid":8,"cat":"device","ts":1680363163865000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"B","name":"onBeforeTerminateApp","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363163865000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363163865000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363163865000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":24,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363163925000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":24,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"B","name":"onTerminateApp","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363163925000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363163925000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363163925000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363163925000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363163926000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"NativeModule.test.ts is assigned to emulator-5554 (Pixel_3a_API_33_arm64-v8a)","pid":287,"tid":6,"cat":"lifecycle","ts":1680363164530000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"run the tests","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363164530000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"onRunDescribeStart","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363164530000,"args":{"level":10,"args":[{"name":"ROOT_DESCRIBE_BLOCK"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363164531000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"测试Native模块的方法","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363164531000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"onRunDescribeStart","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363164531000,"args":{"level":10,"args":[{"name":"测试Native模块的方法"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363164531000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"beforeAll","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363164531000,"args":{"level":10,"functionCode":"() => __awaiter(void 0, void 0, void 0, function* () {\n yield detox_1.device.launchApp();\n })","v":0}}, + {"ph":"B","name":"launchApp","pid":287,"tid":8,"cat":"device","ts":1680363164535000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"B","name":"terminateApp","pid":287,"tid":8,"cat":"device","ts":1680363164536000,"args":{"level":10,"args":["com.awesomeproject"],"v":0}}, + {"ph":"B","name":"onBeforeTerminateApp","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363164536000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363164536000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363164536000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":25,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363164569000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":25,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"B","name":"onTerminateApp","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363164569000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363164569000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363164569000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"onBeforeLaunchApp","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363164570000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:55801","detoxSessionId":"85295354-1163-f241-e2d5-6b40862968db"}}],"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363164571000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":26,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"12-09 14:40:08.000\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363164594000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":26,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363164594000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:55801 tcp:55801","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363164594000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:55801 tcp:55801","trackingId":27,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"55801\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363164607000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:55801 tcp:55801","trackingId":27,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363164607000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","trackingId":28,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"instrumentation:com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner (target=com.awesomeproject)\ninstrumentation:com.testhotupdate.test/android.test.InstrumentationTestRunner (target=com.testhotupdate)\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363164630000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","trackingId":28,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55801 -e detoxSessionId 85295354-1163-f241-e2d5-6b40862968db -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363164632000,"args":{"level":20,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55801 -e detoxSessionId 85295354-1163-f241-e2d5-6b40862968db -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","trackingId":29,"cpid":4641,"event":"SPAWN_CMD","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363165134000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","trackingId":30,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"u0_a184 20108 325 14812908 167772 0 0 R com.awesomeproject\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363165213000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","trackingId":30,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"B","name":"onLaunchApp","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363165213000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:55801","detoxSessionId":"85295354-1163-f241-e2d5-6b40862968db"},"pid":20108}],"v":0}}, + {"ph":"M","args":{"name":"artifact"},"ts":1680363165213000,"tid":11,"pid":287,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":11},"ts":1680363165213000,"tid":11,"pid":287,"name":"thread_sort_index"}, + {"ph":"i","name":"starting ADBLogcatRecording","pid":287,"tid":11,"cat":"artifact","ts":1680363165213000,"args":{"level":10,"class":"ADBLogcatRecording","event":"ARTIFACT_START","v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:40:08.000\\\" --pid=20108 -f /sdcard/233241138_0.log\"","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363165214000,"args":{"level":20,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:40:08.000\\\" --pid=20108 -f /sdcard/233241138_0.log\"","trackingId":31,"cpid":4645,"event":"SPAWN_CMD","v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363165214000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/233241138_0.log","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363165516000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/233241138_0.log","trackingId":32,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"4\t/sdcard/233241138_0.log\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363165545000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/233241138_0.log","trackingId":32,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"INSTRUMENTATION_STATUS: class=com.awesomeproject.DetoxTest\nINSTRUMENTATION_STATUS: current=1\nINSTRUMENTATION_STATUS: id=AndroidJUnitRunner\nINSTRUMENTATION_STATUS: numtests=1\nINSTRUMENTATION_STATUS: stream=\ncom.awesomeproject.DetoxTest:\nINSTRUMENTATION_STATUS: test=runDetoxTests\nINSTRUMENTATION_STATUS_CODE: 1\n","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363165581000,"args":{"level":10,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55801 -e detoxSessionId 85295354-1163-f241-e2d5-6b40862968db -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","trackingId":29,"cpid":4641,"stdout":true,"event":"SPAWN_STDOUT","v":0}}, + {"ph":"B","name":"connection :55801<->:55919","pid":286,"tid":3,"cat":"ws-server,ws","ts":1680363165917000,"args":{"level":20,"id":55919,"v":0}}, + {"ph":"i","name":"get","pid":286,"tid":3,"cat":"ws-server,ws","ts":1680363165942000,"args":{"level":10,"id":55919,"data":"{\"messageId\":0,\"type\":\"login\",\"params\":{\"role\":\"app\",\"sessionId\":\"85295354-1163-f241-e2d5-6b40862968db\"}}","v":0}}, + {"ph":"i","name":"send","pid":286,"tid":3,"cat":"ws-server,ws","ts":1680363165942000,"args":{"level":10,"id":55919,"trackingId":"app","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"app","data":{"messageId":0,"type":"loginSuccess","params":{"testerConnected":true,"appConnected":true}},"v":0}}, + {"ph":"M","args":{"name":"ws-server"},"ts":1680363165942000,"tid":4,"pid":286,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":4},"ts":1680363165942000,"tid":4,"pid":286,"name":"thread_sort_index"}, + {"ph":"i","name":"app joined session 85295354-1163-f241-e2d5-6b40862968db","pid":286,"tid":4,"cat":"ws-server,ws-session","ts":1680363165942000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"send","pid":286,"tid":2,"cat":"ws-server,ws","ts":1680363165942000,"args":{"level":10,"id":55810,"trackingId":"tester","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"tester","data":{"type":"appConnected"},"v":0}}, + {"ph":"i","name":"get message","pid":287,"tid":7,"cat":"ws-client,ws","ts":1680363165942000,"args":{"level":10,"data":"{\"type\":\"appConnected\"}\n ","v":0}}, + {"ph":"i","name":"get","pid":286,"tid":2,"cat":"ws-server,ws","ts":1680363165943000,"args":{"level":10,"id":55810,"trackingId":"tester","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"tester","data":"{\"type\":\"isReady\",\"params\":{},\"messageId\":-1000}","v":0}}, + {"ph":"i","name":"send message","pid":287,"tid":7,"cat":"ws-client,ws","ts":1680363165943000,"args":{"level":10,"data":"{\"type\":\"isReady\",\"params\":{},\"messageId\":-1000}","v":0}}, + {"ph":"i","name":"send","pid":286,"tid":3,"cat":"ws-server,ws","ts":1680363165944000,"args":{"level":10,"id":55919,"trackingId":"app","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"app","data":{"type":"isReady","params":{},"messageId":-1000},"v":0}}, + {"ph":"i","name":"send message","pid":287,"tid":7,"cat":"ws-client,ws","ts":1680363175947000,"args":{"level":10,"data":"{\"type\":\"currentStatus\",\"params\":{},\"messageId\":1}","v":0}}, + {"ph":"i","name":"get","pid":286,"tid":2,"cat":"ws-server,ws","ts":1680363175949000,"args":{"level":10,"id":55810,"trackingId":"tester","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"tester","data":"{\"type\":\"currentStatus\",\"params\":{},\"messageId\":1}","v":0}}, + {"ph":"i","name":"send","pid":286,"tid":3,"cat":"ws-server,ws","ts":1680363175949000,"args":{"level":10,"id":55919,"trackingId":"app","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"app","data":{"type":"currentStatus","params":{},"messageId":1},"v":0}}, + {"ph":"i","name":"Failed to execute the current status query.","pid":287,"tid":7,"cat":"ws-client,ws","ts":1680363180950000,"args":{"level":20,"event":"APP_STATUS","v":0}}, + {"ph":"B","name":"onHookFailure","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363284533000,"args":{"level":10,"args":[{"error":"Exceeded timeout of 120000 ms for a hook.\nAdd a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout.","hook":"beforeAll"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363284533000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284533000,"args":{"level":10,"success":false,"error":"'Exceeded timeout of 120000 ms for a hook.\\n' +\n 'Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout.'","v":0}}, + {"ph":"B","name":"setLocalHashInfo","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284534000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 setLocalHashInfo","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setLocalHashInfo","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284534000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284536000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setLocalHashInfo [FAIL]","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284536000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"getLocalHashInfo","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284545000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 getLocalHashInfo","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: getLocalHashInfo","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284545000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284545000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: getLocalHashInfo [FAIL]","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284545000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"setUuid","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284545000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 setUuid","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setUuid","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284545000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284545000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setUuid [FAIL]","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284545000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"setBlockUpdate","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284546000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 setBlockUpdate","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setBlockUpdate","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284546000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284546000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setBlockUpdate [FAIL]","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284546000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"setNeedUpdate","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284547000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 setNeedUpdate","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setNeedUpdate","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284547000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284547000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setNeedUpdate [FAIL]","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284547000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"markSuccess","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284547000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 markSuccess","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: markSuccess","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284547000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284547000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: markSuccess [FAIL]","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284547000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"downloadPatchFromPpk","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284548000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 downloadPatchFromPpk","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadPatchFromPpk","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284548000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284548000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadPatchFromPpk [FAIL]","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284548000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"downloadPatchFromPackage","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284548000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 downloadPatchFromPackage","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadPatchFromPackage","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284548000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284548000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadPatchFromPackage [FAIL]","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284548000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"downloadFullUpdate","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284548000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 downloadFullUpdate","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadFullUpdate","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284548000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284549000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadFullUpdate [FAIL]","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284549000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"downloadAndInstallApk","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284549000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 downloadAndInstallApk","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadAndInstallApk","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284549000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284549000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadAndInstallApk [FAIL]","pid":287,"tid":6,"cat":"lifecycle","ts":1680363284549000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"onRunDescribeFinish","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363284550000,"args":{"level":10,"args":[{"name":"测试Native模块的方法"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363284550000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284550000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"onRunDescribeFinish","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363284550000,"args":{"level":10,"args":[{"name":"ROOT_DESCRIBE_BLOCK"}],"v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363284550000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284550000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"tear down environment","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363284574000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"onBeforeCleanup","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363284574000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"i","name":"saving ADBLogcatRecording to: artifacts/android.emu.debug.2023-04-01 15-32-39Z/emulator-5554 2023-04-01 15-34-44Z.startup.log","pid":287,"tid":11,"cat":"artifact","ts":1680363284576000,"args":{"level":10,"class":"ADBLogcatRecording","event":"ARTIFACT_SAVE","v":0}}, + {"ph":"i","name":"stopping ADBLogcatRecording","pid":287,"tid":11,"cat":"artifact","ts":1680363284576000,"args":{"level":10,"class":"ADBLogcatRecording","event":"ARTIFACT_STOP","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363284576000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":33,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"12-09 14:42:08.000\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363284612000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":33,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"sending SIGINT to: /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell logcat -T \"12-09 14:40:08.000\" --pid=20108 -f /sdcard/233241138_0.log","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363284614000,"args":{"level":10,"event":"SPAWN_KILL","pid$":4645,"signal":"SIGINT","v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:40:08.000\\\" --pid=20108 -f /sdcard/233241138_0.log\" terminated with SIGINT","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363284615000,"args":{"level":20,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:40:08.000\\\" --pid=20108 -f /sdcard/233241138_0.log\"","trackingId":31,"cpid":4645,"event":"SPAWN_END","signal":"SIGINT","code":null,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 pull \"/sdcard/233241138_0.log\" \"artifacts/android.emu.debug.2023-04-01 15-32-39Z/emulator-5554 2023-04-01 15-34-44Z.startup.log\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363284615000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 pull \"/sdcard/233241138_0.log\" \"artifacts/android.emu.debug.2023-04-01 15-32-39Z/emulator-5554 2023-04-01 15-34-44Z.startup.log\"","trackingId":34,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"/sdcard/233241138_0.log: 1 file pulled, 0 skipped. 13.4 MB/s (53248 bytes in 0.004s)\n","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363284634000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 pull \"/sdcard/233241138_0.log\" \"artifacts/android.emu.debug.2023-04-01 15-32-39Z/emulator-5554 2023-04-01 15-34-44Z.startup.log\"","trackingId":34,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm \\\"/sdcard/233241138_0.log\\\"\"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363284634000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm \\\"/sdcard/233241138_0.log\\\"\"","trackingId":35,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363284678000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm \\\"/sdcard/233241138_0.log\\\"\"","trackingId":35,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"saving FileArtifact to: artifacts/android.emu.debug.2023-04-01 15-32-39Z/detox_pid_287.json.log { append: true }","pid":287,"tid":11,"cat":"artifact","ts":1680363284678000,"args":{"level":10,"class":"FileArtifact","event":"ARTIFACT_SAVE","v":0}}, + {"ph":"i","name":"saving FileArtifact to: artifacts/android.emu.debug.2023-04-01 15-32-39Z/detox_pid_287.log { append: true }","pid":287,"tid":11,"cat":"artifact","ts":1680363284678000,"args":{"level":10,"class":"FileArtifact","event":"ARTIFACT_SAVE","v":0}}, + {"ph":"E","pid":287,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363284678000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"The app has not responded to the network requests below:\n (id = 1) currentStatus: {}\n (id = -1000) isReady: {}\n\nUnresponded network requests might result in timeout errors in Detox tests.\n","pid":287,"tid":7,"cat":"ws-client,ws","ts":1680363284678000,"args":{"level":40,"event":"PENDING_REQUESTS","v":0}}, + {"ph":"i","name":"send message","pid":287,"tid":7,"cat":"ws-client,ws","ts":1680363284680000,"args":{"level":10,"data":"{\"type\":\"cleanup\",\"params\":{\"stopRunner\":true},\"messageId\":-49642}","v":0}}, + {"ph":"i","name":"get","pid":286,"tid":2,"cat":"ws-server,ws","ts":1680363284681000,"args":{"level":10,"id":55810,"trackingId":"tester","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"tester","data":"{\"type\":\"cleanup\",\"params\":{\"stopRunner\":true},\"messageId\":-49642}","v":0}}, + {"ph":"i","name":"send","pid":286,"tid":3,"cat":"ws-server,ws","ts":1680363284681000,"args":{"level":10,"id":55919,"trackingId":"app","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"app","data":{"type":"cleanup","params":{"stopRunner":true},"messageId":-49642},"v":0}}, + {"ph":"i","name":"The pending request #-49642 (\"cleanup\") has been rejected due to the following error:\n\nThe tester has not received a response within 5000ms timeout to the message:\n\nCleanup {\n type: 'cleanup',\n params: [Object],\n messageId: -49642\n}","pid":287,"tid":7,"cat":"ws-client,ws","ts":1680363289683000,"args":{"level":50,"event":"ERROR","v":0}}, + {"ph":"i","name":"tester exited session 85295354-1163-f241-e2d5-6b40862968db","pid":286,"tid":4,"cat":"ws-server,ws-session","ts":1680363289687000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"send","pid":286,"tid":3,"cat":"ws-server,ws","ts":1680363289688000,"args":{"level":10,"id":55919,"trackingId":"app","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"app","data":{"type":"testerDisconnected","messageId":-1},"v":0}}, + {"ph":"E","pid":286,"tid":2,"cat":"ws-server,ws","ts":1680363289688000,"args":{"level":20,"id":55810,"trackingId":"tester","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"tester","v":0}}, + {"ph":"i","name":"sending SIGINT to: /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55801 -e detoxSessionId 85295354-1163-f241-e2d5-6b40862968db -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363289688000,"args":{"level":10,"event":"SPAWN_KILL","pid$":4641,"signal":"SIGINT","v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55801 -e detoxSessionId 85295354-1163-f241-e2d5-6b40862968db -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner terminated with SIGINT","pid":287,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363289691000,"args":{"level":20,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:55801 -e detoxSessionId 85295354-1163-f241-e2d5-6b40862968db -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","trackingId":29,"cpid":4641,"event":"SPAWN_END","signal":"SIGINT","code":null,"v":0}}, + {"ph":"i","name":"An error occurred while waiting for the app to become ready. Waiting for disconnection...","pid":287,"tid":8,"cat":"device","ts":1680363289691000,"args":{"level":40,"error":"Failed to run application on the device\n\nHINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for \"ready\" message (over WebSocket) from the instrumentation process.","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse --remove tcp:55801","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363289692000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse --remove tcp:55801","trackingId":36,"event":"EXEC_CMD","v":0}}, + {"ph":"B","name":"free","pid":287,"tid":8,"cat":"device","ts":1680363289693000,"args":{"level":10,"args":[{"adbName":"emulator-5554"},{"shutdown":false}],"v":0}}, + {"ph":"E","pid":287,"tid":8,"cat":"device","ts":1680363289699000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363289699000,"args":{"level":10,"v":0}}, + {"ph":"E","pid":287,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363289699000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"dispatching event to primary-286 /tmp/detox.primary-286 : reportTestResults , {\n testResults: [\n {\n success: false,\n testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts',\n testExecError: undefined,\n isPermanentFailure: false\n }\n ]\n}","pid":287,"tid":5,"cat":"ipc","ts":1680363289705000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"received event of : reportTestResults {\n testResults: [\n {\n success: false,\n testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts',\n isPermanentFailure: false\n }\n ]\n}","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363289706000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"dispatching event to socket : reportTestResultsDone {\n testResults: [\n {\n success: false,\n testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts',\n isPermanentFailure: false\n }\n ]\n}","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363289706000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"broadcasting event to all known sockets listening to /tmp/detox.primary-286 : sessionStateUpdate {\n testResults: [\n {\n success: false,\n testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts',\n isPermanentFailure: false\n }\n ]\n}","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363289706000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"## received events ##","pid":287,"tid":5,"cat":"ipc","ts":1680363289706000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"detected event reportTestResultsDone {\n testResults: [\n {\n success: false,\n testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts',\n isPermanentFailure: false\n }\n ]\n}","pid":287,"tid":5,"cat":"ipc","ts":1680363289707000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"socket disconnected secondary-287","pid":286,"tid":1,"cat":"ipc,ipc-server","ts":1680363289710000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"connection closed primary-286 /tmp/detox.primary-286 0 tries remaining of 0","pid":287,"tid":5,"cat":"ipc","ts":1680363289710000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"secondary-287 exceeded connection rety amount of or stopRetrying flag set.","pid":287,"tid":5,"cat":"ipc","ts":1680363289710000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"","pid":287,"tid":9,"cat":"child-process,child-process-exec","ts":1680363289714000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse --remove tcp:55801","trackingId":36,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"E","pid":286,"tid":0,"cat":"lifecycle,cli","ts":1680363289777000,"args":{"level":50,"success":false,"code":1,"signal":null,"v":0}}, + {"ph":"i","name":"Detox server has been closed gracefully","pid":286,"tid":2,"cat":"ws-server,ws","ts":1680363289778000,"args":{"level":20,"v":0}}, + {"ph":"i","name":"app exited session 85295354-1163-f241-e2d5-6b40862968db","pid":286,"tid":2,"cat":"ws-server,ws-session","ts":1680363289778000,"args":{"level":10,"v":0}}, + {"ph":"E","pid":286,"tid":3,"cat":"ws-server,ws","ts":1680363289778000,"args":{"level":20,"id":55919,"trackingId":"app","sessionId":"85295354-1163-f241-e2d5-6b40862968db","role":"app","v":0}}, + {"ph":"E","pid":286,"tid":0,"cat":"lifecycle","ts":1680363289779000,"args":{"level":10,"v":0}} +] diff --git a/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-39Z/emulator-5554 2023-04-01 15-34-44Z.startup.log b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-39Z/emulator-5554 2023-04-01 15-34-44Z.startup.log new file mode 100644 index 0000000..987ef27 --- /dev/null +++ b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-32-39Z/emulator-5554 2023-04-01 15-34-44Z.startup.log @@ -0,0 +1,270 @@ +--------- beginning of main +12-09 14:40:08.705 20108 20108 I .awesomeproject: Late-enabling -Xcheck:jni +12-09 14:40:08.746 20108 20108 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10184; state: ENABLED +--------- beginning of system +12-09 14:40:08.751 20108 20108 W ActivityThread: Package uses different ABI(s) than its instrumentation: package[com.awesomeproject]: arm64-v8a, null instrumentation[com.awesomeproject.test]: null, null +12-09 14:40:08.753 20108 20108 W .awesomeproject: ClassLoaderContext classpath size mismatch. expected=0, found=1 (PCL[] | PCL[/system/framework/android.test.runner.jar*2256426886]) +12-09 14:40:08.754 20108 20108 W .awesomeproject: ClassLoaderContext classpath size mismatch. expected=0, found=2 (PCL[] | PCL[/system/framework/android.test.runner.jar*2256426886:/system/framework/android.test.mock.jar*849501951]) +12-09 14:40:08.754 20108 20108 W ziparchive: Unable to open '/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.dm': No such file or directory +12-09 14:40:08.754 20108 20108 W ziparchive: Unable to open '/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.dm': No such file or directory +12-09 14:40:08.815 20108 20108 W ziparchive: Unable to open '/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.dm': No such file or directory +12-09 14:40:08.815 20108 20108 W ziparchive: Unable to open '/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.dm': No such file or directory +12-09 14:40:08.886 20108 20108 V GraphicsEnvironment: ANGLE Developer option for 'com.awesomeproject' set to: 'default' +12-09 14:40:08.886 20108 20108 V GraphicsEnvironment: ANGLE GameManagerService for com.awesomeproject: false +12-09 14:40:08.886 20108 20108 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported. +12-09 14:40:08.887 20108 20108 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar +12-09 14:40:08.888 20108 20108 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar +12-09 14:40:08.888 20108 20108 W .awesomeproject: ClassLoaderContext shared library size mismatch. Expected=0, found=2 (PCL[] | PCL[]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]}) +12-09 14:40:08.889 20108 20108 W .awesomeproject: ClassLoaderContext shared library size mismatch. Expected=0, found=3 (PCL[] | PCL[]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]#PCL[/system/framework/android.test.runner.jar*2256426886]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]}};PCL[/system/framework/android.test.runner.jar*2256426886:/system/framework/android.test.mock.jar*849501951:/system/framework/android.test.base.jar*1628045882:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk*3488107038:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk!classes2.dex*3802597924:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk!classes3.dex*1113348705:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk!classes4.dex*1609470516:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk*4280308006:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes2.dex*2341650508:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes3.dex*2242498629:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes4.dex*1939924932:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes5.dex*3428091317:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes6.dex*1896867339:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes7.dex*616740603]) +12-09 14:40:08.889 20108 20108 W .awesomeproject: ClassLoaderContext classpath size mismatch. expected=0, found=1 (PCL[] | PCL[/system/framework/android.test.runner.jar*2256426886]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]#PCL[/system/framework/android.test.runner.jar*2256426886]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]}};PCL[/system/framework/android.test.runner.jar*2256426886:/system/framework/android.test.mock.jar*849501951:/system/framework/android.test.base.jar*1628045882:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk*3488107038:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk!classes2.dex*3802597924:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk!classes3.dex*1113348705:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk!classes4.dex*1609470516:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk*4280308006:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes2.dex*2341650508:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes3.dex*2242498629:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes4.dex*1939924932:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes5.dex*3428091317:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes6.dex*1896867339:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes7.dex*616740603]) +12-09 14:40:08.889 20108 20108 W .awesomeproject: ClassLoaderContext classpath size mismatch. expected=0, found=2 (PCL[] | PCL[/system/framework/android.test.runner.jar*2256426886:/system/framework/android.test.mock.jar*849501951]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]#PCL[/system/framework/android.test.runner.jar*2256426886]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]}};PCL[/system/framework/android.test.runner.jar*2256426886:/system/framework/android.test.mock.jar*849501951:/system/framework/android.test.base.jar*1628045882:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk*3488107038:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk!classes2.dex*3802597924:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk!classes3.dex*1113348705:/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk!classes4.dex*1609470516:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk*4280308006:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes2.dex*2341650508:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes3.dex*2242498629:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes4.dex*1939924932:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes5.dex*3428091317:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes6.dex*1896867339:/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.apk!classes7.dex*616740603]) +12-09 14:40:08.889 20108 20108 W ziparchive: Unable to open '/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.dm': No such file or directory +12-09 14:40:08.889 20108 20108 W ziparchive: Unable to open '/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.dm': No such file or directory +12-09 14:40:08.940 20108 20108 W ziparchive: Unable to open '/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.dm': No such file or directory +12-09 14:40:08.940 20108 20108 W ziparchive: Unable to open '/data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/base.dm': No such file or directory +12-09 14:40:09.014 20108 20108 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true +12-09 14:40:09.014 20108 20108 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true +12-09 14:40:09.018 20108 20108 I MonitoringInstr: Instrumentation started! +12-09 14:40:09.020 20108 20108 V TestEventClient: No service name argument was given (testDiscoveryService, testRunEventService or orchestratorService) +12-09 14:40:09.021 20108 20108 V fb-UnpackingSoSource: locked dso store /data/user/0/com.awesomeproject/lib-main +12-09 14:40:09.022 20108 20108 V fb-UnpackingSoSource: deps mismatch on deps store: regenerating +12-09 14:40:09.022 20108 20108 V fb-UnpackingSoSource: so store dirty: regenerating +12-09 14:40:09.032 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libc++_shared.so: deferring to libdir +12-09 14:40:09.032 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libevent-2.1.so: deferring to libdir +12-09 14:40:09.032 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libevent_core-2.1.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libevent_extra-2.1.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfabricjni.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfb.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfbjni.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libflipper.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfolly_runtime.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libglog.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libglog_init.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libimagepipeline.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsc.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjscexecutor.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsi.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsijniprofiler.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsinspector.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/liblogger.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libmapbufferjni.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libnative-filters.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libnative-imagetranscoder.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_codegen_rncore.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_config.so: deferring to libdir +12-09 14:40:09.033 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_debug.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_nativemodule_core.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_animations.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_attributedstring.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_componentregistry.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_core.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_debug.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_graphics.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_imagemanager.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_leakchecker.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_mapbuffer.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_mounting.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_runtimescheduler.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_scheduler.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_telemetry.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_templateprocessor.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_textlayoutmanager.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_uimanager.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_utils.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactnativeblob.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactnativejni.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactperfloggerjni.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librnupdate.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_image.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_root.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_scrollview.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_text.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_textinput.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_unimplementedview.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_view.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libruntimeexecutor.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libturbomodulejsijni.so: deferring to libdir +12-09 14:40:09.034 20108 20108 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libyoga.so: deferring to libdir +12-09 14:40:09.034 20108 20108 V fb-UnpackingSoSource: regenerating DSO store com.facebook.soloader.ApkSoSource +12-09 14:40:09.034 20108 20108 V fb-UnpackingSoSource: Finished regenerating DSO store com.facebook.soloader.ApkSoSource +12-09 14:40:09.034 20108 20108 V fb-UnpackingSoSource: starting syncer worker +12-09 14:40:09.037 20108 20108 V fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.awesomeproject/lib-main (from syncer thread) +12-09 14:40:09.037 20108 20108 V fb-UnpackingSoSource: not releasing dso store lock for /data/user/0/com.awesomeproject/lib-main (syncer thread started) +12-09 14:40:09.039 20108 20108 D SoLoader: libjscexecutor.so not found on /data/data/com.awesomeproject/lib-main +12-09 14:40:09.039 20108 20108 D SoLoader: libjscexecutor.so found on /data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/lib/arm64 +12-09 14:40:09.039 20108 20108 D SoLoader: Not resolving dependencies for libjscexecutor.so +12-09 14:40:09.046 20108 20108 D JavaScriptCore.Version: 250230.2.1 +12-09 14:40:09.072 20108 20130 D SoLoader: libfbjni.so not found on /data/data/com.awesomeproject/lib-main +12-09 14:40:09.072 20108 20130 D SoLoader: libfbjni.so found on /data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/lib/arm64 +12-09 14:40:09.072 20108 20130 D SoLoader: Not resolving dependencies for libfbjni.so +12-09 14:40:09.073 20108 20130 D SoLoader: libflipper.so not found on /data/data/com.awesomeproject/lib-main +12-09 14:40:09.073 20108 20130 D SoLoader: libflipper.so found on /data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/lib/arm64 +12-09 14:40:09.073 20108 20130 D SoLoader: Not resolving dependencies for libflipper.so +12-09 14:40:09.106 20108 20108 W .awesomeproject: Accessing hidden field Landroid/view/View;->mKeyedTags:Landroid/util/SparseArray; (unsupported, reflection, allowed) +12-09 14:40:09.106 20108 20108 W .awesomeproject: Accessing hidden field Landroid/view/View;->mListenerInfo:Landroid/view/View$ListenerInfo; (unsupported, reflection, allowed) +12-09 14:40:09.106 20108 20108 W .awesomeproject: Accessing hidden field Landroid/view/View$ListenerInfo;->mOnClickListener:Landroid/view/View$OnClickListener; (unsupported, reflection, allowed) +12-09 14:40:09.108 20108 20108 I flipper : flipper: FlipperClient::addPlugin Inspector +12-09 14:40:09.110 20108 20108 I flipper : flipper: FlipperClient::addPlugin React +12-09 14:40:09.110 20108 20108 I flipper : flipper: FlipperClient::addPlugin Databases +12-09 14:40:09.112 20108 20108 I flipper : flipper: FlipperClient::addPlugin Preferences +12-09 14:40:09.112 20108 20108 I flipper : flipper: FlipperClient::addPlugin CrashReporter +12-09 14:40:09.113 20108 20108 I flipper : flipper: FlipperClient::addPlugin Network +12-09 14:40:09.117 20108 20135 D TrafficStats: tagSocket(86) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:09.124 20108 20134 D TrafficStats: tagSocket(85) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:09.138 20108 20125 I UsageTrackerFacilitator: Usage tracking enabled +12-09 14:40:09.141 20108 20125 I TestRequestBuilder: Scanning classpath to find tests in paths [/data/app/~~JbluuSx6QTkqb_6NTsHF9w==/com.awesomeproject.test-hBD1JykP08ciZhLfSyPoEw==/base.apk] +12-09 14:40:09.141 20108 20125 W .awesomeproject: Opening an oat file without a class loader. Are you using the deprecated DexFile APIs? +12-09 14:40:09.291 20108 20129 W .awesomeproject: Verification of void org.slf4j.LoggerFactory.replayEvents() took 160.243ms (374.43 bytecodes/s) (2800B approximate peak alloc) +12-09 14:40:09.298 20108 20129 W System.err: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". +12-09 14:40:09.303 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/AccessibilityHierarchyCheckResult; annotation class 6432 +12-09 14:40:09.303 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/AccessibilityHierarchyCheckResult; annotation class 6432 +12-09 14:40:09.303 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/AccessibilityHierarchyCheckResult; annotation class 6432 +12-09 14:40:09.303 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/AccessibilityHierarchyCheckResult; annotation class 6432 +12-09 14:40:09.303 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/AccessibilityViewCheckResult; annotation class 6432 +12-09 14:40:09.304 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/ClusteringUtils; annotation class 6432 +12-09 14:40:09.304 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/Question; annotation class 6432 +12-09 14:40:09.306 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/replacements/TextUtils; annotation class 6431 +12-09 14:40:09.308 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:40:09.308 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:40:09.308 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:40:09.308 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:40:09.308 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElementAndroid; annotation class 6432 +12-09 14:40:09.308 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElementAndroid; annotation class 6432 +12-09 14:40:09.308 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElementAndroid; annotation class 6432 +12-09 14:40:09.308 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElementAndroid; annotation class 6432 +12-09 14:40:09.308 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:40:09.309 20108 20125 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:40:09.322 20108 20129 W System.err: SLF4J: Defaulting to no-operation (NOP) logger implementation +12-09 14:40:09.331 20108 20129 W System.err: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. +12-09 14:40:09.375 20108 20153 D TrafficStats: tagSocket(96) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:09.506 20108 20125 D TestExecutor: Adding listener androidx.test.internal.runner.listener.LogRunListener +12-09 14:40:09.506 20108 20125 D TestExecutor: Adding listener androidx.test.internal.runner.listener.InstrumentationResultPrinter +12-09 14:40:09.506 20108 20125 D TestExecutor: Adding listener androidx.test.internal.runner.listener.ActivityFinisherRunListener +12-09 14:40:09.506 20108 20125 I TestRunner: run started: 1 tests +12-09 14:40:09.507 20108 20125 I TestRunner: started: runDetoxTests(com.awesomeproject.DetoxTest) +12-09 14:40:09.512 20108 20125 D EventInjectionStrategy: Creating injection strategy with input manager. +12-09 14:40:09.512 20108 20125 W .awesomeproject: Accessing hidden method Landroid/hardware/input/InputManager;->getInstance()Landroid/hardware/input/InputManager; (unsupported, reflection, allowed) +12-09 14:40:09.512 20108 20125 W .awesomeproject: Accessing hidden method Landroid/hardware/input/InputManager;->injectInputEvent(Landroid/view/InputEvent;I)Z (unsupported, reflection, allowed) +12-09 14:40:09.512 20108 20125 W .awesomeproject: Accessing hidden field Landroid/hardware/input/InputManager;->INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH:I (unsupported, reflection, allowed) +12-09 14:40:09.514 20108 20125 W .awesomeproject: Accessing hidden field Ljava/lang/reflect/Field;->accessFlags:I (unsupported, reflection, allowed) +12-09 14:40:09.557 20108 20158 D libEGL : loaded /vendor/lib64/egl/libEGL_emulation.so +12-09 14:40:09.622 20108 20158 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so +12-09 14:40:09.625 20108 20158 D libEGL : loaded /vendor/lib64/egl/libGLESv2_emulation.so +12-09 14:40:09.644 20108 20108 D LifecycleMonitor: Lifecycle status change: com.awesomeproject.MainActivity@fcceb27 in: PRE_ON_CREATE +12-09 14:40:09.711 20108 20108 W .awesomeproject: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed) +12-09 14:40:09.711 20108 20108 W .awesomeproject: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed) +12-09 14:40:09.711 20108 20108 D LifecycleMonitor: Lifecycle status change: com.awesomeproject.MainActivity@fcceb27 in: CREATED +12-09 14:40:09.712 20108 20108 D LifecycleMonitor: Lifecycle status change: com.awesomeproject.MainActivity@fcceb27 in: STARTED +12-09 14:40:09.713 20108 20108 D LifecycleMonitor: Lifecycle status change: com.awesomeproject.MainActivity@fcceb27 in: RESUMED +12-09 14:40:09.719 20108 20108 W unknown:ReactNative: Packager connection already open, nooping. +12-09 14:40:09.723 20108 20157 D HostConnection: createUnique: call +12-09 14:40:09.724 20108 20157 D HostConnection: HostConnection::get() New Host Connection established 0xb4000077d3ba7910, tid 20157 +12-09 14:40:09.726 20108 20157 D HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma ANDROID_EMU_hwc_multi_configs GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 +12-09 14:40:09.727 20108 20157 W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... +12-09 14:40:09.728 20108 20157 W OpenGLRenderer: Failed to initialize 101010-2 format, error = EGL_SUCCESS +12-09 14:40:09.728 20108 20157 D EGL_emulation: eglCreateContext: 0xb4000077d3ba6c50: maj 3 min 0 rcv 3 +12-09 14:40:09.729 20108 20157 D EGL_emulation: eglMakeCurrent: 0xb4000077d3ba6c50: ver 3 0 (tinfo 0x79f25a4080) (first time) +12-09 14:40:09.745 20108 20157 I Gralloc4: mapper 4.x is not supported +12-09 14:40:09.746 20108 20157 D HostConnection: createUnique: call +12-09 14:40:09.746 20108 20157 D HostConnection: HostConnection::get() New Host Connection established 0xb4000077d3ba7a90, tid 20157 +12-09 14:40:09.746 20108 20157 D goldfish-address-space: allocate: Ask for block of size 0x100 +12-09 14:40:09.746 20108 20157 D goldfish-address-space: allocate: ioctl allocate returned offset 0x1efff8000 size 0x8000 +12-09 14:40:09.747 20108 20157 W Gralloc4: allocator 4.x is not supported +12-09 14:40:09.752 20108 20157 D HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma ANDROID_EMU_hwc_multi_configs GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 +12-09 14:40:09.758 20108 20161 D TrafficStats: tagSocket(109) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:09.763 20108 20157 W Parcel : Expecting binder but got null! +12-09 14:40:09.786 20108 20125 I Detox : Detox server connection details: url=ws://localhost:55801, sessionId=85295354-1163-f241-e2d5-6b40862968db +12-09 14:40:09.793 20108 20165 I DetoxDispatcher: Handling action '_init' (ID #0)... +12-09 14:40:09.796 20108 20165 I Detox : Connecting to server... +12-09 14:40:09.796 20108 20165 I DetoxWSClient: At connectToServer +12-09 14:40:09.805 20108 20108 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10184; state: DISABLED +12-09 14:40:09.805 20108 20108 D CompatibilityChangeReporter: Compat change id reported: 37756858; UID 10184; state: ENABLED +12-09 14:40:09.811 20108 20167 D TrafficStats: tagSocket(124) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:09.830 20108 20157 W Parcel : Expecting binder but got null! +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: Could not parse DebugServerException from: {"originModulePath":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js","targetModuleName":"react-native-update","message":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m","errors":[{"description":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m"}],"name":"Error","stack":"Error: Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m\n at ModuleResolver.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:158:15)\n at DependencyGraph.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph.js:231:43)\n at Object.resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/lib/transformHelpers.js:129:24)\n at resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/DeltaBundler/traverseDependencies.js:396:33)\n at /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/ +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: org.json.JSONException: No value for filename +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at org.json.JSONObject.get(JSONObject.java:398) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at org.json.JSONObject.getString(JSONObject.java:559) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at com.facebook.react.common.DebugServerException.parse(DebugServerException.java:77) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processBundleResult(BundleDownloader.java:251) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$200(BundleDownloader.java:34) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$2.onChunkComplete(BundleDownloader.java:193) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.emitChunk(MultipartStreamReader.java:70) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.readAllParts(MultipartStreamReader.java:152) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processMultipartResponse(BundleDownloader.java:177) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$100(BundleDownloader.java:34) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$1.onResponse(BundleDownloader.java:147) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) +12-09 14:40:09.841 20108 20161 W unknown:ReactNative: at java.lang.Thread.run(Thread.java:1012) +12-09 14:40:09.842 20108 20161 E unknown:ReactNative: Unable to download JS bundle +12-09 14:40:09.842 20108 20161 E unknown:ReactNative: com.facebook.react.common.DebugServerException: The development server returned response error code: 500 +12-09 14:40:09.842 20108 20161 E unknown:ReactNative: +12-09 14:40:09.842 20108 20161 E unknown:ReactNative: URL: http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.awesomeproject&modulesOnly=false&runModule=true +12-09 14:40:09.842 20108 20161 E unknown:ReactNative: +12-09 14:40:09.842 20108 20161 E unknown:ReactNative: Body: +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: {"originModulePath":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js","targetModuleName":"react-native-update","message":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m","errors":[{"description":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m"}],"name":"Error","stack":"Error: Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m\n at ModuleResolver.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:158:15)\n at DependencyGraph.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph.js:231:43)\n at Object.resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/lib/transformHelpers.js:129:24)\n at resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/DeltaBundler/traverseDependencies.js:396:33)\n at /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/DeltaBundler/traverseDependencies +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processBundleResult(BundleDownloader.java:264) +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$200(BundleDownloader.java:34) +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$2.onChunkComplete(BundleDownloader.java:193) +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.emitChunk(MultipartStreamReader.java:70) +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.readAllParts(MultipartStreamReader.java:152) +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processMultipartResponse(BundleDownloader.java:177) +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$100(BundleDownloader.java:34) +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$1.onResponse(BundleDownloader.java:147) +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519) +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) +12-09 14:40:09.843 20108 20161 E unknown:ReactNative: at java.lang.Thread.run(Thread.java:1012) +12-09 14:40:09.845 20108 20167 D DetoxWSClient: At onOpen +12-09 14:40:09.845 20108 20167 I DetoxWSClient: Sending out action 'login' (ID #0) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: Exception in native call +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: com.facebook.react.common.DebugServerException: The development server returned response error code: 500 +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: URL: http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.awesomeproject&modulesOnly=false&runModule=true +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: Body: +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: {"originModulePath":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js","targetModuleName":"react-native-update","message":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m","errors":[{"description":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m"}],"name":"Error","stack":"Error: Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m\n at ModuleResolver.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:158:15)\n at DependencyGraph.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph.js:231:43)\n at Object.resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/lib/transformHelpers.js:129:24)\n at resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/DeltaBundler/traverseDependencies.js:396:33)\n at /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/DeltaBundler/traverseDependencies +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processBundleResult(BundleDownloader.java:264) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$200(BundleDownloader.java:34) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$2.onChunkComplete(BundleDownloader.java:193) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.emitChunk(MultipartStreamReader.java:70) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.readAllParts(MultipartStreamReader.java:152) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processMultipartResponse(BundleDownloader.java:177) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$100(BundleDownloader.java:34) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$1.onResponse(BundleDownloader.java:147) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) +12-09 14:40:09.859 20108 20108 E unknown:ReactNative: at java.lang.Thread.run(Thread.java:1012) +12-09 14:40:09.862 20108 20108 D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10184; state: ENABLED +12-09 14:40:09.904 20108 20157 W Parcel : Expecting binder but got null! +12-09 14:40:09.905 20108 20167 I Detox : Connected to server! +12-09 14:40:09.906 20108 20167 D DetoxWSClient: Received action 'loginSuccess' (ID #0, params={"testerConnected":true,"appConnected":true}) +12-09 14:40:09.910 20108 20167 D DetoxWSClient: Received action 'isReady' (ID #-1000, params={}) +12-09 14:40:10.179 20108 20134 D SoLoader: libreactnativejni.so not found on /data/data/com.awesomeproject/lib-main +12-09 14:40:10.180 20108 20134 D SoLoader: libreactnativejni.so found on /data/app/~~sJBymP1pJHzMrTfEnUzLyQ==/com.awesomeproject-o0qibQ9IJbng_NpEZc31Ow==/lib/arm64 +12-09 14:40:10.180 20108 20134 D SoLoader: Not resolving dependencies for libreactnativejni.so +12-09 14:40:11.388 20108 20175 D TrafficStats: tagSocket(142) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:11.505 20108 20157 D EGL_emulation: app_time_stats: avg=399.92ms min=3.80ms max=1219.56ms count=4 +12-09 14:40:13.406 20108 20177 D TrafficStats: tagSocket(133) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:15.422 20108 20179 D TrafficStats: tagSocket(133) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:19.880 20108 20167 D DetoxWSClient: Received action 'currentStatus' (ID #1, params={}) +12-09 14:40:19.881 20108 20166 I DetoxDispatcher: Handling action 'currentStatus' (ID #1)... +12-09 14:40:25.484 20108 20185 D TrafficStats: tagSocket(144) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:27.505 20108 20187 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:29.524 20108 20189 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:31.536 20108 20191 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:41.586 20108 20199 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:43.598 20108 20201 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:45.608 20108 20207 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:47.619 20108 20209 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:57.669 20108 20215 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:40:59.679 20108 20217 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:41:01.693 20108 20219 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:41:03.701 20108 20221 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:41:13.742 20108 20227 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:41:15.753 20108 20229 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:41:17.766 20108 20231 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:41:19.783 20108 20233 D TrafficStats: t \ No newline at end of file diff --git a/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-34-53Z/detox.log b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-34-53Z/detox.log new file mode 100644 index 0000000..ae9c21c --- /dev/null +++ b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-34-53Z/detox.log @@ -0,0 +1,797 @@ +23:34:53.933 detox[4818] B ../../node_modules/.bin/detox test --configuration android.emu.debug --headless --record-logs all + data: { + "id": "339aa5c7-a6ef-b3b2-6c74-71a67b6a4fec", + "detoxConfig": { + "configurationName": "android.emu.debug", + "apps": { + "default": { + "type": "android.apk", + "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk", + "build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug", + "reversePorts": [ + 8081 + ] + } + }, + "artifacts": { + "rootDir": "artifacts/android.emu.debug.2023-04-01 15-34-53Z", + "plugins": { + "log": { + "enabled": true, + "keepOnlyFailedTestsArtifacts": false + }, + "screenshot": { + "enabled": true, + "shouldTakeAutomaticSnapshots": false, + "keepOnlyFailedTestsArtifacts": false + }, + "video": { + "enabled": false, + "keepOnlyFailedTestsArtifacts": false + }, + "instruments": { + "enabled": false, + "keepOnlyFailedTestsArtifacts": false + }, + "uiHierarchy": { + "enabled": false, + "keepOnlyFailedTestsArtifacts": false + } + } + }, + "behavior": { + "init": { + "keepLockFile": false, + "reinstallApp": true, + "exposeGlobals": true + }, + "cleanup": { + "shutdownDevice": false + }, + "launchApp": "auto" + }, + "cli": { + "recordLogs": "all", + "configuration": "android.emu.debug", + "headless": true, + "start": true + }, + "device": { + "type": "android.emulator", + "device": { + "avdName": "Pixel_3a_API_33_arm64-v8a" + }, + "headless": true + }, + "logger": { + "level": "info", + "overrideConsole": true, + "options": { + "showLoggerName": true, + "showPid": true, + "showLevel": false, + "showMetadata": false, + "basepath": "/Users/arvinh/Desktop/wooza/react-native-pushy/node_modules/detox/src", + "prefixers": {}, + "stringifiers": {} + } + }, + "testRunner": { + "retries": 0, + "forwardEnv": false, + "bail": false, + "jest": { + "setupTimeout": 120000, + "teardownTimeout": 30000, + "retryAfterCircusRetries": false, + "reportWorkerAssign": true + }, + "args": { + "$0": "jest", + "_": [], + "config": "e2e/jest.config.js", + "--": [] + } + }, + "session": { + "autoStart": true, + "debugSynchronization": 10000 + } + }, + "detoxIPCServer": "primary-4818", + "testResults": [], + "testSessionIndex": 0, + "workersCount": 0 + } +23:34:53.938 detox[4818] i Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-4818 +23:34:53.939 detox[4818] i starting server on /tmp/detox.primary-4818 +23:34:53.939 detox[4818] i starting TLS server false +23:34:53.939 detox[4818] i starting server as Unix || Windows Socket +23:34:53.944 detox[4818] i Detox server listening on localhost:56416... +23:34:53.945 detox[4818] i Serialized the session state at: /private/var/folders/wm/91840x650t10w1m7sq830mp80000gn/T/339aa5c7-a6ef-b3b2-6c74-71a67b6a4fec.detox.json +23:34:53.946 detox[4818] B jest --config e2e/jest.config.js +23:34:55.379 detox[4821] i Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id +23:34:55.380 detox[4821] i requested connection to primary-4818 /tmp/detox.primary-4818 +23:34:55.380 detox[4821] i Connecting client on Unix Socket : /tmp/detox.primary-4818 +23:34:55.381 detox[4818] i ## socket connection to server detected ## +23:34:55.381 detox[4821] i retrying reset +23:34:55.382 detox[4821] i dispatching event to primary-4818 /tmp/detox.primary-4818 : registerContext , { id: 'secondary-4821' } +23:34:55.383 detox[4818] i received event of : registerContext { id: 'secondary-4821' } +23:34:55.383 detox[4818] i dispatching event to socket : registerContextDone { testResults: [], testSessionIndex: 0 } +23:34:55.383 detox[4821] i ## received events ## +23:34:55.384 detox[4821] i detected event registerContextDone { testResults: [], testSessionIndex: 0 } +23:34:55.435 detox[4821] B e2e/NativeModule.test.ts +23:34:55.444 detox[4821] B set up environment +23:34:55.445 detox[4818] i received event of : registerWorker { workerId: 'w1' } +23:34:55.445 detox[4818] i dispatching event to socket : registerWorkerDone { workersCount: 1 } +23:34:55.445 detox[4821] i dispatching event to primary-4818 /tmp/detox.primary-4818 : registerWorker , { workerId: 'w1' } +23:34:55.445 detox[4821] i ## received events ## +23:34:55.446 detox[4818] i broadcasting event to all known sockets listening to /tmp/detox.primary-4818 : sessionStateUpdate { workersCount: 1 } +23:34:55.446 detox[4821] i detected event registerWorkerDone { workersCount: 1 } +23:34:55.539 detox[4821] i ## received events ## +23:34:55.539 detox[4821] i detected event sessionStateUpdate { workersCount: 1 } +23:34:55.542 detox[4818] B connection :56416<->:56425 +23:34:55.543 detox[4821] i opened web socket to: ws://localhost:56416 +23:34:55.544 detox[4821] i send message + data: {"type":"login","params":{"sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"tester"},"messageId":0} +23:34:55.545 detox[4818] i get + data: {"type":"login","params":{"sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"tester"},"messageId":0} +23:34:55.545 detox[4818] i created session f4aa1b39-7f49-6a1e-2016-8fceba85b11b +23:34:55.545 detox[4818] i send + data: { + "type": "loginSuccess", + "params": { + "testerConnected": true, + "appConnected": false + }, + "messageId": 0 + } +23:34:55.545 detox[4818] i tester joined session f4aa1b39-7f49-6a1e-2016-8fceba85b11b +23:34:55.546 detox[4821] i get message + data: {"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0} + +23:34:55.586 detox[4821] B allocate + args: ({"type":"android.emulator","device":{"avdName":"Pixel_3a_API_33_arm64-v8a"},"headless":true}) +23:34:55.586 detox[4821] i "/Users/arvinh/Library/Android/sdk/emulator/emulator" -list-avds --verbose +23:34:55.660 detox[4821] i Pixel_3a_API_33_arm64-v8a + +23:34:55.660 detox[4821] i "/Users/arvinh/Library/Android/sdk/emulator/emulator" -version -no-window +23:34:55.796 detox[4821] i INFO | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag. +Android emulator version 31.3.13.0 (build_id 9189900) (CL:N/A) +Copyright (C) 2006-2017 The Android Open Source Project and many others. +This program is a derivative of the QEMU CPU emulator (www.qemu.org). + + This software is licensed under the terms of the GNU General Public + License version 2, as published by the Free Software Foundation, and + may be copied, distributed, and modified under those terms. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + +23:34:55.796 detox[4821] i Detected emulator binary version { major: 31, minor: 3, patch: 13, toString: [Function: toString] } +23:34:55.796 detox[4821] i Trying to allocate a device based on "Pixel_3a_API_33_arm64-v8a" +23:34:55.797 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" devices +23:34:55.809 detox[4821] i List of devices attached +emulator-5554 device + + +23:34:55.810 detox[4821] i port: 5554, host: localhost +23:34:55.814 detox[4821] i Found a matching & free device emulator-5554 +23:34:55.814 detox[4821] i Settled on emulator-5554 +23:34:55.814 detox[4821] B _launchEmulator + args: ("Pixel_3a_API_33_arm64-v8a", "emulator-5554", true, {"headless":true,"port":null}) +23:34:55.814 detox[4821] B _awaitEmulatorBoot + args: ("emulator-5554") +23:34:55.815 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "getprop dev.bootcomplete" +23:34:55.847 detox[4821] i 1 + +23:34:55.847 detox[4821] E _awaitEmulatorBoot +23:34:55.847 detox[4821] B onBootDevice + args: ({"deviceId":"emulator-5554","type":"Pixel_3a_API_33_arm64-v8a","coldBoot":false}) +23:34:55.847 detox[4821] E onBootDevice +23:34:55.847 detox[4821] E _launchEmulator +23:34:55.847 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "getprop ro.build.version.sdk" +23:34:55.871 detox[4821] i 33 + +23:34:55.872 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global animator_duration_scale 0" +23:34:55.897 detox[4821] i +23:34:55.897 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global window_animation_scale 0" +23:34:55.920 detox[4821] i +23:34:55.920 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global transition_animation_scale 0" +23:34:55.942 detox[4821] i +23:34:55.942 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "dumpsys power | grep \"^[ ]*m[UW].*=\"" +23:34:56.007 detox[4821] i mWakefulness=Awake + mWakefulnessChanging=false + mWakeLockSummary=0x0 + mWakeUpWhenPluggedOrUnpluggedConfig=false + mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false + mUserActivityTimeoutOverrideFromWindowManager=-1 + mUserInactiveOverrideFromWindowManager=false + mUserId=0 + mWakeLockSummary=0x0 + mUserInteractionBackoffMillis=60000 + +23:34:56.007 detox[4821] E allocate +23:34:56.022 detox[4821] B installUtilBinaries + args: () +23:34:56.022 detox[4821] E installUtilBinaries +23:34:56.023 detox[4821] B selectApp + args: ("default") +23:34:56.026 detox[4821] i "/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt" dump badging "/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk" +23:34:56.059 detox[4821] i package: name='com.awesomeproject' versionCode='1' versionName='1.0' platformBuildVersionName='12' platformBuildVersionCode='31' compileSdkVersion='31' compileSdkVersionCodename='12' +sdkVersion:'21' +targetSdkVersion:'31' +uses-permission: name='android.permission.SYSTEM_ALERT_WINDOW' +uses-permission: name='android.permission.INTERNET' +uses-permission: name='android.permission.ACCESS_WIFI_STATE' +uses-permission: name='android.permission.REQUEST_INSTALL_PACKAGES' +uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE' +application-label:'AwesomeProject' +application-label-af:'AwesomeProject' +application-label-am:'AwesomeProject' +application-label-ar:'AwesomeProject' +application-label-as:'AwesomeProject' +application-label-az:'AwesomeProject' +application-label-be:'AwesomeProject' +application-label-bg:'AwesomeProject' +application-label-bn:'AwesomeProject' +application-label-bs:'AwesomeProject' +application-label-ca:'AwesomeProject' +application-label-cs:'AwesomeProject' +application-label-da:'AwesomeProject' +application-label-de:'AwesomeProject' +application-label-el:'AwesomeProject' +application-label-en-AU:'AwesomeProject' +application-label-en-CA:'AwesomeProject' +application-label-en-GB:'AwesomeProject' +application-label-en-IN:'AwesomeProject' +application-label-en-XC:'AwesomeProject' +application-label-es:'AwesomeProject' +application-label-es-US:'AwesomeProject' +application-label-et:'AwesomeProject' +application-label-eu:'AwesomeProject' +application-label-fa:'AwesomeProject' +application-label-fi:'AwesomeProject' +application-label-fr:'AwesomeProject' +application-label-fr-CA:'AwesomeProject' +application-label-gl:'AwesomeProject' +application-label-gu:'AwesomeProject' +application-label-hi:'AwesomeProject' +application-label-hr:'AwesomeProject' +application-label-hu:'AwesomeProject' +application-label-hy:'AwesomeProject' +application-label-in:'AwesomeProject' +application-label-is:'AwesomeProject' +application-label-it:'AwesomeProject' +application-label-iw:'AwesomeProject' +application-label-ja:'AwesomeProject' +application-label-ka:'AwesomeProject' +application-label-kk:'AwesomeProject' +application-label-km:'AwesomeProject' +application-label-kn:'AwesomeProject' +application-label-ko:'AwesomeProject' +application-label-ky:'AwesomeProject' +application-label-lo:'AwesomeProject' +application-label-lt:'AwesomeProject' +application-label-lv:'AwesomeProject' +application-label-mk:'AwesomeProject' +application-label-ml:'AwesomeProject' +application-label-mn:'AwesomeProject' +application-label-mr:'AwesomeProject' +application-label-ms:'AwesomeProject' +application-label-my:'AwesomeProject' +application-label-nb:'AwesomeProject' +application-label-ne:'AwesomeProject' +application-label-nl:'AwesomeProject' +application-label-or:'AwesomeProject' +application-label-pa:'AwesomeProject' +application-label-pl:'AwesomeProject' +application-label-pt:'AwesomeProject' +application-label-pt-BR:'AwesomeProject' +application-label-pt-PT:'AwesomeProject' +application-label-ro:'AwesomeProject' +application-label-ru:'AwesomeProject' +application-label-si:'AwesomeProject' +application-label-sk:'AwesomeProject' +application-label-sl:'AwesomeProject' +application-label-sq:'AwesomeProject' +application-label-sr:'AwesomeProject' +application-label-sr-Latn:'AwesomeProject' +application-label-sv:'AwesomeProject' +application-label-sw:'AwesomeProject' +application-label-ta:'AwesomeProject' +application-label-te:'AwesomeProject' +application-label-th:'AwesomeProject' +application-label-tl:'AwesomeProject' +application-label-tr:'AwesomeProject' +application-label-uk:'AwesomeProject' +application-label-ur:'AwesomeProject' +application-label-uz:'AwesomeProject' +application-label-vi:'AwesomeProject' +application-label-zh-CN:'AwesomeProject' +application-label-zh-HK:'AwesomeProject' +application-label-zh-TW:'AwesomeProject' +application-label-zu:'AwesomeProject' +application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png' +application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png' +application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png' +application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png' +application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png' +application: label='AwesomeProject' icon='res/mipmap-mdpi-v4/ic_launcher.png' +application-debuggable +launchable-activity: name='com.awesomeproject.MainActivity' label='AwesomeProject' icon='' +uses-permission: name='android.permission.READ_EXTERNAL_STORAGE' +uses-implied-permission: name='android.permission.READ_EXTERNAL_STORAGE' reason='requested WRITE_EXTERNAL_STORAGE' +feature-group: label='' + uses-feature: name='android.hardware.faketouch' + uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' + uses-feature: name='android.hardware.wifi' + uses-implied-feature: name='android.hardware.wifi' reason='requested android.permission.ACCESS_WIFI_STATE permission' +main +other-activities +supports-screens: 'small' 'normal' 'large' 'xlarge' +supports-any-density: 'true' +locales: '--_--' 'af' 'am' 'ar' 'as' 'az' 'be' 'bg' 'bn' 'bs' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-CA' 'en-GB' 'en-IN' 'en-XC' 'es' 'es-US' 'et' 'eu' 'fa' 'fi' 'fr' 'fr-CA' 'gl' 'gu' 'hi' 'hr' 'hu' 'hy' 'in' 'is' 'it' 'iw' 'ja' 'ka' 'kk' 'km' 'kn' 'ko' 'ky' 'lo' 'lt' 'lv' 'mk' 'ml' 'mn' 'mr' 'ms' 'my' 'nb' 'ne' 'nl' 'or' 'pa' 'pl' 'pt' 'pt-BR' 'pt-PT' 'ro' 'ru' 'si' 'sk' 'sl' 'sq' 'sr' 'sr-Latn' 'sv' 'sw' 'ta' 'te' 'th' 'tl' 'tr' 'uk' 'ur' 'uz' 'vi' 'zh-CN' 'zh-HK' 'zh-TW' 'zu' +densities: '160' '240' '320' '480' '640' +native-code: 'arm64-v8a' 'armeabi-v7a' 'x86' 'x86_64' + +23:34:56.059 detox[4821] E selectApp +23:34:56.059 detox[4821] B uninstallApp + args: () +23:34:56.059 detox[4821] B onBeforeUninstallApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:34:56.059 detox[4821] E onBeforeUninstallApp +23:34:56.059 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list packages com.awesomeproject" +23:34:56.083 detox[4821] i package:com.awesomeproject +package:com.awesomeproject.test + +23:34:56.083 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 uninstall com.awesomeproject +23:34:56.390 detox[4821] i Success + +23:34:56.391 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list packages com.awesomeproject.test" +23:34:56.481 detox[4821] i package:com.awesomeproject.test + +23:34:56.481 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 uninstall com.awesomeproject.test +23:34:56.601 detox[4821] i Success + +23:34:56.601 detox[4821] E uninstallApp +23:34:56.601 detox[4821] B selectApp + args: ("default") +23:34:56.602 detox[4821] B terminateApp + args: () +23:34:56.603 detox[4821] B onBeforeTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:34:56.603 detox[4821] E onBeforeTerminateApp +23:34:56.603 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop com.awesomeproject" +23:34:56.697 detox[4821] i +23:34:56.697 detox[4821] B onTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:34:56.698 detox[4821] E onTerminateApp +23:34:56.698 detox[4821] E terminateApp +23:34:56.698 detox[4821] E selectApp +23:34:56.698 detox[4821] B installApp + args: () +23:34:56.699 detox[4821] i "/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt" dump xmlstrings "/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk" AndroidManifest.xml +23:34:56.710 detox[4821] i String pool of 62 unique UTF-16 non-sorted strings, 62 entries and 0 styles using 2972 bytes: +String #0: theme +String #1: label +String #2: icon +String #3: name +String #4: debuggable +String #5: exported +String #6: authorities +String #7: grantUriPermissions +String #8: launchMode +String #9: configChanges +String #10: value +String #11: resource +String #12: minSdkVersion +String #13: versionCode +String #14: versionName +String #15: windowSoftInputMode +String #16: targetSdkVersion +String #17: allowBackup +String #18: usesCleartextTraffic +String #19: networkSecurityConfig +String #20: roundIcon +String #21: compileSdkVersion +String #22: compileSdkVersionCodename +String #23: appComponentFactory +String #24: 1.0 +String #25: 12 +String #26: action +String #27: activity +String #28: android +String #29: android.intent.action.MAIN +String #30: android.intent.category.LAUNCHER +String #31: android.permission.ACCESS_WIFI_STATE +String #32: android.permission.INTERNET +String #33: android.permission.REQUEST_INSTALL_PACKAGES +String #34: android.permission.SYSTEM_ALERT_WINDOW +String #35: android.permission.WRITE_EXTERNAL_STORAGE +String #36: android.support.FILE_PROVIDER_PATHS +String #37: androidx.core.app.CoreComponentFactory +String #38: androidx.emoji2.text.EmojiCompatInitializer +String #39: androidx.lifecycle.ProcessLifecycleInitializer +String #40: androidx.startup +String #41: androidx.startup.InitializationProvider +String #42: application +String #43: category +String #44: cn.reactnative.modules.update.PushyFileProvider +String #45: com.awesomeproject +String #46: com.awesomeproject.MainActivity +String #47: com.awesomeproject.MainApplication +String #48: com.awesomeproject.androidx-startup +String #49: com.awesomeproject.pushy.fileprovider +String #50: com.facebook.react.devsupport.DevSettingsActivity +String #51: http://schemas.android.com/apk/res/android +String #52: intent-filter +String #53: manifest +String #54: meta-data +String #55: package +String #56: platformBuildVersionCode +String #57: platformBuildVersionName +String #58: provider +String #59: pushy_build_time +String #60: uses-permission +String #61: uses-sdk + +23:34:56.711 detox[4821] i "/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt" dump xmlstrings "/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk" AndroidManifest.xml +23:34:56.722 detox[4821] i String pool of 41 unique UTF-16 non-sorted strings, 41 entries and 0 styles using 2052 bytes: +String #0: theme +String #1: label +String #2: name +String #3: debuggable +String #4: exported +String #5: targetPackage +String #6: handleProfiling +String #7: functionalTest +String #8: minSdkVersion +String #9: targetSdkVersion +String #10: compileSdkVersion +String #11: compileSdkVersionCodename +String #12: 12 +String #13: Tests for com.awesomeproject +String #14: action +String #15: activity +String #16: android +String #17: android.intent.action.MAIN +String #18: android.permission.REORDER_TASKS +String #19: android.test.runner +String #20: androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity +String #21: androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity +String #22: androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity +String #23: androidx.test.orchestrator +String #24: androidx.test.runner.AndroidJUnitRunner +String #25: androidx.test.services +String #26: application +String #27: com.awesomeproject +String #28: com.awesomeproject.test +String #29: com.google.android.apps.common.testing.services +String #30: http://schemas.android.com/apk/res/android +String #31: instrumentation +String #32: intent-filter +String #33: manifest +String #34: package +String #35: platformBuildVersionCode +String #36: platformBuildVersionName +String #37: queries +String #38: uses-library +String #39: uses-permission +String #40: uses-sdk + +23:34:56.722 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "rm -fr /data/local/tmp/detox" +23:34:56.815 detox[4821] i +23:34:56.815 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "mkdir -p /data/local/tmp/detox" +23:34:56.889 detox[4821] i +23:34:56.890 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 push "/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk" "/data/local/tmp/detox/Application.apk" +23:34:57.224 detox[4821] i /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk: 1 file pushed, 0 skipped. 184.7 MB/s (57188071 bytes in 0.295s) + +23:34:57.227 detox[4821] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk +23:34:57.978 detox[4821] i Success + +23:34:57.980 detox[4821] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk exited with code #0 +23:34:57.980 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 push "/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk" "/data/local/tmp/detox/Test.apk" +23:34:58.037 detox[4821] i /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk: 1 file pushed, 0 skipped. 428.1 MB/s (7834463 bytes in 0.017s) + +23:34:58.037 detox[4821] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk +23:34:58.154 detox[4821] i Success + +23:34:58.160 detox[4821] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk exited with code #0 +23:34:58.161 detox[4821] B reverseTcpPort + args: (8081) +23:34:58.161 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse tcp:8081 tcp:8081 +23:34:58.177 detox[4821] i +23:34:58.177 detox[4821] E reverseTcpPort +23:34:58.177 detox[4821] E installApp +23:34:58.177 detox[4821] B selectApp + args: ("default") +23:34:58.177 detox[4821] B terminateApp + args: () +23:34:58.177 detox[4821] B onBeforeTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:34:58.177 detox[4821] E onBeforeTerminateApp +23:34:58.177 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop com.awesomeproject" +23:34:58.230 detox[4821] i +23:34:58.230 detox[4821] B onTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:34:58.231 detox[4821] E onTerminateApp +23:34:58.231 detox[4821] E terminateApp +23:34:58.231 detox[4821] E selectApp +23:34:58.231 detox[4821] E set up environment +23:34:58.852 detox[4821] i NativeModule.test.ts is assigned to emulator-5554 (Pixel_3a_API_33_arm64-v8a) +23:34:58.852 detox[4821] B run the tests +23:34:58.852 detox[4821] B onRunDescribeStart + args: ({"name":"ROOT_DESCRIBE_BLOCK"}) +23:34:58.853 detox[4821] E onRunDescribeStart +23:34:58.853 detox[4821] B 测试Native模块的方法 +23:34:58.853 detox[4821] B onRunDescribeStart + args: ({"name":"测试Native模块的方法"}) +23:34:58.853 detox[4821] E onRunDescribeStart +23:34:58.853 detox[4821] B beforeAll +23:34:58.857 detox[4821] B launchApp + args: () +23:34:58.857 detox[4821] B terminateApp + args: ("com.awesomeproject") +23:34:58.857 detox[4821] B onBeforeTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:34:58.857 detox[4821] E onBeforeTerminateApp +23:34:58.857 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop com.awesomeproject" +23:34:58.890 detox[4821] i +23:34:58.890 detox[4821] B onTerminateApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}) +23:34:58.890 detox[4821] E onTerminateApp +23:34:58.891 detox[4821] E terminateApp +23:34:58.891 detox[4821] B onBeforeLaunchApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:56416","detoxSessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b"}}) +23:34:58.891 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "date +\"%m-%d %T.000\"" +23:34:58.911 detox[4821] i 12-09 14:42:22.000 + +23:34:58.911 detox[4821] E onBeforeLaunchApp +23:34:58.912 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse tcp:56416 tcp:56416 +23:34:58.924 detox[4821] i 56416 + +23:34:58.924 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list instrumentation" +23:34:58.950 detox[4821] i instrumentation:com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner (target=com.awesomeproject) +instrumentation:com.testhotupdate.test/android.test.InstrumentationTestRunner (target=com.testhotupdate) + +23:34:58.951 detox[4821] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56416 -e detoxSessionId f4aa1b39-7f49-6a1e-2016-8fceba85b11b -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner +23:34:59.453 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "ps | grep \"com\.awesomeproject$\"" +23:34:59.530 detox[4821] i u0_a186 20479 325 14771216 169660 0 0 S com.awesomeproject + +23:34:59.530 detox[4821] B onLaunchApp + args: ({"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:56416","detoxSessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b"},"pid":20479}) +23:34:59.532 detox[4821] i starting ADBLogcatRecording +23:34:59.534 detox[4821] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "logcat -T \"12-09 14:42:22.000\" --pid=20479 -f /sdcard/233455576_0.log" +23:34:59.534 detox[4821] E onLaunchApp +23:34:59.835 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell du /sdcard/233455576_0.log +23:34:59.865 detox[4821] i 4 /sdcard/233455576_0.log + +23:34:59.877 detox[4821] i INSTRUMENTATION_STATUS: class=com.awesomeproject.DetoxTest +INSTRUMENTATION_STATUS: current=1 +INSTRUMENTATION_STATUS: id=AndroidJUnitRunner +INSTRUMENTATION_STATUS: numtests=1 +INSTRUMENTATION_STATUS: stream= +com.awesomeproject.DetoxTest: +INSTRUMENTATION_STATUS: test=runDetoxTests +INSTRUMENTATION_STATUS_CODE: 1 + +23:35:00.349 detox[4818] B connection :56416<->:56526 +23:35:00.353 detox[4818] i get + data: {"messageId":0,"type":"login","params":{"role":"app","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b"}} +23:35:00.353 detox[4818] i send + data: { + "messageId": 0, + "type": "loginSuccess", + "params": { + "testerConnected": true, + "appConnected": true + } + } +23:35:00.353 detox[4818] i app joined session f4aa1b39-7f49-6a1e-2016-8fceba85b11b +23:35:00.353 detox[4818] i send + data: { + "type": "appConnected" + } +23:35:00.354 detox[4821] i get message + data: {"type":"appConnected"} + +23:35:00.355 detox[4818] i get + data: {"type":"isReady","params":{},"messageId":-1000} +23:35:00.355 detox[4818] i send + data: { + "type": "isReady", + "params": {}, + "messageId": -1000 + } +23:35:00.355 detox[4821] i send message + data: {"type":"isReady","params":{},"messageId":-1000} +23:35:10.355 detox[4821] i send message + data: {"type":"currentStatus","params":{},"messageId":1} +23:35:10.356 detox[4818] i get + data: {"type":"currentStatus","params":{},"messageId":1} +23:35:10.356 detox[4818] i send + data: { + "type": "currentStatus", + "params": {}, + "messageId": 1 + } +23:35:15.358 detox[4821] i Failed to execute the current status query. +23:36:58.856 detox[4821] B onHookFailure + args: ({"error":"Exceeded timeout of 120000 ms for a hook.\nAdd a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout.","hook":"beforeAll"}) +23:36:58.856 detox[4821] E onHookFailure +23:36:58.857 detox[4821] E beforeAll + error: 'Exceeded timeout of 120000 ms for a hook.\n' + + 'Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout.' +23:36:58.858 detox[4821] B setLocalHashInfo +23:36:58.858 detox[4821] i 测试Native模块的方法: setLocalHashInfo +23:36:58.859 detox[4821] E setLocalHashInfo +23:36:58.859 detox[4821] i 测试Native模块的方法: setLocalHashInfo [FAIL] +23:36:58.867 detox[4821] B getLocalHashInfo +23:36:58.867 detox[4821] i 测试Native模块的方法: getLocalHashInfo +23:36:58.868 detox[4821] E getLocalHashInfo +23:36:58.868 detox[4821] i 测试Native模块的方法: getLocalHashInfo [FAIL] +23:36:58.868 detox[4821] B setUuid +23:36:58.868 detox[4821] i 测试Native模块的方法: setUuid +23:36:58.868 detox[4821] E setUuid +23:36:58.868 detox[4821] i 测试Native模块的方法: setUuid [FAIL] +23:36:58.869 detox[4821] B setBlockUpdate +23:36:58.869 detox[4821] i 测试Native模块的方法: setBlockUpdate +23:36:58.869 detox[4821] E setBlockUpdate +23:36:58.869 detox[4821] i 测试Native模块的方法: setBlockUpdate [FAIL] +23:36:58.869 detox[4821] B setNeedUpdate +23:36:58.869 detox[4821] i 测试Native模块的方法: setNeedUpdate +23:36:58.869 detox[4821] E setNeedUpdate +23:36:58.869 detox[4821] i 测试Native模块的方法: setNeedUpdate [FAIL] +23:36:58.870 detox[4821] B markSuccess +23:36:58.870 detox[4821] i 测试Native模块的方法: markSuccess +23:36:58.870 detox[4821] E markSuccess +23:36:58.870 detox[4821] i 测试Native模块的方法: markSuccess [FAIL] +23:36:58.871 detox[4821] B downloadPatchFromPpk +23:36:58.871 detox[4821] i 测试Native模块的方法: downloadPatchFromPpk +23:36:58.871 detox[4821] E downloadPatchFromPpk +23:36:58.871 detox[4821] i 测试Native模块的方法: downloadPatchFromPpk [FAIL] +23:36:58.871 detox[4821] B downloadPatchFromPackage +23:36:58.871 detox[4821] i 测试Native模块的方法: downloadPatchFromPackage +23:36:58.871 detox[4821] E downloadPatchFromPackage +23:36:58.871 detox[4821] i 测试Native模块的方法: downloadPatchFromPackage [FAIL] +23:36:58.872 detox[4821] B downloadFullUpdate +23:36:58.872 detox[4821] i 测试Native模块的方法: downloadFullUpdate +23:36:58.872 detox[4821] E downloadFullUpdate +23:36:58.872 detox[4821] i 测试Native模块的方法: downloadFullUpdate [FAIL] +23:36:58.872 detox[4821] B downloadAndInstallApk +23:36:58.872 detox[4821] i 测试Native模块的方法: downloadAndInstallApk +23:36:58.872 detox[4821] E downloadAndInstallApk +23:36:58.872 detox[4821] i 测试Native模块的方法: downloadAndInstallApk [FAIL] +23:36:58.873 detox[4821] B onRunDescribeFinish + args: ({"name":"测试Native模块的方法"}) +23:36:58.873 detox[4821] E onRunDescribeFinish +23:36:58.873 detox[4821] E 测试Native模块的方法 +23:36:58.873 detox[4821] B onRunDescribeFinish + args: ({"name":"ROOT_DESCRIBE_BLOCK"}) +23:36:58.873 detox[4821] E onRunDescribeFinish +23:36:58.873 detox[4821] E run the tests +23:36:58.899 detox[4821] B tear down environment +23:36:58.900 detox[4821] B onBeforeCleanup + args: () +23:36:58.902 detox[4821] i saving ADBLogcatRecording to: artifacts/android.emu.debug.2023-04-01 15-34-53Z/emulator-5554 2023-04-01 15-36-58Z.startup.log +23:36:58.902 detox[4821] i stopping ADBLogcatRecording +23:36:58.902 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "date +\"%m-%d %T.000\"" +23:36:58.958 detox[4821] i 12-09 14:44:22.000 + +23:36:58.960 detox[4821] i sending SIGINT to: /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell logcat -T "12-09 14:42:22.000" --pid=20479 -f /sdcard/233455576_0.log +23:36:58.961 detox[4821] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "logcat -T \"12-09 14:42:22.000\" --pid=20479 -f /sdcard/233455576_0.log" terminated with SIGINT +23:36:58.961 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 pull "/sdcard/233455576_0.log" "artifacts/android.emu.debug.2023-04-01 15-34-53Z/emulator-5554 2023-04-01 15-36-58Z.startup.log" +23:36:58.980 detox[4821] i /sdcard/233455576_0.log: 1 file pulled, 0 skipped. 20.7 MB/s (53248 bytes in 0.002s) + +23:36:58.980 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "rm \"/sdcard/233455576_0.log\"" +23:36:59.018 detox[4821] i +23:36:59.019 detox[4821] i saving FileArtifact to: artifacts/android.emu.debug.2023-04-01 15-34-53Z/detox_pid_4821.json.log { append: true } +23:36:59.019 detox[4821] i saving FileArtifact to: artifacts/android.emu.debug.2023-04-01 15-34-53Z/detox_pid_4821.log { append: true } +23:36:59.019 detox[4821] E onBeforeCleanup +23:36:59.019 detox[4821] i The app has not responded to the network requests below: + (id = 1) currentStatus: {} + (id = -1000) isReady: {} + +Unresponded network requests might result in timeout errors in Detox tests. + +23:36:59.020 detox[4821] i send message + data: {"type":"cleanup","params":{"stopRunner":true},"messageId":-49642} +23:36:59.021 detox[4818] i get + data: {"type":"cleanup","params":{"stopRunner":true},"messageId":-49642} +23:36:59.022 detox[4818] i send + data: { + "type": "cleanup", + "params": { + "stopRunner": true + }, + "messageId": -49642 + } +23:37:04.022 detox[4821] i The pending request #-49642 ("cleanup") has been rejected due to the following error: + +The tester has not received a response within 5000ms timeout to the message: + +Cleanup { + type: 'cleanup', + params: [Object], + messageId: -49642 +} +23:37:04.027 detox[4818] i tester exited session f4aa1b39-7f49-6a1e-2016-8fceba85b11b +23:37:04.027 detox[4818] i send + data: { + "type": "testerDisconnected", + "messageId": -1 + } +23:37:04.028 detox[4818] E connection :56416<->:56425 +23:37:04.028 detox[4821] i sending SIGINT to: /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56416 -e detoxSessionId f4aa1b39-7f49-6a1e-2016-8fceba85b11b -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner +23:37:04.030 detox[4821] i /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56416 -e detoxSessionId f4aa1b39-7f49-6a1e-2016-8fceba85b11b -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner terminated with SIGINT +23:37:04.030 detox[4821] i An error occurred while waiting for the app to become ready. Waiting for disconnection... + error: Failed to run application on the device + + HINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for "ready" message (over WebSocket) from the instrumentation process. +23:37:04.030 detox[4821] i "/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse --remove tcp:56416 +23:37:04.034 detox[4821] B free + args: ({"adbName":"emulator-5554"}, {"shutdown":false}) +23:37:04.036 detox[4821] E free +23:37:04.036 detox[4821] E tear down environment +23:37:04.036 detox[4821] E e2e/NativeModule.test.ts +23:37:04.041 detox[4821] i dispatching event to primary-4818 /tmp/detox.primary-4818 : reportTestResults , { + testResults: [ + { + success: false, + testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts', + testExecError: undefined, + isPermanentFailure: false + } + ] +} +23:37:04.042 detox[4818] i received event of : reportTestResults { + testResults: [ + { + success: false, + testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts', + isPermanentFailure: false + } + ] +} +23:37:04.042 detox[4818] i dispatching event to socket : reportTestResultsDone { + testResults: [ + { + success: false, + testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts', + isPermanentFailure: false + } + ] +} +23:37:04.042 detox[4818] i broadcasting event to all known sockets listening to /tmp/detox.primary-4818 : sessionStateUpdate { + testResults: [ + { + success: false, + testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts', + isPermanentFailure: false + } + ] +} +23:37:04.042 detox[4821] i ## received events ## +23:37:04.043 detox[4821] i detected event reportTestResultsDone { + testResults: [ + { + success: false, + testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts', + isPermanentFailure: false + } + ] +} +23:37:04.045 detox[4818] i socket disconnected secondary-4821 +23:37:04.045 detox[4821] i connection closed primary-4818 /tmp/detox.primary-4818 0 tries remaining of 0 +23:37:04.045 detox[4821] i secondary-4821 exceeded connection rety amount of or stopRetrying flag set. +23:37:04.064 detox[4821] i +23:37:04.113 detox[4818] E Command failed with exit code = 1: +jest --config e2e/jest.config.js +23:37:04.114 detox[4818] i Detox server has been closed gracefully +23:37:04.115 detox[4818] i app exited session f4aa1b39-7f49-6a1e-2016-8fceba85b11b +23:37:04.115 detox[4818] E connection :56416<->:56526 +23:37:04.115 detox[4818] E ../../node_modules/.bin/detox test --configuration android.emu.debug --headless --record-logs all diff --git a/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-34-53Z/detox.trace.json b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-34-53Z/detox.trace.json new file mode 100644 index 0000000..3692785 --- /dev/null +++ b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-34-53Z/detox.trace.json @@ -0,0 +1,303 @@ +[ + {"ph":"M","args":{"name":"primary"},"ts":1680363293933000,"tid":0,"pid":4818,"name":"process_name"}, + {"ph":"M","args":{"sort_index":0},"ts":1680363293933000,"tid":0,"pid":4818,"name":"process_sort_index"}, + {"ph":"M","args":{"name":"lifecycle"},"ts":1680363293933000,"tid":0,"pid":4818,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":0},"ts":1680363293933000,"tid":0,"pid":4818,"name":"thread_sort_index"}, + {"ph":"B","name":"../../node_modules/.bin/detox test --configuration android.emu.debug --headless --record-logs all","pid":4818,"tid":0,"cat":"lifecycle","ts":1680363293933000,"args":{"level":10,"cwd":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate","data":{"id":"339aa5c7-a6ef-b3b2-6c74-71a67b6a4fec","detoxConfig":{"configurationName":"android.emu.debug","apps":{"default":{"type":"android.apk","binaryPath":"android/app/build/outputs/apk/debug/app-debug.apk","build":"cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug","reversePorts":[8081]}},"artifacts":{"rootDir":"artifacts/android.emu.debug.2023-04-01 15-34-53Z","plugins":{"log":{"enabled":true,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":false,"keepOnlyFailedTestsArtifacts":false},"video":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"uiHierarchy":{"enabled":false,"keepOnlyFailedTestsArtifacts":false}}},"behavior":{"init":{"keepLockFile":false,"reinstallApp":true,"exposeGlobals":true},"cleanup":{"shutdownDevice":false},"launchApp":"auto"},"cli":{"recordLogs":"all","configuration":"android.emu.debug","headless":true,"start":true},"device":{"type":"android.emulator","device":{"avdName":"Pixel_3a_API_33_arm64-v8a"},"headless":true},"logger":{"level":"info","overrideConsole":true,"options":{"showLoggerName":true,"showPid":true,"showLevel":false,"showMetadata":false,"basepath":"/Users/arvinh/Desktop/wooza/react-native-pushy/node_modules/detox/src","prefixers":{},"stringifiers":{}}},"testRunner":{"retries":0,"forwardEnv":false,"bail":false,"jest":{"setupTimeout":120000,"teardownTimeout":30000,"retryAfterCircusRetries":false,"reportWorkerAssign":true},"args":{"$0":"jest","_":[],"config":"e2e/jest.config.js","--":[]}},"session":{"autoStart":true,"debugSynchronization":10000}},"detoxIPCServer":"primary-4818","testResults":[],"testSessionIndex":0,"workersCount":0},"v":0}}, + {"ph":"M","args":{"name":"ipc"},"ts":1680363293938000,"tid":1,"pid":4818,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":1},"ts":1680363293938000,"tid":1,"pid":4818,"name":"thread_sort_index"}, + {"ph":"i","name":"Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-4818","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363293938000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"starting server on /tmp/detox.primary-4818 ","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363293939000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"starting TLS server false","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363293939000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"starting server as Unix || Windows Socket","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363293939000,"args":{"level":10,"v":0}}, + {"ph":"M","args":{"name":"ws-server"},"ts":1680363293944000,"tid":2,"pid":4818,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":2},"ts":1680363293944000,"tid":2,"pid":4818,"name":"thread_sort_index"}, + {"ph":"i","name":"Detox server listening on localhost:56416...","pid":4818,"tid":2,"cat":"ws-server,ws","ts":1680363293944000,"args":{"level":20,"v":0}}, + {"ph":"i","name":"Serialized the session state at: /private/var/folders/wm/91840x650t10w1m7sq830mp80000gn/T/339aa5c7-a6ef-b3b2-6c74-71a67b6a4fec.detox.json","pid":4818,"tid":0,"cat":"lifecycle","ts":1680363293945000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"jest --config e2e/jest.config.js","pid":4818,"tid":0,"cat":"lifecycle,cli","ts":1680363293946000,"args":{"level":30,"env":{},"v":0}}, + {"ph":"M","args":{"name":"secondary"},"ts":1680363295379000,"tid":0,"pid":4821,"name":"process_name"}, + {"ph":"M","args":{"sort_index":1},"ts":1680363295379000,"tid":0,"pid":4821,"name":"process_sort_index"}, + {"ph":"M","args":{"name":"ipc"},"ts":1680363295379000,"tid":5,"pid":4821,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":5},"ts":1680363295379000,"tid":5,"pid":4821,"name":"thread_sort_index"}, + {"ph":"i","name":"Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id ","pid":4821,"tid":5,"cat":"ipc","ts":1680363295379000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"requested connection to primary-4818 /tmp/detox.primary-4818","pid":4821,"tid":5,"cat":"ipc","ts":1680363295380000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"Connecting client on Unix Socket : /tmp/detox.primary-4818","pid":4821,"tid":5,"cat":"ipc","ts":1680363295380000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"## socket connection to server detected ##","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363295381000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"retrying reset","pid":4821,"tid":5,"cat":"ipc","ts":1680363295381000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"dispatching event to primary-4818 /tmp/detox.primary-4818 : registerContext , { id: 'secondary-4821' }","pid":4821,"tid":5,"cat":"ipc","ts":1680363295382000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"received event of : registerContext { id: 'secondary-4821' }","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363295383000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"dispatching event to socket : registerContextDone { testResults: [], testSessionIndex: 0 }","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363295383000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"## received events ##","pid":4821,"tid":5,"cat":"ipc","ts":1680363295383000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"detected event registerContextDone { testResults: [], testSessionIndex: 0 }","pid":4821,"tid":5,"cat":"ipc","ts":1680363295384000,"args":{"level":10,"v":0}}, + {"ph":"M","args":{"name":"lifecycle"},"ts":1680363295435000,"tid":6,"pid":4821,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":6},"ts":1680363295435000,"tid":6,"pid":4821,"name":"thread_sort_index"}, + {"ph":"B","name":"e2e/NativeModule.test.ts","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363295435000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"set up environment","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363295444000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"received event of : registerWorker { workerId: 'w1' }","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363295445000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"dispatching event to socket : registerWorkerDone { workersCount: 1 }","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363295445000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"dispatching event to primary-4818 /tmp/detox.primary-4818 : registerWorker , { workerId: 'w1' }","pid":4821,"tid":5,"cat":"ipc","ts":1680363295445000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"## received events ##","pid":4821,"tid":5,"cat":"ipc","ts":1680363295445000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"broadcasting event to all known sockets listening to /tmp/detox.primary-4818 : sessionStateUpdate { workersCount: 1 }","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363295446000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"detected event registerWorkerDone { workersCount: 1 }","pid":4821,"tid":5,"cat":"ipc","ts":1680363295446000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"## received events ##","pid":4821,"tid":5,"cat":"ipc","ts":1680363295539000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"detected event sessionStateUpdate { workersCount: 1 }","pid":4821,"tid":5,"cat":"ipc","ts":1680363295539000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"connection :56416<->:56425","pid":4818,"tid":2,"cat":"ws-server,ws","ts":1680363295542000,"args":{"level":20,"id":56425,"v":0}}, + {"ph":"M","args":{"name":"ws-client"},"ts":1680363295543000,"tid":7,"pid":4821,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":7},"ts":1680363295543000,"tid":7,"pid":4821,"name":"thread_sort_index"}, + {"ph":"i","name":"opened web socket to: ws://localhost:56416","pid":4821,"tid":7,"cat":"ws-client,ws","ts":1680363295543000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"send message","pid":4821,"tid":7,"cat":"ws-client,ws","ts":1680363295544000,"args":{"level":10,"data":"{\"type\":\"login\",\"params\":{\"sessionId\":\"f4aa1b39-7f49-6a1e-2016-8fceba85b11b\",\"role\":\"tester\"},\"messageId\":0}","v":0}}, + {"ph":"i","name":"get","pid":4818,"tid":2,"cat":"ws-server,ws","ts":1680363295545000,"args":{"level":10,"id":56425,"data":"{\"type\":\"login\",\"params\":{\"sessionId\":\"f4aa1b39-7f49-6a1e-2016-8fceba85b11b\",\"role\":\"tester\"},\"messageId\":0}","v":0}}, + {"ph":"M","args":{"name":"ws-server"},"ts":1680363295545000,"tid":3,"pid":4818,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":3},"ts":1680363295545000,"tid":3,"pid":4818,"name":"thread_sort_index"}, + {"ph":"i","name":"created session f4aa1b39-7f49-6a1e-2016-8fceba85b11b","pid":4818,"tid":3,"cat":"ws-server,ws-session","ts":1680363295545000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"send","pid":4818,"tid":2,"cat":"ws-server,ws","ts":1680363295545000,"args":{"level":10,"id":56425,"trackingId":"tester","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"tester","data":{"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0},"v":0}}, + {"ph":"i","name":"tester joined session f4aa1b39-7f49-6a1e-2016-8fceba85b11b","pid":4818,"tid":3,"cat":"ws-server,ws-session","ts":1680363295545000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"get message","pid":4821,"tid":7,"cat":"ws-client,ws","ts":1680363295546000,"args":{"level":10,"data":"{\"type\":\"loginSuccess\",\"params\":{\"testerConnected\":true,\"appConnected\":false},\"messageId\":0}\n ","v":0}}, + {"ph":"M","args":{"name":"device"},"ts":1680363295586000,"tid":8,"pid":4821,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":8},"ts":1680363295586000,"tid":8,"pid":4821,"name":"thread_sort_index"}, + {"ph":"B","name":"allocate","pid":4821,"tid":8,"cat":"device","ts":1680363295586000,"args":{"level":10,"args":[{"type":"android.emulator","device":{"avdName":"Pixel_3a_API_33_arm64-v8a"},"headless":true}],"v":0}}, + {"ph":"M","args":{"name":"child-process"},"ts":1680363295586000,"tid":9,"pid":4821,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":9},"ts":1680363295586000,"tid":9,"pid":4821,"name":"thread_sort_index"}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295586000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","trackingId":0,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"Pixel_3a_API_33_arm64-v8a\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295660000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","trackingId":0,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295660000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","trackingId":1,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"INFO | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.\nAndroid emulator version 31.3.13.0 (build_id 9189900) (CL:N/A)\nCopyright (C) 2006-2017 The Android Open Source Project and many others.\nThis program is a derivative of the QEMU CPU emulator (www.qemu.org).\n\n This software is licensed under the terms of the GNU General Public\n License version 2, as published by the Free Software Foundation, and\n may be copied, distributed, and modified under those terms.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295796000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/emulator/emulator\" -version -no-window","trackingId":1,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"Detected emulator binary version { major: 31, minor: 3, patch: 13, toString: [Function: toString] }","pid":4821,"tid":8,"cat":"device","ts":1680363295796000,"args":{"level":20,"success":true,"v":0}}, + {"ph":"i","name":"Trying to allocate a device based on \"Pixel_3a_API_33_arm64-v8a\"","pid":4821,"tid":8,"cat":"device","ts":1680363295796000,"args":{"level":20,"event":"ALLOCATE_DEVICE","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295797000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","trackingId":2,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"List of devices attached\nemulator-5554\tdevice\n\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295809000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" devices","trackingId":2,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"port: 5554, host: localhost","pid":4821,"tid":8,"cat":"device","ts":1680363295810000,"args":{"level":10,"event":"TELNET_CONNECTING","v":0}}, + {"ph":"i","name":"Found a matching & free device emulator-5554","pid":4821,"tid":8,"cat":"device","ts":1680363295814000,"args":{"level":20,"event":"DEVICE_LOOKUP","v":0}}, + {"ph":"i","name":"Settled on emulator-5554","pid":4821,"tid":8,"cat":"device","ts":1680363295814000,"args":{"level":20,"event":"ALLOCATE_DEVICE","v":0}}, + {"ph":"B","name":"_launchEmulator","pid":4821,"tid":8,"cat":"device","ts":1680363295814000,"args":{"level":10,"args":["Pixel_3a_API_33_arm64-v8a","emulator-5554",true,{"headless":true,"port":null}],"v":0}}, + {"ph":"B","name":"_awaitEmulatorBoot","pid":4821,"tid":8,"cat":"device","ts":1680363295814000,"args":{"level":10,"args":["emulator-5554"],"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295815000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","trackingId":3,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"1\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295847000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","trackingId":3,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363295847000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"M","args":{"name":"artifacts-manager"},"ts":1680363295847000,"tid":10,"pid":4821,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":10},"ts":1680363295847000,"tid":10,"pid":4821,"name":"thread_sort_index"}, + {"ph":"B","name":"onBootDevice","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363295847000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","type":"Pixel_3a_API_33_arm64-v8a","coldBoot":false}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363295847000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363295847000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295847000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","trackingId":4,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"33\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295871000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","trackingId":4,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295872000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","trackingId":5,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295897000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","trackingId":5,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295897000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","trackingId":6,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295920000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","trackingId":6,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295920000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","trackingId":7,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295942000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","trackingId":7,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363295942000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","trackingId":8,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":" mWakefulness=Awake\n mWakefulnessChanging=false\n mWakeLockSummary=0x0\n mWakeUpWhenPluggedOrUnpluggedConfig=false\n mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false\n mUserActivityTimeoutOverrideFromWindowManager=-1\n mUserInactiveOverrideFromWindowManager=false\n mUserId=0\n mWakeLockSummary=0x0\n mUserInteractionBackoffMillis=60000\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296007000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","trackingId":8,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363296007000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"installUtilBinaries","pid":4821,"tid":8,"cat":"device","ts":1680363296022000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363296022000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"selectApp","pid":4821,"tid":8,"cat":"device","ts":1680363296023000,"args":{"level":10,"args":["default"],"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296026000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","trackingId":9,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"package: name='com.awesomeproject' versionCode='1' versionName='1.0' platformBuildVersionName='12' platformBuildVersionCode='31' compileSdkVersion='31' compileSdkVersionCodename='12'\nsdkVersion:'21'\ntargetSdkVersion:'31'\nuses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'\nuses-permission: name='android.permission.INTERNET'\nuses-permission: name='android.permission.ACCESS_WIFI_STATE'\nuses-permission: name='android.permission.REQUEST_INSTALL_PACKAGES'\nuses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'\napplication-label:'AwesomeProject'\napplication-label-af:'AwesomeProject'\napplication-label-am:'AwesomeProject'\napplication-label-ar:'AwesomeProject'\napplication-label-as:'AwesomeProject'\napplication-label-az:'AwesomeProject'\napplication-label-be:'AwesomeProject'\napplication-label-bg:'AwesomeProject'\napplication-label-bn:'AwesomeProject'\napplication-label-bs:'AwesomeProject'\napplication-label-ca:'AwesomeProject'\napplication-label-cs:'AwesomeProject'\napplication-label-da:'AwesomeProject'\napplication-label-de:'AwesomeProject'\napplication-label-el:'AwesomeProject'\napplication-label-en-AU:'AwesomeProject'\napplication-label-en-CA:'AwesomeProject'\napplication-label-en-GB:'AwesomeProject'\napplication-label-en-IN:'AwesomeProject'\napplication-label-en-XC:'AwesomeProject'\napplication-label-es:'AwesomeProject'\napplication-label-es-US:'AwesomeProject'\napplication-label-et:'AwesomeProject'\napplication-label-eu:'AwesomeProject'\napplication-label-fa:'AwesomeProject'\napplication-label-fi:'AwesomeProject'\napplication-label-fr:'AwesomeProject'\napplication-label-fr-CA:'AwesomeProject'\napplication-label-gl:'AwesomeProject'\napplication-label-gu:'AwesomeProject'\napplication-label-hi:'AwesomeProject'\napplication-label-hr:'AwesomeProject'\napplication-label-hu:'AwesomeProject'\napplication-label-hy:'AwesomeProject'\napplication-label-in:'AwesomeProject'\napplication-label-is:'AwesomeProject'\napplication-label-it:'AwesomeProject'\napplication-label-iw:'AwesomeProject'\napplication-label-ja:'AwesomeProject'\napplication-label-ka:'AwesomeProject'\napplication-label-kk:'AwesomeProject'\napplication-label-km:'AwesomeProject'\napplication-label-kn:'AwesomeProject'\napplication-label-ko:'AwesomeProject'\napplication-label-ky:'AwesomeProject'\napplication-label-lo:'AwesomeProject'\napplication-label-lt:'AwesomeProject'\napplication-label-lv:'AwesomeProject'\napplication-label-mk:'AwesomeProject'\napplication-label-ml:'AwesomeProject'\napplication-label-mn:'AwesomeProject'\napplication-label-mr:'AwesomeProject'\napplication-label-ms:'AwesomeProject'\napplication-label-my:'AwesomeProject'\napplication-label-nb:'AwesomeProject'\napplication-label-ne:'AwesomeProject'\napplication-label-nl:'AwesomeProject'\napplication-label-or:'AwesomeProject'\napplication-label-pa:'AwesomeProject'\napplication-label-pl:'AwesomeProject'\napplication-label-pt:'AwesomeProject'\napplication-label-pt-BR:'AwesomeProject'\napplication-label-pt-PT:'AwesomeProject'\napplication-label-ro:'AwesomeProject'\napplication-label-ru:'AwesomeProject'\napplication-label-si:'AwesomeProject'\napplication-label-sk:'AwesomeProject'\napplication-label-sl:'AwesomeProject'\napplication-label-sq:'AwesomeProject'\napplication-label-sr:'AwesomeProject'\napplication-label-sr-Latn:'AwesomeProject'\napplication-label-sv:'AwesomeProject'\napplication-label-sw:'AwesomeProject'\napplication-label-ta:'AwesomeProject'\napplication-label-te:'AwesomeProject'\napplication-label-th:'AwesomeProject'\napplication-label-tl:'AwesomeProject'\napplication-label-tr:'AwesomeProject'\napplication-label-uk:'AwesomeProject'\napplication-label-ur:'AwesomeProject'\napplication-label-uz:'AwesomeProject'\napplication-label-vi:'AwesomeProject'\napplication-label-zh-CN:'AwesomeProject'\napplication-label-zh-HK:'AwesomeProject'\napplication-label-zh-TW:'AwesomeProject'\napplication-label-zu:'AwesomeProject'\napplication-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'\napplication-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'\napplication-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'\napplication-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'\napplication-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'\napplication: label='AwesomeProject' icon='res/mipmap-mdpi-v4/ic_launcher.png'\napplication-debuggable\nlaunchable-activity: name='com.awesomeproject.MainActivity' label='AwesomeProject' icon=''\nuses-permission: name='android.permission.READ_EXTERNAL_STORAGE'\nuses-implied-permission: name='android.permission.READ_EXTERNAL_STORAGE' reason='requested WRITE_EXTERNAL_STORAGE'\nfeature-group: label=''\n uses-feature: name='android.hardware.faketouch'\n uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'\n uses-feature: name='android.hardware.wifi'\n uses-implied-feature: name='android.hardware.wifi' reason='requested android.permission.ACCESS_WIFI_STATE permission'\nmain\nother-activities\nsupports-screens: 'small' 'normal' 'large' 'xlarge'\nsupports-any-density: 'true'\nlocales: '--_--' 'af' 'am' 'ar' 'as' 'az' 'be' 'bg' 'bn' 'bs' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-CA' 'en-GB' 'en-IN' 'en-XC' 'es' 'es-US' 'et' 'eu' 'fa' 'fi' 'fr' 'fr-CA' 'gl' 'gu' 'hi' 'hr' 'hu' 'hy' 'in' 'is' 'it' 'iw' 'ja' 'ka' 'kk' 'km' 'kn' 'ko' 'ky' 'lo' 'lt' 'lv' 'mk' 'ml' 'mn' 'mr' 'ms' 'my' 'nb' 'ne' 'nl' 'or' 'pa' 'pl' 'pt' 'pt-BR' 'pt-PT' 'ro' 'ru' 'si' 'sk' 'sl' 'sq' 'sr' 'sr-Latn' 'sv' 'sw' 'ta' 'te' 'th' 'tl' 'tr' 'uk' 'ur' 'uz' 'vi' 'zh-CN' 'zh-HK' 'zh-TW' 'zu'\ndensities: '160' '240' '320' '480' '640'\nnative-code: 'arm64-v8a' 'armeabi-v7a' 'x86' 'x86_64'\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296059000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump badging \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\"","trackingId":9,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363296059000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"uninstallApp","pid":4821,"tid":8,"cat":"device","ts":1680363296059000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"B","name":"onBeforeUninstallApp","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363296059000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363296059000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296059000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","trackingId":10,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"package:com.awesomeproject\npackage:com.awesomeproject.test\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296083000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject\"","trackingId":10,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296083000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","trackingId":11,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"Success\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296390000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject","trackingId":11,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296391000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","trackingId":12,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"package:com.awesomeproject.test\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296481000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.awesomeproject.test\"","trackingId":12,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296481000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","trackingId":13,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"Success\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296601000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.awesomeproject.test","trackingId":13,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363296601000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"selectApp","pid":4821,"tid":8,"cat":"device","ts":1680363296601000,"args":{"level":10,"args":["default"],"v":0}}, + {"ph":"B","name":"terminateApp","pid":4821,"tid":8,"cat":"device","ts":1680363296602000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"B","name":"onBeforeTerminateApp","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363296603000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363296603000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296603000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":14,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296697000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":14,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"B","name":"onTerminateApp","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363296697000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363296698000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363296698000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363296698000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"installApp","pid":4821,"tid":8,"cat":"device","ts":1680363296698000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296699000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","trackingId":15,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"String pool of 62 unique UTF-16 non-sorted strings, 62 entries and 0 styles using 2972 bytes:\nString #0: theme\nString #1: label\nString #2: icon\nString #3: name\nString #4: debuggable\nString #5: exported\nString #6: authorities\nString #7: grantUriPermissions\nString #8: launchMode\nString #9: configChanges\nString #10: value\nString #11: resource\nString #12: minSdkVersion\nString #13: versionCode\nString #14: versionName\nString #15: windowSoftInputMode\nString #16: targetSdkVersion\nString #17: allowBackup\nString #18: usesCleartextTraffic\nString #19: networkSecurityConfig\nString #20: roundIcon\nString #21: compileSdkVersion\nString #22: compileSdkVersionCodename\nString #23: appComponentFactory\nString #24: 1.0\nString #25: 12\nString #26: action\nString #27: activity\nString #28: android\nString #29: android.intent.action.MAIN\nString #30: android.intent.category.LAUNCHER\nString #31: android.permission.ACCESS_WIFI_STATE\nString #32: android.permission.INTERNET\nString #33: android.permission.REQUEST_INSTALL_PACKAGES\nString #34: android.permission.SYSTEM_ALERT_WINDOW\nString #35: android.permission.WRITE_EXTERNAL_STORAGE\nString #36: android.support.FILE_PROVIDER_PATHS\nString #37: androidx.core.app.CoreComponentFactory\nString #38: androidx.emoji2.text.EmojiCompatInitializer\nString #39: androidx.lifecycle.ProcessLifecycleInitializer\nString #40: androidx.startup\nString #41: androidx.startup.InitializationProvider\nString #42: application\nString #43: category\nString #44: cn.reactnative.modules.update.PushyFileProvider\nString #45: com.awesomeproject\nString #46: com.awesomeproject.MainActivity\nString #47: com.awesomeproject.MainApplication\nString #48: com.awesomeproject.androidx-startup\nString #49: com.awesomeproject.pushy.fileprovider\nString #50: com.facebook.react.devsupport.DevSettingsActivity\nString #51: http://schemas.android.com/apk/res/android\nString #52: intent-filter\nString #53: manifest\nString #54: meta-data\nString #55: package\nString #56: platformBuildVersionCode\nString #57: platformBuildVersionName\nString #58: provider\nString #59: pushy_build_time\nString #60: uses-permission\nString #61: uses-sdk\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296710000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" AndroidManifest.xml","trackingId":15,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296711000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","trackingId":16,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"String pool of 41 unique UTF-16 non-sorted strings, 41 entries and 0 styles using 2052 bytes:\nString #0: theme\nString #1: label\nString #2: name\nString #3: debuggable\nString #4: exported\nString #5: targetPackage\nString #6: handleProfiling\nString #7: functionalTest\nString #8: minSdkVersion\nString #9: targetSdkVersion\nString #10: compileSdkVersion\nString #11: compileSdkVersionCodename\nString #12: 12\nString #13: Tests for com.awesomeproject\nString #14: action\nString #15: activity\nString #16: android\nString #17: android.intent.action.MAIN\nString #18: android.permission.REORDER_TASKS\nString #19: android.test.runner\nString #20: androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity\nString #21: androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity\nString #22: androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity\nString #23: androidx.test.orchestrator\nString #24: androidx.test.runner.AndroidJUnitRunner\nString #25: androidx.test.services\nString #26: application\nString #27: com.awesomeproject\nString #28: com.awesomeproject.test\nString #29: com.google.android.apps.common.testing.services\nString #30: http://schemas.android.com/apk/res/android\nString #31: instrumentation\nString #32: intent-filter\nString #33: manifest\nString #34: package\nString #35: platformBuildVersionCode\nString #36: platformBuildVersionName\nString #37: queries\nString #38: uses-library\nString #39: uses-permission\nString #40: uses-sdk\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296722000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/build-tools/33.0.0/aapt\" dump xmlstrings \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" AndroidManifest.xml","trackingId":16,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296722000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","trackingId":17,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296815000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","trackingId":17,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296815000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","trackingId":18,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296889000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","trackingId":18,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363296890000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","trackingId":19,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk: 1 file pushed, 0 skipped. 184.7 MB/s (57188071 bytes in 0.295s)\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363297224000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","trackingId":19,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363297227000,"args":{"level":20,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":8977,"event":"SPAWN_CMD","v":0}}, + {"ph":"i","name":"Success\n","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363297978000,"args":{"level":10,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":8977,"stdout":true,"event":"SPAWN_STDOUT","v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk exited with code #0","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363297980000,"args":{"level":20,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk","trackingId":20,"cpid":8977,"event":"SPAWN_END","signal":"","code":0,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363297980000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","trackingId":21,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk: 1 file pushed, 0 skipped. 428.1 MB/s (7834463 bytes in 0.017s)\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298037000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","trackingId":21,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363298037000,"args":{"level":20,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":8980,"event":"SPAWN_CMD","v":0}}, + {"ph":"i","name":"Success\n","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363298154000,"args":{"level":10,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":8980,"stdout":true,"event":"SPAWN_STDOUT","v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk exited with code #0","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363298160000,"args":{"level":20,"fn":"spawnWithRetriesAndLogs","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk","trackingId":22,"cpid":8980,"event":"SPAWN_END","signal":"","code":0,"v":0}}, + {"ph":"B","name":"reverseTcpPort","pid":4821,"tid":8,"cat":"device","ts":1680363298161000,"args":{"level":10,"args":[8081],"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298161000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","trackingId":23,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298177000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:8081 tcp:8081","trackingId":23,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363298177000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363298177000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"selectApp","pid":4821,"tid":8,"cat":"device","ts":1680363298177000,"args":{"level":10,"args":["default"],"v":0}}, + {"ph":"B","name":"terminateApp","pid":4821,"tid":8,"cat":"device","ts":1680363298177000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"B","name":"onBeforeTerminateApp","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298177000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298177000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298177000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":24,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298230000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":24,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"B","name":"onTerminateApp","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298230000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298231000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363298231000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363298231000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363298231000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"NativeModule.test.ts is assigned to emulator-5554 (Pixel_3a_API_33_arm64-v8a)","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363298852000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"run the tests","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363298852000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"onRunDescribeStart","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298852000,"args":{"level":10,"args":[{"name":"ROOT_DESCRIBE_BLOCK"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298853000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"测试Native模块的方法","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363298853000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"onRunDescribeStart","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298853000,"args":{"level":10,"args":[{"name":"测试Native模块的方法"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298853000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"beforeAll","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363298853000,"args":{"level":10,"functionCode":"() => __awaiter(void 0, void 0, void 0, function* () {\n yield detox_1.device.launchApp();\n })","v":0}}, + {"ph":"B","name":"launchApp","pid":4821,"tid":8,"cat":"device","ts":1680363298857000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"B","name":"terminateApp","pid":4821,"tid":8,"cat":"device","ts":1680363298857000,"args":{"level":10,"args":["com.awesomeproject"],"v":0}}, + {"ph":"B","name":"onBeforeTerminateApp","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298857000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298857000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298857000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":25,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298890000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.awesomeproject\"","trackingId":25,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"B","name":"onTerminateApp","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298890000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298890000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363298891000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"B","name":"onBeforeLaunchApp","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298891000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:56416","detoxSessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b"}}],"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298891000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":26,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"12-09 14:42:22.000\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298911000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":26,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363298911000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:56416 tcp:56416","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298912000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:56416 tcp:56416","trackingId":27,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"56416\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298924000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:56416 tcp:56416","trackingId":27,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298924000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","trackingId":28,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"instrumentation:com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner (target=com.awesomeproject)\ninstrumentation:com.testhotupdate.test/android.test.InstrumentationTestRunner (target=com.testhotupdate)\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363298950000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","trackingId":28,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56416 -e detoxSessionId f4aa1b39-7f49-6a1e-2016-8fceba85b11b -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363298951000,"args":{"level":20,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56416 -e detoxSessionId f4aa1b39-7f49-6a1e-2016-8fceba85b11b -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","trackingId":29,"cpid":8987,"event":"SPAWN_CMD","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363299453000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","trackingId":30,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"u0_a186 20479 325 14771216 169660 0 0 S com.awesomeproject\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363299530000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.awesomeproject$\\\"\"","trackingId":30,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"B","name":"onLaunchApp","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363299530000,"args":{"level":10,"args":[{"deviceId":"emulator-5554","bundleId":"com.awesomeproject","launchArgs":{"detoxServer":"ws://localhost:56416","detoxSessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b"},"pid":20479}],"v":0}}, + {"ph":"M","args":{"name":"artifact"},"ts":1680363299532000,"tid":11,"pid":4821,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":11},"ts":1680363299532000,"tid":11,"pid":4821,"name":"thread_sort_index"}, + {"ph":"i","name":"starting ADBLogcatRecording","pid":4821,"tid":11,"cat":"artifact","ts":1680363299532000,"args":{"level":10,"class":"ADBLogcatRecording","event":"ARTIFACT_START","v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:42:22.000\\\" --pid=20479 -f /sdcard/233455576_0.log\"","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363299534000,"args":{"level":20,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:42:22.000\\\" --pid=20479 -f /sdcard/233455576_0.log\"","trackingId":31,"cpid":8989,"event":"SPAWN_CMD","v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363299534000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/233455576_0.log","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363299835000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/233455576_0.log","trackingId":32,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"4\t/sdcard/233455576_0.log\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363299865000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/233455576_0.log","trackingId":32,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"INSTRUMENTATION_STATUS: class=com.awesomeproject.DetoxTest\nINSTRUMENTATION_STATUS: current=1\nINSTRUMENTATION_STATUS: id=AndroidJUnitRunner\nINSTRUMENTATION_STATUS: numtests=1\nINSTRUMENTATION_STATUS: stream=\ncom.awesomeproject.DetoxTest:\nINSTRUMENTATION_STATUS: test=runDetoxTests\nINSTRUMENTATION_STATUS_CODE: 1\n","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363299877000,"args":{"level":10,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56416 -e detoxSessionId f4aa1b39-7f49-6a1e-2016-8fceba85b11b -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","trackingId":29,"cpid":8987,"stdout":true,"event":"SPAWN_STDOUT","v":0}}, + {"ph":"B","name":"connection :56416<->:56526","pid":4818,"tid":3,"cat":"ws-server,ws","ts":1680363300349000,"args":{"level":20,"id":56526,"v":0}}, + {"ph":"i","name":"get","pid":4818,"tid":3,"cat":"ws-server,ws","ts":1680363300353000,"args":{"level":10,"id":56526,"data":"{\"messageId\":0,\"type\":\"login\",\"params\":{\"role\":\"app\",\"sessionId\":\"f4aa1b39-7f49-6a1e-2016-8fceba85b11b\"}}","v":0}}, + {"ph":"i","name":"send","pid":4818,"tid":3,"cat":"ws-server,ws","ts":1680363300353000,"args":{"level":10,"id":56526,"trackingId":"app","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"app","data":{"messageId":0,"type":"loginSuccess","params":{"testerConnected":true,"appConnected":true}},"v":0}}, + {"ph":"M","args":{"name":"ws-server"},"ts":1680363300353000,"tid":4,"pid":4818,"name":"thread_name"}, + {"ph":"M","args":{"sort_index":4},"ts":1680363300353000,"tid":4,"pid":4818,"name":"thread_sort_index"}, + {"ph":"i","name":"app joined session f4aa1b39-7f49-6a1e-2016-8fceba85b11b","pid":4818,"tid":4,"cat":"ws-server,ws-session","ts":1680363300353000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"send","pid":4818,"tid":2,"cat":"ws-server,ws","ts":1680363300353000,"args":{"level":10,"id":56425,"trackingId":"tester","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"tester","data":{"type":"appConnected"},"v":0}}, + {"ph":"i","name":"get message","pid":4821,"tid":7,"cat":"ws-client,ws","ts":1680363300354000,"args":{"level":10,"data":"{\"type\":\"appConnected\"}\n ","v":0}}, + {"ph":"i","name":"get","pid":4818,"tid":2,"cat":"ws-server,ws","ts":1680363300355000,"args":{"level":10,"id":56425,"trackingId":"tester","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"tester","data":"{\"type\":\"isReady\",\"params\":{},\"messageId\":-1000}","v":0}}, + {"ph":"i","name":"send","pid":4818,"tid":3,"cat":"ws-server,ws","ts":1680363300355000,"args":{"level":10,"id":56526,"trackingId":"app","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"app","data":{"type":"isReady","params":{},"messageId":-1000},"v":0}}, + {"ph":"i","name":"send message","pid":4821,"tid":7,"cat":"ws-client,ws","ts":1680363300355000,"args":{"level":10,"data":"{\"type\":\"isReady\",\"params\":{},\"messageId\":-1000}","v":0}}, + {"ph":"i","name":"send message","pid":4821,"tid":7,"cat":"ws-client,ws","ts":1680363310355000,"args":{"level":10,"data":"{\"type\":\"currentStatus\",\"params\":{},\"messageId\":1}","v":0}}, + {"ph":"i","name":"get","pid":4818,"tid":2,"cat":"ws-server,ws","ts":1680363310356000,"args":{"level":10,"id":56425,"trackingId":"tester","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"tester","data":"{\"type\":\"currentStatus\",\"params\":{},\"messageId\":1}","v":0}}, + {"ph":"i","name":"send","pid":4818,"tid":3,"cat":"ws-server,ws","ts":1680363310356000,"args":{"level":10,"id":56526,"trackingId":"app","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"app","data":{"type":"currentStatus","params":{},"messageId":1},"v":0}}, + {"ph":"i","name":"Failed to execute the current status query.","pid":4821,"tid":7,"cat":"ws-client,ws","ts":1680363315358000,"args":{"level":20,"event":"APP_STATUS","v":0}}, + {"ph":"B","name":"onHookFailure","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363418856000,"args":{"level":10,"args":[{"error":"Exceeded timeout of 120000 ms for a hook.\nAdd a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout.","hook":"beforeAll"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363418856000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418857000,"args":{"level":10,"success":false,"error":"'Exceeded timeout of 120000 ms for a hook.\\n' +\n 'Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout.'","v":0}}, + {"ph":"B","name":"setLocalHashInfo","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418858000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 setLocalHashInfo","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setLocalHashInfo","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418858000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418859000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setLocalHashInfo [FAIL]","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418859000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"getLocalHashInfo","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418867000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 getLocalHashInfo","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: getLocalHashInfo","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418867000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418868000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: getLocalHashInfo [FAIL]","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418868000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"setUuid","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418868000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 setUuid","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setUuid","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418868000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418868000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setUuid [FAIL]","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418868000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"setBlockUpdate","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418869000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 setBlockUpdate","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setBlockUpdate","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418869000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418869000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setBlockUpdate [FAIL]","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418869000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"setNeedUpdate","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418869000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 setNeedUpdate","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setNeedUpdate","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418869000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418869000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: setNeedUpdate [FAIL]","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418869000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"markSuccess","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418870000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 markSuccess","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: markSuccess","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418870000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418870000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: markSuccess [FAIL]","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418870000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"downloadPatchFromPpk","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418871000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 downloadPatchFromPpk","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadPatchFromPpk","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418871000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418871000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadPatchFromPpk [FAIL]","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418871000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"downloadPatchFromPackage","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418871000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 downloadPatchFromPackage","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadPatchFromPackage","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418871000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418871000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadPatchFromPackage [FAIL]","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418871000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"downloadFullUpdate","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418872000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 downloadFullUpdate","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadFullUpdate","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418872000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418872000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadFullUpdate [FAIL]","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418872000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"downloadAndInstallApk","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418872000,"args":{"level":10,"context":"test","status":"failed","fullName":"测试Native模块的方法 downloadAndInstallApk","invocations":1,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadAndInstallApk","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418872000,"args":{"level":30,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418872000,"args":{"level":10,"status":"failed","timedOut":true,"v":0}}, + {"ph":"i","name":"测试Native模块的方法: downloadAndInstallApk [FAIL]","pid":4821,"tid":6,"cat":"lifecycle","ts":1680363418872000,"args":{"level":30,"v":0}}, + {"ph":"B","name":"onRunDescribeFinish","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363418873000,"args":{"level":10,"args":[{"name":"测试Native模块的方法"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363418873000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418873000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"onRunDescribeFinish","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363418873000,"args":{"level":10,"args":[{"name":"ROOT_DESCRIBE_BLOCK"}],"v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363418873000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418873000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"tear down environment","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363418899000,"args":{"level":10,"v":0}}, + {"ph":"B","name":"onBeforeCleanup","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363418900000,"args":{"level":10,"args":[],"v":0}}, + {"ph":"i","name":"saving ADBLogcatRecording to: artifacts/android.emu.debug.2023-04-01 15-34-53Z/emulator-5554 2023-04-01 15-36-58Z.startup.log","pid":4821,"tid":11,"cat":"artifact","ts":1680363418902000,"args":{"level":10,"class":"ADBLogcatRecording","event":"ARTIFACT_SAVE","v":0}}, + {"ph":"i","name":"stopping ADBLogcatRecording","pid":4821,"tid":11,"cat":"artifact","ts":1680363418902000,"args":{"level":10,"class":"ADBLogcatRecording","event":"ARTIFACT_STOP","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363418902000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":33,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"12-09 14:44:22.000\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363418958000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":33,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"sending SIGINT to: /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell logcat -T \"12-09 14:42:22.000\" --pid=20479 -f /sdcard/233455576_0.log","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363418960000,"args":{"level":10,"event":"SPAWN_KILL","pid$":8989,"signal":"SIGINT","v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:42:22.000\\\" --pid=20479 -f /sdcard/233455576_0.log\" terminated with SIGINT","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363418961000,"args":{"level":20,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"12-09 14:42:22.000\\\" --pid=20479 -f /sdcard/233455576_0.log\"","trackingId":31,"cpid":8989,"event":"SPAWN_END","signal":"SIGINT","code":null,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 pull \"/sdcard/233455576_0.log\" \"artifacts/android.emu.debug.2023-04-01 15-34-53Z/emulator-5554 2023-04-01 15-36-58Z.startup.log\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363418961000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 pull \"/sdcard/233455576_0.log\" \"artifacts/android.emu.debug.2023-04-01 15-34-53Z/emulator-5554 2023-04-01 15-36-58Z.startup.log\"","trackingId":34,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"/sdcard/233455576_0.log: 1 file pulled, 0 skipped. 20.7 MB/s (53248 bytes in 0.002s)\n","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363418980000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 pull \"/sdcard/233455576_0.log\" \"artifacts/android.emu.debug.2023-04-01 15-34-53Z/emulator-5554 2023-04-01 15-36-58Z.startup.log\"","trackingId":34,"event":"EXEC_SUCCESS","stdout":true,"v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm \\\"/sdcard/233455576_0.log\\\"\"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363418980000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm \\\"/sdcard/233455576_0.log\\\"\"","trackingId":35,"event":"EXEC_CMD","v":0}}, + {"ph":"i","name":"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363419018000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm \\\"/sdcard/233455576_0.log\\\"\"","trackingId":35,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"i","name":"saving FileArtifact to: artifacts/android.emu.debug.2023-04-01 15-34-53Z/detox_pid_4821.json.log { append: true }","pid":4821,"tid":11,"cat":"artifact","ts":1680363419019000,"args":{"level":10,"class":"FileArtifact","event":"ARTIFACT_SAVE","v":0}}, + {"ph":"i","name":"saving FileArtifact to: artifacts/android.emu.debug.2023-04-01 15-34-53Z/detox_pid_4821.log { append: true }","pid":4821,"tid":11,"cat":"artifact","ts":1680363419019000,"args":{"level":10,"class":"FileArtifact","event":"ARTIFACT_SAVE","v":0}}, + {"ph":"E","pid":4821,"tid":10,"cat":"artifacts-manager,artifact","ts":1680363419019000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"The app has not responded to the network requests below:\n (id = 1) currentStatus: {}\n (id = -1000) isReady: {}\n\nUnresponded network requests might result in timeout errors in Detox tests.\n","pid":4821,"tid":7,"cat":"ws-client,ws","ts":1680363419019000,"args":{"level":40,"event":"PENDING_REQUESTS","v":0}}, + {"ph":"i","name":"send message","pid":4821,"tid":7,"cat":"ws-client,ws","ts":1680363419020000,"args":{"level":10,"data":"{\"type\":\"cleanup\",\"params\":{\"stopRunner\":true},\"messageId\":-49642}","v":0}}, + {"ph":"i","name":"get","pid":4818,"tid":2,"cat":"ws-server,ws","ts":1680363419021000,"args":{"level":10,"id":56425,"trackingId":"tester","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"tester","data":"{\"type\":\"cleanup\",\"params\":{\"stopRunner\":true},\"messageId\":-49642}","v":0}}, + {"ph":"i","name":"send","pid":4818,"tid":3,"cat":"ws-server,ws","ts":1680363419022000,"args":{"level":10,"id":56526,"trackingId":"app","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"app","data":{"type":"cleanup","params":{"stopRunner":true},"messageId":-49642},"v":0}}, + {"ph":"i","name":"The pending request #-49642 (\"cleanup\") has been rejected due to the following error:\n\nThe tester has not received a response within 5000ms timeout to the message:\n\nCleanup {\n type: 'cleanup',\n params: [Object],\n messageId: -49642\n}","pid":4821,"tid":7,"cat":"ws-client,ws","ts":1680363424022000,"args":{"level":50,"event":"ERROR","v":0}}, + {"ph":"i","name":"tester exited session f4aa1b39-7f49-6a1e-2016-8fceba85b11b","pid":4818,"tid":4,"cat":"ws-server,ws-session","ts":1680363424027000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"send","pid":4818,"tid":3,"cat":"ws-server,ws","ts":1680363424027000,"args":{"level":10,"id":56526,"trackingId":"app","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"app","data":{"type":"testerDisconnected","messageId":-1},"v":0}}, + {"ph":"E","pid":4818,"tid":2,"cat":"ws-server,ws","ts":1680363424028000,"args":{"level":20,"id":56425,"trackingId":"tester","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"tester","v":0}}, + {"ph":"i","name":"sending SIGINT to: /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56416 -e detoxSessionId f4aa1b39-7f49-6a1e-2016-8fceba85b11b -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363424028000,"args":{"level":10,"event":"SPAWN_KILL","pid$":8987,"signal":"SIGINT","v":0}}, + {"ph":"i","name":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56416 -e detoxSessionId f4aa1b39-7f49-6a1e-2016-8fceba85b11b -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner terminated with SIGINT","pid":4821,"tid":9,"cat":"child-process,child-process-spawn","ts":1680363424030000,"args":{"level":20,"fn":"spawnAndLog","command":"/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56416 -e detoxSessionId f4aa1b39-7f49-6a1e-2016-8fceba85b11b -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner","trackingId":29,"cpid":8987,"event":"SPAWN_END","signal":"SIGINT","code":null,"v":0}}, + {"ph":"i","name":"An error occurred while waiting for the app to become ready. Waiting for disconnection...","pid":4821,"tid":8,"cat":"device","ts":1680363424030000,"args":{"level":40,"error":"Failed to run application on the device\n\nHINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for \"ready\" message (over WebSocket) from the instrumentation process.","v":0}}, + {"ph":"i","name":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse --remove tcp:56416","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363424030000,"args":{"level":20,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse --remove tcp:56416","trackingId":36,"event":"EXEC_CMD","v":0}}, + {"ph":"B","name":"free","pid":4821,"tid":8,"cat":"device","ts":1680363424034000,"args":{"level":10,"args":[{"adbName":"emulator-5554"},{"shutdown":false}],"v":0}}, + {"ph":"E","pid":4821,"tid":8,"cat":"device","ts":1680363424036000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363424036000,"args":{"level":10,"v":0}}, + {"ph":"E","pid":4821,"tid":6,"cat":"lifecycle,jest-environment","ts":1680363424036000,"args":{"level":10,"success":true,"v":0}}, + {"ph":"i","name":"dispatching event to primary-4818 /tmp/detox.primary-4818 : reportTestResults , {\n testResults: [\n {\n success: false,\n testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts',\n testExecError: undefined,\n isPermanentFailure: false\n }\n ]\n}","pid":4821,"tid":5,"cat":"ipc","ts":1680363424041000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"received event of : reportTestResults {\n testResults: [\n {\n success: false,\n testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts',\n isPermanentFailure: false\n }\n ]\n}","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363424042000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"dispatching event to socket : reportTestResultsDone {\n testResults: [\n {\n success: false,\n testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts',\n isPermanentFailure: false\n }\n ]\n}","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363424042000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"broadcasting event to all known sockets listening to /tmp/detox.primary-4818 : sessionStateUpdate {\n testResults: [\n {\n success: false,\n testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts',\n isPermanentFailure: false\n }\n ]\n}","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363424042000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"## received events ##","pid":4821,"tid":5,"cat":"ipc","ts":1680363424042000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"detected event reportTestResultsDone {\n testResults: [\n {\n success: false,\n testFilePath: '/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/e2e/NativeModule.test.ts',\n isPermanentFailure: false\n }\n ]\n}","pid":4821,"tid":5,"cat":"ipc","ts":1680363424043000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"socket disconnected secondary-4821","pid":4818,"tid":1,"cat":"ipc,ipc-server","ts":1680363424045000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"connection closed primary-4818 /tmp/detox.primary-4818 0 tries remaining of 0","pid":4821,"tid":5,"cat":"ipc","ts":1680363424045000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"secondary-4821 exceeded connection rety amount of or stopRetrying flag set.","pid":4821,"tid":5,"cat":"ipc","ts":1680363424045000,"args":{"level":10,"v":0}}, + {"ph":"i","name":"","pid":4821,"tid":9,"cat":"child-process,child-process-exec","ts":1680363424064000,"args":{"level":10,"fn":"execWithRetriesAndLogs","cmd":"\"/Users/arvinh/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse --remove tcp:56416","trackingId":36,"event":"EXEC_SUCCESS","v":0}}, + {"ph":"E","pid":4818,"tid":0,"cat":"lifecycle,cli","ts":1680363424113000,"args":{"level":50,"success":false,"code":1,"signal":null,"v":0}}, + {"ph":"i","name":"Detox server has been closed gracefully","pid":4818,"tid":2,"cat":"ws-server,ws","ts":1680363424114000,"args":{"level":20,"v":0}}, + {"ph":"i","name":"app exited session f4aa1b39-7f49-6a1e-2016-8fceba85b11b","pid":4818,"tid":2,"cat":"ws-server,ws-session","ts":1680363424115000,"args":{"level":10,"v":0}}, + {"ph":"E","pid":4818,"tid":3,"cat":"ws-server,ws","ts":1680363424115000,"args":{"level":20,"id":56526,"trackingId":"app","sessionId":"f4aa1b39-7f49-6a1e-2016-8fceba85b11b","role":"app","v":0}}, + {"ph":"E","pid":4818,"tid":0,"cat":"lifecycle","ts":1680363424115000,"args":{"level":10,"v":0}} +] diff --git a/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-34-53Z/emulator-5554 2023-04-01 15-36-58Z.startup.log b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-34-53Z/emulator-5554 2023-04-01 15-36-58Z.startup.log new file mode 100644 index 0000000..8acfab3 --- /dev/null +++ b/Example/testHotUpdate/artifacts/android.emu.debug.2023-04-01 15-34-53Z/emulator-5554 2023-04-01 15-36-58Z.startup.log @@ -0,0 +1,271 @@ +--------- beginning of main +12-09 14:42:23.010 20479 20479 I .awesomeproject: Late-enabling -Xcheck:jni +12-09 14:42:23.052 20479 20479 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10186; state: ENABLED +--------- beginning of system +12-09 14:42:23.057 20479 20479 W ActivityThread: Package uses different ABI(s) than its instrumentation: package[com.awesomeproject]: arm64-v8a, null instrumentation[com.awesomeproject.test]: null, null +12-09 14:42:23.058 20479 20479 W .awesomeproject: ClassLoaderContext classpath size mismatch. expected=0, found=1 (PCL[] | PCL[/system/framework/android.test.runner.jar*2256426886]) +12-09 14:42:23.058 20479 20479 W .awesomeproject: ClassLoaderContext classpath size mismatch. expected=0, found=2 (PCL[] | PCL[/system/framework/android.test.runner.jar*2256426886:/system/framework/android.test.mock.jar*849501951]) +12-09 14:42:23.058 20479 20479 W ziparchive: Unable to open '/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.dm': No such file or directory +12-09 14:42:23.058 20479 20479 W ziparchive: Unable to open '/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.dm': No such file or directory +12-09 14:42:23.118 20479 20479 W ziparchive: Unable to open '/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.dm': No such file or directory +12-09 14:42:23.118 20479 20479 W ziparchive: Unable to open '/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.dm': No such file or directory +12-09 14:42:23.190 20479 20479 V GraphicsEnvironment: ANGLE Developer option for 'com.awesomeproject' set to: 'default' +12-09 14:42:23.190 20479 20479 V GraphicsEnvironment: ANGLE GameManagerService for com.awesomeproject: false +12-09 14:42:23.190 20479 20479 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported. +12-09 14:42:23.191 20479 20479 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar +12-09 14:42:23.192 20479 20479 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar +12-09 14:42:23.192 20479 20479 W .awesomeproject: ClassLoaderContext shared library size mismatch. Expected=0, found=2 (PCL[] | PCL[]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]}) +12-09 14:42:23.193 20479 20479 W .awesomeproject: ClassLoaderContext shared library size mismatch. Expected=0, found=3 (PCL[] | PCL[]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]#PCL[/system/framework/android.test.runner.jar*2256426886]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]}};PCL[/system/framework/android.test.runner.jar*2256426886:/system/framework/android.test.mock.jar*849501951:/system/framework/android.test.base.jar*1628045882:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk*3488107038:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk!classes2.dex*3802597924:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk!classes3.dex*1113348705:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk!classes4.dex*1609470516:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk*4280308006:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes2.dex*2341650508:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes3.dex*2242498629:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes4.dex*1939924932:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes5.dex*3428091317:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes6.dex*1896867339:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes7.dex*616740603]) +12-09 14:42:23.193 20479 20479 W .awesomeproject: ClassLoaderContext classpath size mismatch. expected=0, found=1 (PCL[] | PCL[/system/framework/android.test.runner.jar*2256426886]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]#PCL[/system/framework/android.test.runner.jar*2256426886]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]}};PCL[/system/framework/android.test.runner.jar*2256426886:/system/framework/android.test.mock.jar*849501951:/system/framework/android.test.base.jar*1628045882:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk*3488107038:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk!classes2.dex*3802597924:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk!classes3.dex*1113348705:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk!classes4.dex*1609470516:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk*4280308006:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes2.dex*2341650508:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes3.dex*2242498629:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes4.dex*1939924932:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes5.dex*3428091317:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes6.dex*1896867339:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes7.dex*616740603]) +12-09 14:42:23.194 20479 20479 W .awesomeproject: ClassLoaderContext classpath size mismatch. expected=0, found=2 (PCL[] | PCL[/system/framework/android.test.runner.jar*2256426886:/system/framework/android.test.mock.jar*849501951]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]#PCL[/system/framework/android.test.runner.jar*2256426886]{PCL[/system/framework/android.test.base.jar*1628045882]#PCL[/system/framework/android.test.mock.jar*849501951]}};PCL[/system/framework/android.test.runner.jar*2256426886:/system/framework/android.test.mock.jar*849501951:/system/framework/android.test.base.jar*1628045882:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk*3488107038:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk!classes2.dex*3802597924:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk!classes3.dex*1113348705:/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk!classes4.dex*1609470516:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk*4280308006:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes2.dex*2341650508:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes3.dex*2242498629:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes4.dex*1939924932:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes5.dex*3428091317:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes6.dex*1896867339:/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.apk!classes7.dex*616740603]) +12-09 14:42:23.194 20479 20479 W ziparchive: Unable to open '/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.dm': No such file or directory +12-09 14:42:23.194 20479 20479 W ziparchive: Unable to open '/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.dm': No such file or directory +12-09 14:42:23.244 20479 20479 W ziparchive: Unable to open '/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.dm': No such file or directory +12-09 14:42:23.244 20479 20479 W ziparchive: Unable to open '/data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/base.dm': No such file or directory +12-09 14:42:23.315 20479 20479 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true +12-09 14:42:23.316 20479 20479 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true +12-09 14:42:23.320 20479 20479 I MonitoringInstr: Instrumentation started! +12-09 14:42:23.322 20479 20479 V TestEventClient: No service name argument was given (testDiscoveryService, testRunEventService or orchestratorService) +12-09 14:42:23.324 20479 20479 V fb-UnpackingSoSource: locked dso store /data/user/0/com.awesomeproject/lib-main +12-09 14:42:23.324 20479 20479 V fb-UnpackingSoSource: deps mismatch on deps store: regenerating +12-09 14:42:23.324 20479 20479 V fb-UnpackingSoSource: so store dirty: regenerating +12-09 14:42:23.334 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libc++_shared.so: deferring to libdir +12-09 14:42:23.335 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libevent-2.1.so: deferring to libdir +12-09 14:42:23.335 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libevent_core-2.1.so: deferring to libdir +12-09 14:42:23.335 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libevent_extra-2.1.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfabricjni.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfb.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfbjni.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libflipper.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfolly_runtime.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libglog.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libglog_init.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libimagepipeline.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsc.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjscexecutor.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsi.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsijniprofiler.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsinspector.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/liblogger.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libmapbufferjni.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libnative-filters.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libnative-imagetranscoder.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_codegen_rncore.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_config.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_debug.so: deferring to libdir +12-09 14:42:23.336 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_nativemodule_core.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_animations.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_attributedstring.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_componentregistry.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_core.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_debug.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_graphics.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_imagemanager.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_leakchecker.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_mapbuffer.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_mounting.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_runtimescheduler.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_scheduler.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_telemetry.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_templateprocessor.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_textlayoutmanager.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_uimanager.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_utils.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactnativeblob.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactnativejni.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactperfloggerjni.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librnupdate.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_image.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_root.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_scrollview.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_text.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_textinput.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_unimplementedview.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_view.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libruntimeexecutor.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libturbomodulejsijni.so: deferring to libdir +12-09 14:42:23.337 20479 20479 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libyoga.so: deferring to libdir +12-09 14:42:23.337 20479 20479 V fb-UnpackingSoSource: regenerating DSO store com.facebook.soloader.ApkSoSource +12-09 14:42:23.337 20479 20479 V fb-UnpackingSoSource: Finished regenerating DSO store com.facebook.soloader.ApkSoSource +12-09 14:42:23.337 20479 20479 V fb-UnpackingSoSource: starting syncer worker +12-09 14:42:23.340 20479 20479 V fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.awesomeproject/lib-main (from syncer thread) +12-09 14:42:23.340 20479 20479 V fb-UnpackingSoSource: not releasing dso store lock for /data/user/0/com.awesomeproject/lib-main (syncer thread started) +12-09 14:42:23.343 20479 20479 D SoLoader: libjscexecutor.so not found on /data/data/com.awesomeproject/lib-main +12-09 14:42:23.343 20479 20479 D SoLoader: libjscexecutor.so found on /data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/lib/arm64 +12-09 14:42:23.343 20479 20479 D SoLoader: Not resolving dependencies for libjscexecutor.so +12-09 14:42:23.350 20479 20479 D JavaScriptCore.Version: 250230.2.1 +12-09 14:42:23.375 20479 20501 D SoLoader: libfbjni.so not found on /data/data/com.awesomeproject/lib-main +12-09 14:42:23.376 20479 20501 D SoLoader: libfbjni.so found on /data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/lib/arm64 +12-09 14:42:23.376 20479 20501 D SoLoader: Not resolving dependencies for libfbjni.so +12-09 14:42:23.376 20479 20501 D SoLoader: libflipper.so not found on /data/data/com.awesomeproject/lib-main +12-09 14:42:23.376 20479 20501 D SoLoader: libflipper.so found on /data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/lib/arm64 +12-09 14:42:23.376 20479 20501 D SoLoader: Not resolving dependencies for libflipper.so +12-09 14:42:23.392 20479 20506 D TrafficStats: tagSocket(94) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:23.394 20479 20505 D TrafficStats: tagSocket(73) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:23.417 20479 20479 W .awesomeproject: Accessing hidden field Landroid/view/View;->mKeyedTags:Landroid/util/SparseArray; (unsupported, reflection, allowed) +12-09 14:42:23.419 20479 20479 W .awesomeproject: Accessing hidden field Landroid/view/View;->mListenerInfo:Landroid/view/View$ListenerInfo; (unsupported, reflection, allowed) +12-09 14:42:23.419 20479 20479 W .awesomeproject: Accessing hidden field Landroid/view/View$ListenerInfo;->mOnClickListener:Landroid/view/View$OnClickListener; (unsupported, reflection, allowed) +12-09 14:42:23.421 20479 20479 I flipper : flipper: FlipperClient::addPlugin Inspector +12-09 14:42:23.421 20479 20479 I flipper : flipper: FlipperClient::addPlugin React +12-09 14:42:23.421 20479 20479 I flipper : flipper: FlipperClient::addPlugin Databases +12-09 14:42:23.421 20479 20479 I flipper : flipper: FlipperClient::addPlugin Preferences +12-09 14:42:23.421 20479 20479 I flipper : flipper: FlipperClient::addPlugin CrashReporter +12-09 14:42:23.422 20479 20479 I flipper : flipper: FlipperClient::addPlugin Network +12-09 14:42:23.433 20479 20496 I UsageTrackerFacilitator: Usage tracking enabled +12-09 14:42:23.434 20479 20496 I TestRequestBuilder: Scanning classpath to find tests in paths [/data/app/~~R6aC-CFkvZ4rMQCulaSKZw==/com.awesomeproject.test-CZ6b6zb4B0IQtWld4WWUew==/base.apk] +12-09 14:42:23.435 20479 20496 W .awesomeproject: Opening an oat file without a class loader. Are you using the deprecated DexFile APIs? +12-09 14:42:23.526 20479 20500 W System.err: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". +12-09 14:42:23.607 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/AccessibilityHierarchyCheckResult; annotation class 6432 +12-09 14:42:23.607 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/AccessibilityHierarchyCheckResult; annotation class 6432 +12-09 14:42:23.607 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/AccessibilityHierarchyCheckResult; annotation class 6432 +12-09 14:42:23.607 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/AccessibilityHierarchyCheckResult; annotation class 6432 +12-09 14:42:23.608 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/AccessibilityViewCheckResult; annotation class 6432 +12-09 14:42:23.608 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/ClusteringUtils; annotation class 6432 +12-09 14:42:23.608 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/Question; annotation class 6432 +12-09 14:42:23.610 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/replacements/TextUtils; annotation class 6431 +12-09 14:42:23.611 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:42:23.611 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:42:23.611 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:42:23.612 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:42:23.612 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElementAndroid; annotation class 6432 +12-09 14:42:23.612 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElementAndroid; annotation class 6432 +12-09 14:42:23.612 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElementAndroid; annotation class 6432 +12-09 14:42:23.612 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElementAndroid; annotation class 6432 +12-09 14:42:23.612 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:42:23.612 20479 20496 W .awesomeproject: Unable to resolve Lcom/google/android/apps/common/testing/accessibility/framework/uielement/ViewHierarchyElement; annotation class 6432 +12-09 14:42:23.627 20479 20500 W System.err: SLF4J: Defaulting to no-operation (NOP) logger implementation +12-09 14:42:23.631 20479 20500 W System.err: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. +12-09 14:42:23.675 20479 20526 D TrafficStats: tagSocket(96) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:23.802 20479 20496 D TestExecutor: Adding listener androidx.test.internal.runner.listener.LogRunListener +12-09 14:42:23.803 20479 20496 D TestExecutor: Adding listener androidx.test.internal.runner.listener.InstrumentationResultPrinter +12-09 14:42:23.803 20479 20496 D TestExecutor: Adding listener androidx.test.internal.runner.listener.ActivityFinisherRunListener +12-09 14:42:23.803 20479 20496 I TestRunner: run started: 1 tests +12-09 14:42:23.804 20479 20496 I TestRunner: started: runDetoxTests(com.awesomeproject.DetoxTest) +12-09 14:42:23.808 20479 20496 D EventInjectionStrategy: Creating injection strategy with input manager. +12-09 14:42:23.808 20479 20496 W .awesomeproject: Accessing hidden method Landroid/hardware/input/InputManager;->getInstance()Landroid/hardware/input/InputManager; (unsupported, reflection, allowed) +12-09 14:42:23.808 20479 20496 W .awesomeproject: Accessing hidden method Landroid/hardware/input/InputManager;->injectInputEvent(Landroid/view/InputEvent;I)Z (unsupported, reflection, allowed) +12-09 14:42:23.808 20479 20496 W .awesomeproject: Accessing hidden field Landroid/hardware/input/InputManager;->INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH:I (unsupported, reflection, allowed) +12-09 14:42:23.810 20479 20496 W .awesomeproject: Accessing hidden field Ljava/lang/reflect/Field;->accessFlags:I (unsupported, reflection, allowed) +12-09 14:42:23.832 20479 20531 D libEGL : loaded /vendor/lib64/egl/libEGL_emulation.so +12-09 14:42:23.841 20479 20531 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so +12-09 14:42:23.881 20479 20479 D LifecycleMonitor: Lifecycle status change: com.awesomeproject.MainActivity@10bff7d in: PRE_ON_CREATE +12-09 14:42:23.905 20479 20479 W .awesomeproject: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed) +12-09 14:42:23.907 20479 20479 W .awesomeproject: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed) +12-09 14:42:23.908 20479 20479 D LifecycleMonitor: Lifecycle status change: com.awesomeproject.MainActivity@10bff7d in: CREATED +12-09 14:42:23.908 20479 20479 D LifecycleMonitor: Lifecycle status change: com.awesomeproject.MainActivity@10bff7d in: STARTED +12-09 14:42:23.910 20479 20531 D libEGL : loaded /vendor/lib64/egl/libGLESv2_emulation.so +12-09 14:42:23.911 20479 20479 D LifecycleMonitor: Lifecycle status change: com.awesomeproject.MainActivity@10bff7d in: RESUMED +12-09 14:42:23.919 20479 20479 W unknown:ReactNative: Packager connection already open, nooping. +12-09 14:42:23.931 20479 20534 D TrafficStats: tagSocket(102) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:23.972 20479 20530 D HostConnection: createUnique: call +12-09 14:42:23.974 20479 20530 D HostConnection: HostConnection::get() New Host Connection established 0xb4000077d3ba7910, tid 20530 +12-09 14:42:23.992 20479 20530 D HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma ANDROID_EMU_hwc_multi_configs GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 +12-09 14:42:23.995 20479 20530 W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... +12-09 14:42:23.995 20479 20530 W OpenGLRenderer: Failed to initialize 101010-2 format, error = EGL_SUCCESS +12-09 14:42:24.005 20479 20530 D EGL_emulation: eglCreateContext: 0xb4000077d3ba6c50: maj 3 min 0 rcv 3 +12-09 14:42:24.008 20479 20530 D EGL_emulation: eglMakeCurrent: 0xb4000077d3ba6c50: ver 3 0 (tinfo 0x79f25a4080) (first time) +12-09 14:42:24.020 20479 20530 I Gralloc4: mapper 4.x is not supported +12-09 14:42:24.023 20479 20530 D HostConnection: createUnique: call +12-09 14:42:24.023 20479 20530 D HostConnection: HostConnection::get() New Host Connection established 0xb4000077d3ba7a90, tid 20530 +12-09 14:42:24.024 20479 20530 D goldfish-address-space: allocate: Ask for block of size 0x100 +12-09 14:42:24.024 20479 20530 D goldfish-address-space: allocate: ioctl allocate returned offset 0x1efff8000 size 0x8000 +12-09 14:42:24.024 20479 20530 W Gralloc4: allocator 4.x is not supported +12-09 14:42:24.028 20479 20530 D HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma ANDROID_EMU_hwc_multi_configs GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 +12-09 14:42:24.061 20479 20530 W Parcel : Expecting binder but got null! +12-09 14:42:24.076 20479 20479 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10186; state: DISABLED +12-09 14:42:24.076 20479 20479 D CompatibilityChangeReporter: Compat change id reported: 37756858; UID 10186; state: ENABLED +12-09 14:42:24.110 20479 20534 W unknown:ReactNative: Could not parse DebugServerException from: {"originModulePath":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js","targetModuleName":"react-native-update","message":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m","errors":[{"description":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m"}],"name":"Error","stack":"Error: Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m\n at ModuleResolver.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:158:15)\n at DependencyGraph.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph.js:231:43)\n at Object.resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/lib/transformHelpers.js:129:24)\n at resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/DeltaBundler/traverseDependencies.js:396:33)\n at /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/ +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: org.json.JSONException: No value for filename +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at org.json.JSONObject.get(JSONObject.java:398) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at org.json.JSONObject.getString(JSONObject.java:559) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at com.facebook.react.common.DebugServerException.parse(DebugServerException.java:77) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processBundleResult(BundleDownloader.java:251) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$200(BundleDownloader.java:34) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$2.onChunkComplete(BundleDownloader.java:193) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.emitChunk(MultipartStreamReader.java:70) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.readAllParts(MultipartStreamReader.java:152) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processMultipartResponse(BundleDownloader.java:177) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$100(BundleDownloader.java:34) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$1.onResponse(BundleDownloader.java:147) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) +12-09 14:42:24.115 20479 20534 W unknown:ReactNative: at java.lang.Thread.run(Thread.java:1012) +12-09 14:42:24.120 20479 20530 W Parcel : Expecting binder but got null! +12-09 14:42:24.142 20479 20534 E unknown:ReactNative: Unable to download JS bundle +12-09 14:42:24.142 20479 20534 E unknown:ReactNative: com.facebook.react.common.DebugServerException: The development server returned response error code: 500 +12-09 14:42:24.142 20479 20534 E unknown:ReactNative: +12-09 14:42:24.142 20479 20534 E unknown:ReactNative: URL: http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.awesomeproject&modulesOnly=false&runModule=true +12-09 14:42:24.142 20479 20534 E unknown:ReactNative: +12-09 14:42:24.142 20479 20534 E unknown:ReactNative: Body: +12-09 14:42:24.144 20479 20534 E unknown:ReactNative: {"originModulePath":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js","targetModuleName":"react-native-update","message":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m","errors":[{"description":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m"}],"name":"Error","stack":"Error: Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m\n at ModuleResolver.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:158:15)\n at DependencyGraph.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph.js:231:43)\n at Object.resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/lib/transformHelpers.js:129:24)\n at resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/DeltaBundler/traverseDependencies.js:396:33)\n at /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/DeltaBundler/traverseDependencies +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processBundleResult(BundleDownloader.java:264) +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$200(BundleDownloader.java:34) +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$2.onChunkComplete(BundleDownloader.java:193) +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.emitChunk(MultipartStreamReader.java:70) +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.readAllParts(MultipartStreamReader.java:152) +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processMultipartResponse(BundleDownloader.java:177) +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$100(BundleDownloader.java:34) +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$1.onResponse(BundleDownloader.java:147) +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519) +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) +12-09 14:42:24.146 20479 20534 E unknown:ReactNative: at java.lang.Thread.run(Thread.java:1012) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: Exception in native call +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: com.facebook.react.common.DebugServerException: The development server returned response error code: 500 +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: URL: http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.awesomeproject&modulesOnly=false&runModule=true +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: Body: +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: {"originModulePath":"/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js","targetModuleName":"react-native-update","message":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m","errors":[{"description":"Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m"}],"name":"Error","stack":"Error: Unable to resolve module react-native-update from /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/src/index.js: react-native-update could not be found within the project or in these directories:\n node_modules\n ../../node_modules\n ../../../../../node_modules\n\u001b[0m \u001b[90m 23 |\u001b[39m downloadAndInstallApk\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 24 |\u001b[39m cInfo\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 25 |\u001b[39m } \u001b[36mfrom\u001b[39m \u001b[32m'react-native-update'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 26 |\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 27 |\u001b[39m \u001b[36mimport\u001b[39m \u001b[33mTestConsole\u001b[39m \u001b[36mfrom\u001b[39m \u001b[32m'./TestConsole'\u001b[39m\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 28 |\u001b[39m\u001b[0m\n at ModuleResolver.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:158:15)\n at DependencyGraph.resolveDependency (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/node-haste/DependencyGraph.js:231:43)\n at Object.resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/lib/transformHelpers.js:129:24)\n at resolve (/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/DeltaBundler/traverseDependencies.js:396:33)\n at /Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/node_modules/metro/src/DeltaBundler/traverseDependencies +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processBundleResult(BundleDownloader.java:264) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$200(BundleDownloader.java:34) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$2.onChunkComplete(BundleDownloader.java:193) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.emitChunk(MultipartStreamReader.java:70) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at com.facebook.react.devsupport.MultipartStreamReader.readAllParts(MultipartStreamReader.java:152) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.processMultipartResponse(BundleDownloader.java:177) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader.access$100(BundleDownloader.java:34) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at com.facebook.react.devsupport.BundleDownloader$1.onResponse(BundleDownloader.java:147) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) +12-09 14:42:24.156 20479 20479 E unknown:ReactNative: at java.lang.Thread.run(Thread.java:1012) +12-09 14:42:24.158 20479 20479 D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10186; state: ENABLED +12-09 14:42:24.220 20479 20530 W Parcel : Expecting binder but got null! +12-09 14:42:24.256 20479 20496 I Detox : Detox server connection details: url=ws://localhost:56416, sessionId=f4aa1b39-7f49-6a1e-2016-8fceba85b11b +12-09 14:42:24.260 20479 20542 I DetoxDispatcher: Handling action '_init' (ID #0)... +12-09 14:42:24.261 20479 20542 I Detox : Connecting to server... +12-09 14:42:24.261 20479 20542 I DetoxWSClient: At connectToServer +12-09 14:42:24.272 20479 20544 D TrafficStats: tagSocket(146) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:24.278 20479 20544 D DetoxWSClient: At onOpen +12-09 14:42:24.278 20479 20544 I DetoxWSClient: Sending out action 'login' (ID #0) +12-09 14:42:24.281 20479 20544 I Detox : Connected to server! +12-09 14:42:24.286 20479 20544 D DetoxWSClient: Received action 'loginSuccess' (ID #0, params={"testerConnected":true,"appConnected":true}) +12-09 14:42:24.287 20479 20544 D DetoxWSClient: Received action 'isReady' (ID #-1000, params={}) +12-09 14:42:24.413 20479 20505 D SoLoader: libreactnativejni.so not found on /data/data/com.awesomeproject/lib-main +12-09 14:42:24.413 20479 20505 D SoLoader: libreactnativejni.so found on /data/app/~~nor3xECowNstcCaNgZMqcA==/com.awesomeproject-XMs4tnOIKVIebcwvA5vvUA==/lib/arm64 +12-09 14:42:24.413 20479 20505 D SoLoader: Not resolving dependencies for libreactnativejni.so +12-09 14:42:25.689 20479 20548 D TrafficStats: tagSocket(150) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:25.821 20479 20530 D EGL_emulation: app_time_stats: avg=399.97ms min=4.14ms max=1335.74ms count=4 +12-09 14:42:27.702 20479 20550 D TrafficStats: tagSocket(128) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:29.758 20479 20552 D TrafficStats: tagSocket(128) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:34.286 20479 20544 D DetoxWSClient: Received action 'currentStatus' (ID #1, params={}) +12-09 14:42:34.287 20479 20543 I DetoxDispatcher: Handling action 'currentStatus' (ID #1)... +12-09 14:42:39.816 20479 20566 D TrafficStats: tagSocket(144) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:41.834 20479 20569 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:43.844 20479 20574 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:45.855 20479 20586 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:55.896 20479 20592 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:57.909 20479 20594 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:42:59.922 20479 20596 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:43:01.932 20479 20598 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:43:11.978 20479 20604 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:43:13.989 20479 20606 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:43:15.999 20479 20608 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:43:18.009 20479 20610 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:43:28.068 20479 20616 D TrafficStats: tagSocket(99) with statsTag=0xffffffff, statsUid=-1 +12-09 14:43:30.082 20479 20618 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:43:32.093 20479 20620 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:43:34.105 20479 20622 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:43:44.152 20479 20629 D TrafficStats: tagSocket(5) with statsTag=0xffffffff, statsUid=-1 +12-09 14:43:46.159 20479 206 \ No newline at end of file diff --git a/Example/testHotUpdate/cache/test-butler-app.apk b/Example/testHotUpdate/cache/test-butler-app.apk deleted file mode 100644 index 105e06e..0000000 Binary files a/Example/testHotUpdate/cache/test-butler-app.apk and /dev/null differ diff --git a/Example/testHotUpdate/e2e/NativeModule.test.ts b/Example/testHotUpdate/e2e/NativeModule.test.ts index 00fdee8..428fee6 100644 --- a/Example/testHotUpdate/e2e/NativeModule.test.ts +++ b/Example/testHotUpdate/e2e/NativeModule.test.ts @@ -1,5 +1,4 @@ -import {by, device, element, expect} from 'detox'; - +import {by, device, element, expect, waitFor} from 'detox'; describe('测试Native模块的方法', () => { beforeAll(async () => { await device.launchApp(); @@ -7,83 +6,118 @@ describe('测试Native模块的方法', () => { it('setLocalHashInfo', async () => { await element(by.id('testcase')).longPress(); - await element(by.id('setLocalHashInfo')).tap(); - await element(by.id('submit')).tap(); - await expect(element(by.text('done'))).toBeVisible(); - await element(by.text('OK')).tap(); + await element(by.id('setLocalHashInfo')).longPress(); + await element(by.id('submit')).longPress(); + await expect(element(by.id('done'))).toBeVisible(); + await element(by.id('done')).longPress(); + await expect(element(by.id('done'))).toBeNotVisible(); }); it('getLocalHashInfo', async () => { - await element(by.id('getLocalHashInfo')).tap(); - await element(by.id('submit')).tap(); + await element(by.id('getLocalHashInfo')).longPress(); + await element(by.id('submit')).longPress(); await expect(element(by.text('done'))).toBeVisible(); - await element(by.text('OK')).tap(); + await element(by.id('done')).longPress(); + await expect(element(by.id('done'))).toBeNotVisible(); }); it('setUuid', async () => { - await element(by.id('setUuid')).tap(); - await element(by.id('submit')).tap(); + await element(by.id('setUuid')).longPress(); + await element(by.id('submit')).longPress(); await expect(element(by.text('done'))).toBeVisible(); - await element(by.text('OK')).tap(); + await element(by.id('done')).longPress(); + await expect(element(by.id('done'))).toBeNotVisible(); }); it('setBlockUpdate', async () => { - await element(by.id('setBlockUpdate')).tap(); - await element(by.id('submit')).tap(); + await element(by.id('setBlockUpdate')).longPress(); + await element(by.id('submit')).longPress(); await expect(element(by.text('done'))).toBeVisible(); - await element(by.text('OK')).tap(); + await element(by.id('done')).longPress(); + await expect(element(by.id('done'))).toBeNotVisible(); }); - - // it('reloadUpdate', async () => { - // await element(by.id('reloadUpdate')).tap(); - // await element(by.id('submit')).tap(); - // await expect(element(by.text('刚刚更新失败了,版本被回滚.'))).toBeVisible(); - // await element(by.text('OK')).tap(); - // }); + if (device.getPlatform() === 'android') { + it('reloadUpdate', async () => { + await element(by.id('reloadUpdate')).longPress(); + await element(by.id('submit')).longPress(); + await waitFor(element(by.text('确认'))) + .toBeVisible() + .withTimeout(10000); + await element(by.id('done')).longPress(); + await expect(element(by.id('done'))).toBeNotVisible(); + }); + } it('setNeedUpdate', async () => { - // await element(by.id('testcase')).longPress(); - await element(by.id('setNeedUpdate')).tap(); - await element(by.id('submit')).tap(); + await element(by.id('setNeedUpdate')).longPress(); + await element(by.id('submit')).longPress(); await expect(element(by.text('done'))).toBeVisible(); - await element(by.text('OK')).tap(); + await element(by.id('done')).longPress(); + await expect(element(by.id('done'))).toBeNotVisible(); }); - it('markSuccess', async () => { - await element(by.id('markSuccess')).tap(); - await element(by.id('submit')).tap(); - await expect(element(by.text('done'))).toBeVisible(); - await element(by.text('OK')).tap(); - }); + if (device.getPlatform() === 'android') { + it('markSuccess', async () => { + await element(by.id('markSuccess')).longPress(); + await element(by.id('submit')).longPress(); + await waitFor(element(by.text('确认'))) + .toBeVisible() + .withTimeout(10000); + await element(by.id('done')).longPress(); + }); + } it('downloadPatchFromPpk', async () => { - await element(by.id('downloadPatchFromPpk')).tap(); - await element(by.id('submit')).tap(); - await expect(element(by.text('failed to open zip file'))).toBeVisible(); - await element(by.text('OK')).tap(); + await element(by.id('downloadPatchFromPpk')).longPress(); + await element(by.id('submit')).longPress(); + if (device.getPlatform() === 'ios') { + await expect(element(by.text('failed to open zip file'))).toBeVisible(); + } else { + await waitFor(element(by.text('确认'))) + .toBeVisible() + .withTimeout(10000); + } + await element(by.id('done')).longPress(); + await expect(element(by.id('done'))).toBeNotVisible(); }); it('downloadPatchFromPackage', async () => { - await element(by.id('downloadPatchFromPackage')).tap(); - await element(by.id('submit')).tap(); - await expect(element(by.text('failed to open zip file'))).toBeVisible(); - await element(by.text('OK')).tap(); + await element(by.id('downloadPatchFromPackage')).longPress(); + await element(by.id('submit')).longPress(); + if (device.getPlatform() === 'ios') { + await expect(element(by.text('failed to open zip file'))).toBeVisible(); + } else { + await waitFor(element(by.text('确认'))) + .toBeVisible() + .withTimeout(10000); + } + await element(by.id('done')).longPress(); + await expect(element(by.id('done'))).toBeNotVisible(); }); it('downloadFullUpdate', async () => { - await element(by.id('downloadFullUpdate')).tap(); - await element(by.id('submit')).tap(); - await expect(element(by.text('failed to open zip file'))).toBeVisible(); - await element(by.text('OK')).tap(); + await element(by.id('downloadFullUpdate')).longPress(); + await element(by.id('submit')).longPress(); + if (device.getPlatform() === 'ios') { + await expect(element(by.text('failed to open zip file'))).toBeVisible(); + } else { + await waitFor(element(by.text('确认'))) + .toBeVisible() + .withTimeout(10000); + } + await element(by.id('done')).longPress(); + await expect(element(by.id('done'))).toBeNotVisible(); }); if (device.getPlatform() === 'android') { it('downloadAndInstallApk', async () => { - await element(by.id('testcase')).longPress(); - await element(by.id('downloadAndInstallApk')).tap(); - await element(by.id('submit')).tap(); - await expect(element(by.text('failed to open zip file'))).toBeVisible(); - await element(by.text('OK')).tap(); + await element(by.id('downloadAndInstallApk')).longPress(); + await element(by.id('submit')).longPress(); + await waitFor(element(by.text('确认'))) + .toBeVisible() + .withTimeout(10000); + await element(by.id('done')).longPress(); + await expect(element(by.id('done'))).toBeNotVisible(); }); } }); diff --git a/Example/testHotUpdate/e2e/globalSetup.ts b/Example/testHotUpdate/e2e/globalSetup.ts deleted file mode 100644 index 642d371..0000000 --- a/Example/testHotUpdate/e2e/globalSetup.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { execSync } from 'child_process'; - -import { pathExists, ensureDir } from 'fs-extra'; - -import { resolveConfig } from 'detox/internals'; -import { globalSetup } from 'detox/runners/jest'; - -export default async function customGlobalSetup() { - const config = await resolveConfig(); - if (config.device.type === 'android.emulator') { - await downloadTestButlerAPK(); - } - - await globalSetup(); -} - -async function downloadTestButlerAPK() { - const version = '2.2.1'; - const artifactUrl = `https://repo1.maven.org/maven2/com/linkedin/testbutler/test-butler-app/${version}/test-butler-app-${version}.apk`; - const filePath = `cache/test-butler-app.apk`; - - await ensureDir('cache'); - if (!(await pathExists(filePath))) { - console.log(`\nDownloading Test-Butler APK v${version}...`); - execSync(`curl -f -o ${filePath} ${artifactUrl}`); - } -} - -module.exports = customGlobalSetup; diff --git a/Example/testHotUpdate/e2e/jest.config.js b/Example/testHotUpdate/e2e/jest.config.js index 0487102..2a2819d 100644 --- a/Example/testHotUpdate/e2e/jest.config.js +++ b/Example/testHotUpdate/e2e/jest.config.js @@ -1,16 +1,16 @@ -/** @type {import('jest').Config} */ +/** @type {import('@jest/types').Config.InitialOptions} */ module.exports = { - maxWorkers: 1, - globalSetup: './globalSetup.ts', - globalTeardown: 'detox/runners/jest/globalTeardown', - testEnvironment: 'detox/runners/jest/testEnvironment', - setupFilesAfterEnv: ['./setup.ts'], - testRunner: 'jest-circus/runner', + rootDir: '..', + testMatch: ['/e2e/**/*.test.js'], testTimeout: 120000, + maxWorkers: 1, testMatch: ['**/*.test.ts'], transform: { '\\.tsx?$': 'ts-jest', }, + globalSetup: 'detox/runners/jest/globalSetup', + globalTeardown: 'detox/runners/jest/globalTeardown', reporters: ['detox/runners/jest/reporter'], + testEnvironment: 'detox/runners/jest/testEnvironment', verbose: true, }; diff --git a/Example/testHotUpdate/e2e/setup.ts b/Example/testHotUpdate/e2e/setup.ts deleted file mode 100644 index a4e12aa..0000000 --- a/Example/testHotUpdate/e2e/setup.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { device } from 'detox'; - -beforeAll(async () => { - await device.launchApp(); -}); diff --git a/Example/testHotUpdate/ios/testHotUpdate.xcodeproj/project.pbxproj b/Example/testHotUpdate/ios/AwesomeProject.xcodeproj/project.pbxproj similarity index 72% rename from Example/testHotUpdate/ios/testHotUpdate.xcodeproj/project.pbxproj rename to Example/testHotUpdate/ios/AwesomeProject.xcodeproj/project.pbxproj index 1d04798..9179f7c 100644 --- a/Example/testHotUpdate/ios/testHotUpdate.xcodeproj/project.pbxproj +++ b/Example/testHotUpdate/ios/AwesomeProject.xcodeproj/project.pbxproj @@ -7,12 +7,12 @@ objects = { /* Begin PBXBuildFile section */ - 00E356F31AD99517003FC87E /* testHotupdateTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* testHotupdateTests.m */; }; - 0C80B921A6F3F58F76C31292 /* libPods-testHotupdate.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-testHotupdate.a */; }; + 00E356F31AD99517003FC87E /* AwesomeProjectTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* AwesomeProjectTests.m */; }; + 0C80B921A6F3F58F76C31292 /* libPods-AwesomeProject.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-AwesomeProject.a */; }; 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; - 7699B88040F8A987B510C191 /* libPods-testHotupdate-testHotupdateTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-testHotupdate-testHotupdateTests.a */; }; + 7699B88040F8A987B510C191 /* libPods-AwesomeProject-AwesomeProjectTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-AwesomeProject-AwesomeProjectTests.a */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; /* End PBXBuildFile section */ @@ -22,27 +22,27 @@ containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; proxyType = 1; remoteGlobalIDString = 13B07F861A680F5B00A75B9A; - remoteInfo = testHotupdate; + remoteInfo = AwesomeProject; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 00E356EE1AD99517003FC87E /* testHotupdateTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = testHotupdateTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 00E356EE1AD99517003FC87E /* AwesomeProjectTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AwesomeProjectTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 00E356F21AD99517003FC87E /* testHotupdateTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = testHotupdateTests.m; sourceTree = ""; }; - 13B07F961A680F5B00A75B9A /* testHotupdate.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testHotupdate.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = testHotupdate/AppDelegate.h; sourceTree = ""; }; - 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = testHotupdate/AppDelegate.mm; sourceTree = ""; }; - 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = testHotupdate/Images.xcassets; sourceTree = ""; }; - 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = testHotupdate/Info.plist; sourceTree = ""; }; - 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = testHotupdate/main.m; sourceTree = ""; }; - 19F6CBCC0A4E27FBF8BF4A61 /* libPods-testHotupdate-testHotupdateTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-testHotupdate-testHotupdateTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B4392A12AC88292D35C810B /* Pods-testHotupdate.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-testHotupdate.debug.xcconfig"; path = "Target Support Files/Pods-testHotupdate/Pods-testHotupdate.debug.xcconfig"; sourceTree = ""; }; - 5709B34CF0A7D63546082F79 /* Pods-testHotupdate.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-testHotupdate.release.xcconfig"; path = "Target Support Files/Pods-testHotupdate/Pods-testHotupdate.release.xcconfig"; sourceTree = ""; }; - 5B7EB9410499542E8C5724F5 /* Pods-testHotupdate-testHotupdateTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-testHotupdate-testHotupdateTests.debug.xcconfig"; path = "Target Support Files/Pods-testHotupdate-testHotupdateTests/Pods-testHotupdate-testHotupdateTests.debug.xcconfig"; sourceTree = ""; }; - 5DCACB8F33CDC322A6C60F78 /* libPods-testHotupdate.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-testHotupdate.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = testHotupdate/LaunchScreen.storyboard; sourceTree = ""; }; - 89C6BE57DB24E9ADA2F236DE /* Pods-testHotupdate-testHotupdateTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-testHotupdate-testHotupdateTests.release.xcconfig"; path = "Target Support Files/Pods-testHotupdate-testHotupdateTests/Pods-testHotupdate-testHotupdateTests.release.xcconfig"; sourceTree = ""; }; + 00E356F21AD99517003FC87E /* AwesomeProjectTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AwesomeProjectTests.m; sourceTree = ""; }; + 13B07F961A680F5B00A75B9A /* AwesomeProject.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AwesomeProject.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = AwesomeProject/AppDelegate.h; sourceTree = ""; }; + 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = AwesomeProject/AppDelegate.mm; sourceTree = ""; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = AwesomeProject/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = AwesomeProject/Info.plist; sourceTree = ""; }; + 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = AwesomeProject/main.m; sourceTree = ""; }; + 19F6CBCC0A4E27FBF8BF4A61 /* libPods-AwesomeProject-AwesomeProjectTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AwesomeProject-AwesomeProjectTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 3B4392A12AC88292D35C810B /* Pods-AwesomeProject.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwesomeProject.debug.xcconfig"; path = "Target Support Files/Pods-AwesomeProject/Pods-AwesomeProject.debug.xcconfig"; sourceTree = ""; }; + 5709B34CF0A7D63546082F79 /* Pods-AwesomeProject.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwesomeProject.release.xcconfig"; path = "Target Support Files/Pods-AwesomeProject/Pods-AwesomeProject.release.xcconfig"; sourceTree = ""; }; + 5B7EB9410499542E8C5724F5 /* Pods-AwesomeProject-AwesomeProjectTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwesomeProject-AwesomeProjectTests.debug.xcconfig"; path = "Target Support Files/Pods-AwesomeProject-AwesomeProjectTests/Pods-AwesomeProject-AwesomeProjectTests.debug.xcconfig"; sourceTree = ""; }; + 5DCACB8F33CDC322A6C60F78 /* libPods-AwesomeProject.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AwesomeProject.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = AwesomeProject/LaunchScreen.storyboard; sourceTree = ""; }; + 89C6BE57DB24E9ADA2F236DE /* Pods-AwesomeProject-AwesomeProjectTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwesomeProject-AwesomeProjectTests.release.xcconfig"; path = "Target Support Files/Pods-AwesomeProject-AwesomeProjectTests/Pods-AwesomeProject-AwesomeProjectTests.release.xcconfig"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; /* End PBXFileReference section */ @@ -51,7 +51,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 7699B88040F8A987B510C191 /* libPods-testHotupdate-testHotupdateTests.a in Frameworks */, + 7699B88040F8A987B510C191 /* libPods-AwesomeProject-AwesomeProjectTests.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -59,20 +59,20 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 0C80B921A6F3F58F76C31292 /* libPods-testHotupdate.a in Frameworks */, + 0C80B921A6F3F58F76C31292 /* libPods-AwesomeProject.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 00E356EF1AD99517003FC87E /* testHotupdateTests */ = { + 00E356EF1AD99517003FC87E /* AwesomeProjectTests */ = { isa = PBXGroup; children = ( - 00E356F21AD99517003FC87E /* testHotupdateTests.m */, + 00E356F21AD99517003FC87E /* AwesomeProjectTests.m */, 00E356F01AD99517003FC87E /* Supporting Files */, ); - path = testHotupdateTests; + path = AwesomeProjectTests; sourceTree = ""; }; 00E356F01AD99517003FC87E /* Supporting Files */ = { @@ -83,7 +83,7 @@ name = "Supporting Files"; sourceTree = ""; }; - 13B07FAE1A68108700A75B9A /* testHotupdate */ = { + 13B07FAE1A68108700A75B9A /* AwesomeProject */ = { isa = PBXGroup; children = ( 13B07FAF1A68108700A75B9A /* AppDelegate.h */, @@ -93,15 +93,15 @@ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 13B07FB71A68108700A75B9A /* main.m */, ); - name = testHotupdate; + name = AwesomeProject; sourceTree = ""; }; 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { isa = PBXGroup; children = ( ED297162215061F000B7C4FE /* JavaScriptCore.framework */, - 5DCACB8F33CDC322A6C60F78 /* libPods-testHotupdate.a */, - 19F6CBCC0A4E27FBF8BF4A61 /* libPods-testHotupdate-testHotupdateTests.a */, + 5DCACB8F33CDC322A6C60F78 /* libPods-AwesomeProject.a */, + 19F6CBCC0A4E27FBF8BF4A61 /* libPods-AwesomeProject-AwesomeProjectTests.a */, ); name = Frameworks; sourceTree = ""; @@ -116,9 +116,9 @@ 83CBB9F61A601CBA00E9B192 = { isa = PBXGroup; children = ( - 13B07FAE1A68108700A75B9A /* testHotupdate */, + 13B07FAE1A68108700A75B9A /* AwesomeProject */, 832341AE1AAA6A7D00B99B32 /* Libraries */, - 00E356EF1AD99517003FC87E /* testHotupdateTests */, + 00E356EF1AD99517003FC87E /* AwesomeProjectTests */, 83CBBA001A601CBA00E9B192 /* Products */, 2D16E6871FA4F8E400B85C8A /* Frameworks */, BBD78D7AC51CEA395F1C20DB /* Pods */, @@ -131,8 +131,8 @@ 83CBBA001A601CBA00E9B192 /* Products */ = { isa = PBXGroup; children = ( - 13B07F961A680F5B00A75B9A /* testHotupdate.app */, - 00E356EE1AD99517003FC87E /* testHotupdateTests.xctest */, + 13B07F961A680F5B00A75B9A /* AwesomeProject.app */, + 00E356EE1AD99517003FC87E /* AwesomeProjectTests.xctest */, ); name = Products; sourceTree = ""; @@ -140,10 +140,10 @@ BBD78D7AC51CEA395F1C20DB /* Pods */ = { isa = PBXGroup; children = ( - 3B4392A12AC88292D35C810B /* Pods-testHotupdate.debug.xcconfig */, - 5709B34CF0A7D63546082F79 /* Pods-testHotupdate.release.xcconfig */, - 5B7EB9410499542E8C5724F5 /* Pods-testHotupdate-testHotupdateTests.debug.xcconfig */, - 89C6BE57DB24E9ADA2F236DE /* Pods-testHotupdate-testHotupdateTests.release.xcconfig */, + 3B4392A12AC88292D35C810B /* Pods-AwesomeProject.debug.xcconfig */, + 5709B34CF0A7D63546082F79 /* Pods-AwesomeProject.release.xcconfig */, + 5B7EB9410499542E8C5724F5 /* Pods-AwesomeProject-AwesomeProjectTests.debug.xcconfig */, + 89C6BE57DB24E9ADA2F236DE /* Pods-AwesomeProject-AwesomeProjectTests.release.xcconfig */, ); path = Pods; sourceTree = ""; @@ -151,9 +151,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 00E356ED1AD99517003FC87E /* testHotupdateTests */ = { + 00E356ED1AD99517003FC87E /* AwesomeProjectTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "testHotupdateTests" */; + buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "AwesomeProjectTests" */; buildPhases = ( A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */, 00E356EA1AD99517003FC87E /* Sources */, @@ -167,14 +167,14 @@ dependencies = ( 00E356F51AD99517003FC87E /* PBXTargetDependency */, ); - name = testHotupdateTests; - productName = testHotupdateTests; - productReference = 00E356EE1AD99517003FC87E /* testHotupdateTests.xctest */; + name = AwesomeProjectTests; + productName = AwesomeProjectTests; + productReference = 00E356EE1AD99517003FC87E /* AwesomeProjectTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; - 13B07F861A680F5B00A75B9A /* testHotupdate */ = { + 13B07F861A680F5B00A75B9A /* AwesomeProject */ = { isa = PBXNativeTarget; - buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "testHotupdate" */; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "AwesomeProject" */; buildPhases = ( C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */, FD10A7F022414F080027D42C /* Start Packager */, @@ -189,9 +189,9 @@ ); dependencies = ( ); - name = testHotupdate; - productName = testHotupdate; - productReference = 13B07F961A680F5B00A75B9A /* testHotupdate.app */; + name = AwesomeProject; + productName = AwesomeProject; + productReference = 13B07F961A680F5B00A75B9A /* AwesomeProject.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -211,7 +211,7 @@ }; }; }; - buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "testHotUpdate" */; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "AwesomeProject" */; compatibilityVersion = "Xcode 12.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -224,8 +224,8 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 13B07F861A680F5B00A75B9A /* testHotupdate */, - 00E356ED1AD99517003FC87E /* testHotupdateTests */, + 13B07F861A680F5B00A75B9A /* AwesomeProject */, + 00E356ED1AD99517003FC87E /* AwesomeProjectTests */, ); }; /* End PBXProject section */ @@ -272,15 +272,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-testHotupdate/Pods-testHotupdate-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-AwesomeProject/Pods-AwesomeProject-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-testHotupdate/Pods-testHotupdate-frameworks-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-AwesomeProject/Pods-AwesomeProject-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-testHotupdate/Pods-testHotupdate-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AwesomeProject/Pods-AwesomeProject-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = { @@ -298,7 +298,7 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-testHotupdate-testHotupdateTests-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-AwesomeProject-AwesomeProjectTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -320,7 +320,7 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-testHotupdate-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-AwesomeProject-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -333,15 +333,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-testHotupdate-testHotupdateTests/Pods-testHotupdate-testHotupdateTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-AwesomeProject-AwesomeProjectTests/Pods-AwesomeProject-AwesomeProjectTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-testHotupdate-testHotupdateTests/Pods-testHotupdate-testHotupdateTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-AwesomeProject-AwesomeProjectTests/Pods-AwesomeProject-AwesomeProjectTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-testHotupdate-testHotupdateTests/Pods-testHotupdate-testHotupdateTests-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AwesomeProject-AwesomeProjectTests/Pods-AwesomeProject-AwesomeProjectTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = { @@ -350,15 +350,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-testHotupdate/Pods-testHotupdate-resources-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-AwesomeProject/Pods-AwesomeProject-resources-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-testHotupdate/Pods-testHotupdate-resources-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-AwesomeProject/Pods-AwesomeProject-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-testHotupdate/Pods-testHotupdate-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AwesomeProject/Pods-AwesomeProject-resources.sh\"\n"; showEnvVarsInLog = 0; }; F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = { @@ -367,15 +367,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-testHotupdate-testHotupdateTests/Pods-testHotupdate-testHotupdateTests-resources-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-AwesomeProject-AwesomeProjectTests/Pods-AwesomeProject-AwesomeProjectTests-resources-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-testHotupdate-testHotupdateTests/Pods-testHotupdate-testHotupdateTests-resources-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-AwesomeProject-AwesomeProjectTests/Pods-AwesomeProject-AwesomeProjectTests-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-testHotupdate-testHotupdateTests/Pods-testHotupdate-testHotupdateTests-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AwesomeProject-AwesomeProjectTests/Pods-AwesomeProject-AwesomeProjectTests-resources.sh\"\n"; showEnvVarsInLog = 0; }; FD10A7F022414F080027D42C /* Start Packager */ = { @@ -404,7 +404,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 00E356F31AD99517003FC87E /* testHotupdateTests.m in Sources */, + 00E356F31AD99517003FC87E /* AwesomeProjectTests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -422,7 +422,7 @@ /* Begin PBXTargetDependency section */ 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 13B07F861A680F5B00A75B9A /* testHotupdate */; + target = 13B07F861A680F5B00A75B9A /* AwesomeProject */; targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -430,14 +430,14 @@ /* Begin XCBuildConfiguration section */ 00E356F61AD99517003FC87E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-testHotupdate-testHotupdateTests.debug.xcconfig */; + baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-AwesomeProject-AwesomeProjectTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); - INFOPLIST_FILE = testHotupdateTests/Info.plist; + INFOPLIST_FILE = AwesomeProjectTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 12.4; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -451,17 +451,17 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/testHotupdate.app/testHotupdate"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AwesomeProject.app/AwesomeProject"; }; name = Debug; }; 00E356F71AD99517003FC87E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-testHotupdate-testHotupdateTests.release.xcconfig */; + baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-AwesomeProject-AwesomeProjectTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; - INFOPLIST_FILE = testHotupdateTests/Info.plist; + INFOPLIST_FILE = AwesomeProjectTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 12.4; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -475,31 +475,30 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/testHotupdate.app/testHotupdate"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AwesomeProject.app/AwesomeProject"; }; name = Release; }; 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-testHotupdate.debug.xcconfig */; + baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-AwesomeProject.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; ENABLE_BITCODE = NO; - INFOPLIST_FILE = testHotupdate/Info.plist; + INFOPLIST_FILE = AwesomeProject/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = testHotupdate; + PRODUCT_NAME = AwesomeProject; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; @@ -508,24 +507,23 @@ }; 13B07F951A680F5B00A75B9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-testHotupdate.release.xcconfig */; + baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-AwesomeProject.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; - INFOPLIST_FILE = testHotupdate/Info.plist; + INFOPLIST_FILE = AwesomeProject/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = testHotupdate; + PRODUCT_NAME = AwesomeProject; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; @@ -564,7 +562,7 @@ COPY_PHASE_STRIP = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -636,7 +634,7 @@ COPY_PHASE_STRIP = YES; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -671,7 +669,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "testHotupdateTests" */ = { + 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "AwesomeProjectTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 00E356F61AD99517003FC87E /* Debug */, @@ -680,7 +678,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "testHotupdate" */ = { + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "AwesomeProject" */ = { isa = XCConfigurationList; buildConfigurations = ( 13B07F941A680F5B00A75B9A /* Debug */, @@ -689,7 +687,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "testHotUpdate" */ = { + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "AwesomeProject" */ = { isa = XCConfigurationList; buildConfigurations = ( 83CBBA201A601CBA00E9B192 /* Debug */, diff --git a/Example/testHotUpdate/ios/testHotUpdate.xcodeproj/xcshareddata/xcschemes/testHotUpdate.xcscheme b/Example/testHotUpdate/ios/AwesomeProject.xcodeproj/xcshareddata/xcschemes/AwesomeProject.xcscheme similarity index 79% rename from Example/testHotUpdate/ios/testHotUpdate.xcodeproj/xcshareddata/xcschemes/testHotUpdate.xcscheme rename to Example/testHotUpdate/ios/AwesomeProject.xcodeproj/xcshareddata/xcschemes/AwesomeProject.xcscheme index 2b95121..20f13d1 100644 --- a/Example/testHotUpdate/ios/testHotUpdate.xcodeproj/xcshareddata/xcschemes/testHotUpdate.xcscheme +++ b/Example/testHotUpdate/ios/AwesomeProject.xcodeproj/xcshareddata/xcschemes/AwesomeProject.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "AwesomeProject.app" + BlueprintName = "AwesomeProject" + ReferencedContainer = "container:AwesomeProject.xcodeproj"> @@ -33,9 +33,9 @@ + BuildableName = "AwesomeProjectTests.xctest" + BlueprintName = "AwesomeProjectTests" + ReferencedContainer = "container:AwesomeProject.xcodeproj"> @@ -55,9 +55,9 @@ + BuildableName = "AwesomeProject.app" + BlueprintName = "AwesomeProject" + ReferencedContainer = "container:AwesomeProject.xcodeproj"> @@ -72,9 +72,9 @@ + BuildableName = "AwesomeProject.app" + BlueprintName = "AwesomeProject" + ReferencedContainer = "container:AwesomeProject.xcodeproj"> diff --git a/Example/testHotUpdate/ios/testHotUpdate.xcworkspace/contents.xcworkspacedata b/Example/testHotUpdate/ios/AwesomeProject.xcworkspace/contents.xcworkspacedata similarity index 58% rename from Example/testHotUpdate/ios/testHotUpdate.xcworkspace/contents.xcworkspacedata rename to Example/testHotUpdate/ios/AwesomeProject.xcworkspace/contents.xcworkspacedata index 13d1525..575b862 100644 --- a/Example/testHotUpdate/ios/testHotUpdate.xcworkspace/contents.xcworkspacedata +++ b/Example/testHotUpdate/ios/AwesomeProject.xcworkspace/contents.xcworkspacedata @@ -2,12 +2,9 @@ + location = "group:AwesomeProject.xcodeproj"> - - diff --git a/Example/testHotUpdate/ios/testHotUpdate.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/testHotUpdate/ios/AwesomeProject.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from Example/testHotUpdate/ios/testHotUpdate.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to Example/testHotUpdate/ios/AwesomeProject.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/Example/testHotUpdate/ios/AwesomeProject/AppDelegate.h b/Example/testHotUpdate/ios/AwesomeProject/AppDelegate.h new file mode 100644 index 0000000..ef1de86 --- /dev/null +++ b/Example/testHotUpdate/ios/AwesomeProject/AppDelegate.h @@ -0,0 +1,8 @@ +#import +#import + +@interface AppDelegate : UIResponder + +@property (nonatomic, strong) UIWindow *window; + +@end diff --git a/Example/testHotUpdate/ios/AwesomeProject/AppDelegate.mm b/Example/testHotUpdate/ios/AwesomeProject/AppDelegate.mm new file mode 100644 index 0000000..71edbe9 --- /dev/null +++ b/Example/testHotUpdate/ios/AwesomeProject/AppDelegate.mm @@ -0,0 +1,133 @@ +#import "AppDelegate.h" + +#import +#import +#import + +#import + +#if RCT_NEW_ARCH_ENABLED +#import +#import +#import +#import +#import +#import + +#import + +static NSString *const kRNConcurrentRoot = @"concurrentRoot"; + +@interface AppDelegate () { + RCTTurboModuleManager *_turboModuleManager; + RCTSurfacePresenterBridgeAdapter *_bridgeAdapter; + std::shared_ptr _reactNativeConfig; + facebook::react::ContextContainer::Shared _contextContainer; +} +@end +#endif + +@implementation AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + RCTAppSetupPrepareApp(application); + + RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; + +#if RCT_NEW_ARCH_ENABLED + _contextContainer = std::make_shared(); + _reactNativeConfig = std::make_shared(); + _contextContainer->insert("ReactNativeConfig", _reactNativeConfig); + _bridgeAdapter = [[RCTSurfacePresenterBridgeAdapter alloc] initWithBridge:bridge contextContainer:_contextContainer]; + bridge.surfacePresenter = _bridgeAdapter.surfacePresenter; +#endif + + NSDictionary *initProps = [self prepareInitialProps]; + UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"AwesomeProject", initProps); + + if (@available(iOS 13.0, *)) { + rootView.backgroundColor = [UIColor systemBackgroundColor]; + } else { + rootView.backgroundColor = [UIColor whiteColor]; + } + + self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; + UIViewController *rootViewController = [UIViewController new]; + rootViewController.view = rootView; + self.window.rootViewController = rootViewController; + [self.window makeKeyAndVisible]; + return YES; +} + +/// This method controls whether the `concurrentRoot`feature of React18 is turned on or off. +/// +/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html +/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture). +/// @return: `true` if the `concurrentRoot` feture is enabled. Otherwise, it returns `false`. +- (BOOL)concurrentRootEnabled +{ + // Switch this bool to turn on and off the concurrent root + return true; +} + +- (NSDictionary *)prepareInitialProps +{ + NSMutableDictionary *initProps = [NSMutableDictionary new]; + +#ifdef RCT_NEW_ARCH_ENABLED + initProps[kRNConcurrentRoot] = @([self concurrentRootEnabled]); +#endif + + return initProps; +} + +- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge +{ +#if DEBUG + return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"]; +#else + return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; +#endif +} + +#if RCT_NEW_ARCH_ENABLED + +#pragma mark - RCTCxxBridgeDelegate + +- (std::unique_ptr)jsExecutorFactoryForBridge:(RCTBridge *)bridge +{ + _turboModuleManager = [[RCTTurboModuleManager alloc] initWithBridge:bridge + delegate:self + jsInvoker:bridge.jsCallInvoker]; + return RCTAppSetupDefaultJsExecutorFactory(bridge, _turboModuleManager); +} + +#pragma mark RCTTurboModuleManagerDelegate + +- (Class)getModuleClassFromName:(const char *)name +{ + return RCTCoreModulesClassProvider(name); +} + +- (std::shared_ptr)getTurboModule:(const std::string &)name + jsInvoker:(std::shared_ptr)jsInvoker +{ + return nullptr; +} + +- (std::shared_ptr)getTurboModule:(const std::string &)name + initParams: + (const facebook::react::ObjCTurboModule::InitParams &)params +{ + return nullptr; +} + +- (id)getModuleInstanceFromClass:(Class)moduleClass +{ + return RCTAppSetupDefaultModuleFromClass(moduleClass); +} + +#endif + +@end diff --git a/Example/testHotUpdate/ios/testHotUpdate/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/testHotUpdate/ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from Example/testHotUpdate/ios/testHotUpdate/Images.xcassets/AppIcon.appiconset/Contents.json rename to Example/testHotUpdate/ios/AwesomeProject/Images.xcassets/AppIcon.appiconset/Contents.json diff --git a/Example/testHotUpdate/ios/testHotUpdate/Images.xcassets/Contents.json b/Example/testHotUpdate/ios/AwesomeProject/Images.xcassets/Contents.json similarity index 100% rename from Example/testHotUpdate/ios/testHotUpdate/Images.xcassets/Contents.json rename to Example/testHotUpdate/ios/AwesomeProject/Images.xcassets/Contents.json diff --git a/Example/testHotUpdate/ios/testHotUpdate/Info.plist b/Example/testHotUpdate/ios/AwesomeProject/Info.plist similarity index 92% rename from Example/testHotUpdate/ios/testHotUpdate/Info.plist rename to Example/testHotUpdate/ios/AwesomeProject/Info.plist index 133e33c..03e8712 100644 --- a/Example/testHotUpdate/ios/testHotUpdate/Info.plist +++ b/Example/testHotUpdate/ios/AwesomeProject/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion en CFBundleDisplayName - testHotupdate + AwesomeProject CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - $(MARKETING_VERSION) + 1.0 CFBundleSignature ???? CFBundleVersion - $(CURRENT_PROJECT_VERSION) + 1 LSRequiresIPhoneOS NSLocationWhenInUseUsageDescription diff --git a/Example/testHotUpdate/ios/testHotUpdate/LaunchScreen.storyboard b/Example/testHotUpdate/ios/AwesomeProject/LaunchScreen.storyboard similarity index 94% rename from Example/testHotUpdate/ios/testHotUpdate/LaunchScreen.storyboard rename to Example/testHotUpdate/ios/AwesomeProject/LaunchScreen.storyboard index 92cd844..1ba1a64 100644 --- a/Example/testHotUpdate/ios/testHotUpdate/LaunchScreen.storyboard +++ b/Example/testHotUpdate/ios/AwesomeProject/LaunchScreen.storyboard @@ -16,7 +16,7 @@ -