Notifications via Push
Teliver sdk provides you the way to notify your customers about the events that can occur within the Operator and Consumer. Let’s see that in detail.
Notifications work with the help of FCM in Teliver sdk so let’s set the configuration to do it. You can know how to setup FCM in your Android Project here.
To send/recieve a notification to users, the device must be first identified, to do so use the following method.
You can also identify your users with additional details such as Name, Phone and email as well with the below methods.
Teliver.identifyUser(newUserBuilder("operator_id").setUserType(UserBuilder.USER_TYPE.OPERATOR) .setName("operator_name") .setEmail("operator_email") .setPhone("operator_phone") .registerPush().build());