aptabase / aptabase-swift

Swift SDK for Aptabase: Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps
https://aptabase.com
MIT License
23 stars 8 forks source link

Support Device Model #21

Closed manucheri closed 7 months ago

manucheri commented 7 months ago

Add device model information as part of environment info and system properties.

Related to https://github.com/aptabase/aptabase-swift/issues/20

The device model will be reported in the form of "iPhone16,2" (iPhone 15 Pro Max) and similar. This can be mapped to a corresponding model if needed, but that has to be kept up to date when new models are released - so I kept it in this form. That mapping can be done either on the client, or the server, or even the web UI.

goenning commented 7 months ago

Thanks! Let's ship it!