on-internet
← Community

In Samsung Internet 31.0 on Android, navigator.connection is null for some users

Stack Overflow ·

[quote="ruthvik06, post:18322"] Our production error monitoring shows this error: TypeError: Cannot read properties of null (reading 'saveData') All affected events are Samsung Internet 31.0. We see no events from 30.0 or other versions for this error. MDN documents navigator.connection as returning a NetworkInformation object. I could not find release notes for 31.0 that mention a change. Questions: Is null expected in 31.0? Under what conditions does it happen (a setting, a context, a particular device)? What is the recommended way to detect support? Thanks for any help. [/quote]

Comments

Sign in or sign up to comment and upvote.

No comments yet.