first of all, I have been using this feature. My previous phone swiped LineageOS, Android version is Android 8.0, WeChat version 6.6.7, is downloaded from Google Play. For a long time in the past, I have debugged a lot of projects on the mobile phone Wechat by relying on the Remote Devices function in Chrome Dev Tools, which is simply an artifact.
and then recently changed to a new phone, swiped Mokee and Android 8.1, and then found that my new phone, now can not use the Remote Devices in Chrome Dev Tools to debug Wechat"s page. WeChat version 6.6.7, which is downloaded from Google Play.
now the Remote Devices in my computer Chrome Dev Tools has no problem connecting to the phone . There is also a pop-up window that requires USB debugging authorization. The page opened on the phone through mobile Chrome can also be debugged. Not in Wechat. Open the web page in Wechat, and the Remote Devices panel on the Windows computer shows No browsers detected .
I have searched a lot on the Internet, mostly about the X5 kernel, but my native Android Webview, doesn"t work at all, and Wechat"s visit to debugx5.qq.com also shows that I"m not using the X5 kernel.
I don"t understand. I suspect that the new version of Wechat shielded the WebView debugging permissions in the code or disabled the Remote Devices-related interfaces? By the way, Wechat"s developer tool really sucks. This function is very important to me . After all, many online environments are very difficult to load Weinre. I don"t know if there is any better way to debug mobile devices remotely at the front end. Google"s own debugging method should be the best, right? would like to recommend it?
so how can Wechat debug the page in Remote Devices? I don"t know what the reason is for the new phone or what Wechat has done to make it impossible now. The description of the problem may be a bit long. hopes that friends who have stepped on this hole can give some solutions and ask for help.
< hr > update on 2018-09-01
Last night I tried to paint my new phone as LineageOS16 (Android Pie), without any Google services installed (9.0 Gapps is not yet available). I installed the latest official version of Wechat 6.6.7 through Kuan Market. As soon as I plugged in the computer, I was able to use Remote Devices,. Although the problem is temporarily solved, I would like to know the reason. I hope you can discuss it together.