-
Notifications
You must be signed in to change notification settings - Fork 9
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
add a new device
package for device detection
#92
Conversation
a5c74dd
to
9a289a6
Compare
This new API requires JSON decoding, but I've tested it on Go and TinyGo, and the integration tests will ensure it works on our supported configurations. |
9a289a6
to
d3e07b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
d3e07b5
to
a51e8a3
Compare
Calling `device.Lookup()` returns a `Device` struct with accessor methods to get information on the user agent such as name/brand/model as well as booleans for common device types.
a51e8a3
to
69551eb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still 👍
Calling
device.Lookup()
returns aDevice
struct with accessormethods to get information on the user agent such as name/brand/model as
well as booleans for common device types.
Based on the API in the Rust SDK and our VCL variables.