Generating Secret Keys

Secret keys are used for authentication when users bind devices, and can be randomly generated by the smartphone app. To generate a secret key in Android, add:

final String secretKey = UUID.randomUUID().toString();

To generate a secret key in iOS, add:

let secretKey = UUID().uuidString