Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share deviceType along with device name to connected peers #452

Closed
gmaclennan opened this issue Jan 30, 2024 · 1 comment
Closed

Share deviceType along with device name to connected peers #452

gmaclennan opened this issue Jan 30, 2024 · 1 comment
Assignees

Comments

@gmaclennan
Copy link
Member

Description

Follow-up to #451 to share device type along with device name when sharing device info as part of the local peer discovery process. deviceType should be mobile or desktop. (NB. do we want to also share android or iphone?)

gmaclennan added a commit that referenced this issue Jan 31, 2024
fixes #451 and #452. Does not store deviceType in project deviceInfo
records, which will be done in a follow up PR (see #455) which also
requires changes to @mapeo/schema. `deviceType` is optional, and must be
set in the constructor of MapeoManager. Ideally this should not be
possible to change, but not sure how to enforce that.
@gmaclennan gmaclennan self-assigned this Jan 31, 2024
gmaclennan added a commit that referenced this issue Feb 8, 2024
* feat: share deviceType with local peers

fixes #451 and #452. Does not store deviceType in project deviceInfo
records, which will be done in a follow up PR (see #455) which also
requires changes to @mapeo/schema. `deviceType` is optional, and must be
set in the constructor of MapeoManager. Ideally this should not be
possible to change, but not sure how to enforce that.

* Incorporate review comments

* fix bug in teardown
@gmaclennan
Copy link
Member Author

Fixed in #461

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

No branches or pull requests

1 participant