Using the SDK
Identity
val identity = Identity(MY_SDK_API_KEY, firebaseAuth.currentUser?.uid)
ImsSdkManager.setIdentity(context, identity)Phone Registration (aka Device Activation)
/**********************
* Activate the device.
**********************/
// The identity of the user.
Identity identity = new Identity("HOST-APP-API-KEY", "HOST-APP-USER-IDENTIFIER");
DeviceService deviceService = new DeviceService(identity);
deviceService.activate(DeviceService.DeviceActivationMode.ACTIVATE, new ResultCallback<Device>() {
@Override
public void execute(Result<Device> result) {
switch (result.getType()) {
case FAILURE:
Log.e("TAG", "Something went wrong.");
break;
case SUCCESS:
Log.i("TAG", "Device is activated.");
break;
}
}
});Phone Identifier
Controlling How Files are Uploaded
Heartbeat Service
WorkManager runtime
Custom WorkManager
Diagnostics and Logging
Log File Listener
Unit Test Log Listener
Log File Upload
Diagnostic Mode
Last updated