How to get device information

How to get device information

Hi there,

In my app, I'm requesting use access to device information.  In my app, I have contact me email link. When clicked, I would like to populate email body with device information such as device id, OS type and version, etc.

How do I go about doing this?

Joe