I have a problem using this library.
For some reason, the user agent is always missing in GA4, so the device category in the report is always "(not set)"

I didn’t have such problems with UA, so I’m wondering what could be wrong?
From similar issues #8 and #29 I can see that right now there is no way to override UserAgent.
Therefore, I have a question, perhaps someone has encountered such a problem and found a way to fix it?
I would appreciate any help and food for thought.