TelemetryDeck / Issues

When something is wrong in TelemetryDeck-Land, or if you have a cool idea how to make things better, this is the place to create an Issue.
https://telemetrydeck.com
36 stars 0 forks source link

Swift-client-reference web page doesn't works #94

Closed bubudrc closed 3 years ago

bubudrc commented 3 years ago

Hi, I'm using you awesome product and everything runs perfectly. The unique concern is that running in a mac app (Appkit) I got the log msg:

[Telemetry] On this platform, Telemetry can't generate a unique user identifier. It is recommended you supply one yourself. More info: https://apptelemetry.io/pages/telemetry-swift-client-reference.html

where the url https://apptelemetry.io/pages/telemetry-swift-client-reference.html doesn't works

winsmith commented 3 years ago

Whoops, thanks for noticing! The correct link should be https://apptelemetry.io/pages/signal-reference.html and https://apptelemetry.io/pages/client-spec.html, I'll update the client ASAP.

winsmith commented 3 years ago

The reason behind this message is that on macOS, we don't get the identifierForVendor method, which gives us a device id. For now, ideally you should either generate a unique UUID and store it in the UserDefaults, or use another distinct user identifier like an email address (don't worry, it gets hashed before it ever leaves the user's computer)

bubudrc commented 3 years ago

yep, I'm storing a UUID on UserDefault... thanks for your hard work and you quick reply :)

winsmith commented 3 years ago

Awesome, have fun, and don't hesitate to ask further questions