Skip to content

Conversation

@EdmondChuiHW
Copy link

Summary

Add visibilitychange listener. This allows the concept of a session to be introduced:

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon#sending_analytics_at_the_end_of_a_session

Test plan

Test end-to-end via internal D57576112

Upstreaming plan

  • This commit should be sent as a patch to the upstream devtools-frontend repo. I've reviewed the contribution guide.
  • This commit is React Native-specific and cannot be upstreamed.

@EdmondChuiHW EdmondChuiHW marked this pull request as ready for review May 28, 2024 16:07
@EdmondChuiHW EdmondChuiHW merged commit 3188d67 into facebook:main May 29, 2024
@EdmondChuiHW EdmondChuiHW deleted the visibility branch May 29, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants