getDeviceID

fun getDeviceID(context: Context): String

Returns the device ID.

Parameters

context

The application Context, required to access the application shared preferences.

Throws

Thrown when no device ID is set in shared preferences