1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-09-27 22:58:23 +00:00

Stetho is broken on Chromium 89 and higher: add a workaround to be able to inspect NewPipe debug versions

TiA4f8R 2021-04-04 15:41:41 +02:00
parent bbcf9f3805
commit aeba6f62a4

@ -9,14 +9,17 @@ A [HAR](https://en.wikipedia.org/wiki/HAR_(file_format)) contains the network tr
1. [Enable USB debugging on your Android device](https://developer.android.com/studio/debug/dev-options#enable).
2. Connect your phone to your PC through USB.
3. Open Chrome on your PC, type `chrome://inspect` into the address bar.
3. Open Chrome/Chromium on your PC, type `chrome://inspect` into the address bar.
4. You will see a dialog box asking to enable USB debugging for your computer (identified by its fingerprint). Agree to it.
4. Open that debug version of NewPipe on your phone.
5. Select the NewPipe debug version in Chrome:
5. Select the NewPipe debug version in Chrome/Chromium:
![click on inspect](https://user-images.githubusercontent.com/17365767/96285447-44b88880-0fdf-11eb-98ad-2f2c522f37ab.png)
6. Click on `Inspect` and go to the `Network` tab.
**Important note:** a bug breaks the inspection window of NewPipe debug versions in versions 89 and higher of Chrome/Chromium, see [this issue for more information](https://github.com/facebook/stetho/issues/696). Use Edge Chromium as a workaround or this old version of Chromium: [Windows 32 bit version](https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win/827102/), [Windows 64 bit version](https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win_x64/827102/), [MacOS version](https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Mac/827102/), [Linux 64 bit version](https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/827102/).
7. Reproduce the problem.
8. In the DevTools, save the network traffic as HAR by right-clicking on a request and then clicking on `Save as HAR with content`: