Wait for network idle

This is my first post, but I’ve searched here a lot to help with my mobile automation.
I’m using Appium/Java to automate against a hybrid app. Upon the first launch of the app, we perform a live update. However, if my test scripts start running before everything is downloaded, the app does not get updated. I use Playwright for my web automation and there’s a wait for the network traffic to become idle.
I was wondering if there was any way to do the same in Appium. Any help is greatly appreciated.

You could try to fetch logcat logs and wait until a particular log record appears there

Hi @Josh_Min, did you get any solution it would be great if you share it here