Hi! Thanks @thyngster for your work. Im working on a React app that is wrapped with Cordova to build an Electron app. The project its Cboard and the Cordova Cboard if you want to check it out .
We want to set up analytics on the Electron app. I tested your library. On web is working perfecltly but on the Electron app im facing this issue:
I think the problem is in this line. The User Agent Data on Electron is:
NavigatorUAData : { "brands": [], "mobile": false, "platform": "" }
And
On the retrived object, doesnt have fullVersionList prop
One solution can be add a comprobation before (Object.values(d.fullVersionList) || ....) something like (d.fullVersionList && Object.values(d.fullVersionList) || ....)
Hi! Thanks @thyngster for your work. Im working on a React app that is wrapped with Cordova to build an Electron app. The project its Cboard and the Cordova Cboard if you want to check it out . We want to set up analytics on the Electron app. I tested your library. On web is working perfecltly but on the Electron app im facing this issue:
I think the problem is in this line. The User Agent Data on Electron is:
NavigatorUAData : { "brands": [], "mobile": false, "platform": "" }
And![image](https://github.com/analytics-debugger/ga4mp/assets/80465873/88b37b08-4cf6-4f1f-b6fd-0aa42664e313)
On the retrived object, doesnt have
fullVersionList
prop One solution can be add a comprobation before(Object.values(d.fullVersionList) || ....)
something like(d.fullVersionList && Object.values(d.fullVersionList) || ....)