web-vitals
web-vitals copied to clipboard
Performance statistics in Hybrid development Webview are not supported
Self-testing found poor mobile compatibility for the PerformanceObserver, with 80 per cent of models failing to get performance data

This package is not expected to work on iPhone X, see the browser support section of the README for more details.
Regarding these warnings, can you clarify what code you're running that's triggering them?
The warning information comes from the test of Performanceobserver API in different mobile phone models. Does the web-vitals library support H5 performance statistics in hybrid development?
The warning information comes from the test of Performanceobserver API in different mobile phone models.
So, to be clear, you're not seeing those warning while running the code in the library, you're just seeing those warnings when trying to use the PerformanceObserver API, correct?
Yes
The warning information comes from the test of Performanceobserver API in different mobile phone models.
So, to be clear, you're not seeing those warning while running the code in the library, you're just seeing those warnings when trying to use the
PerformanceObserverAPI, correct?
I'm trying to find out why web-vitals can't get the performance data of hybrid applications, so I'm testing PerformanceObserver.
The warning information comes from the test of Performanceobserver API in different mobile phone models.
So, to be clear, you're not seeing those warning while running the code in the library, you're just seeing those warnings when trying to use the
PerformanceObserverAPI, correct?
I would like to ask whether there is any plan to be compatible with Hybrid App. I have an alternative to PerformanceObserver, which can be used to replace it. Do you need me to provide a solution.
There are no plans to allow this library to work without Performance Observers as browsers without Performance Observer support will not support the majority of the metrics this library provides with potentially only TTFB able to be supported.