Skip to content

Conversation

@michaelkamphausen
Copy link
Contributor

I am in favour of the device name not having to be unique. In my application, I generate the device name from device information from UAParser. This can often lead to name collisions (same device type, same operating system).

I have noticed that when I remove a device, all devices with the same name are removed. I therefore suggest to always use the deviceId and not the deviceName to identify a device.

@HerbCaudill
Copy link
Member

Hi @michaelkamphausen - good catch, thanks!

I've written a test confirming the fix - can you set this PR to allow edits by maintainers?

Thanks!

@HerbCaudill HerbCaudill merged commit 96fdca9 into local-first-web:main Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants