“.info/serverTimeOffset” does not work anymore

[REQUIRED] Describe your environment

  • Operating System version: Browsers
  • Browser version: All
  • Firebase SDK version: 6.3.3
  • Firebase Product: database

[REQUIRED] Describe the problem

I am using .ref('.info/serverTimeOffset') for getting servertime’s offset.
But seems like an update I upgrade from v5 to v6 it does not work anymore

Steps to reproduce:

Try code below. It just still waitting…

Relevant Code:

const getServerTimeOffset = await firebase.database().ref('.info/serverTimeOffset').once('value')
console.log(getServerTimeOffset)

1 possible answer(s) on ““.info/serverTimeOffset” does not work anymore