Operating System
iOS 15, 16, 17 and Mac OS X 10.15
Browser Version
Safari, Mobile Safari and Chrome Mobile ios.
Firebase SDK Version
10.5.0
Firebase SDK Product:
Auth, Database
Describe your project's tooling
React with typescript
Describe the problem
Here is the error message which I was receiving from Bugsnag(Error tracking tool).

This error is not occurring always when I load the app. But this is happening often( around 4 times a day) for an users.
Steps and code to reproduce issue
There are no dedicated steps to reproduce. This is reproducing some times when an app is loading on ios and Mac os browsers.