This example finds the details of devices from the 'native model name'.The native model name can be retrieved by code running on the device (For example, a mobile app). For Android devices, see https://developer.android.com/reference/android/os/Build#MODEL For iOS devices, see https://gist.github.com/soapyigu/c99e1f45553070726f14c1bb0a54053b#file-machinename-swift
This example is available in full on GitHub.
To run this example, you will need to create a resource key. The resource key is used as short-hand to store the particular set of properties you are interested in as well as any associated license keys that entitle you to increased request limits and/or paid-for properties. You can create a resource key using the 51Degrees Configurator.
Expected output: