News user registerd via restapi Not possible Subscriptions or join room. not get getChatHistory. But it work Default main room but not work other Channel creted by admin.. If that user join using browser after only work in android
@Override
public void onLogin(TokenObject token, ErrorObject error) {
client.getSubscriptions(this);
}
@Override
public void onGetSubscriptions(List<SubscriptionObject> subscriptions, ErrorObject error) {
ChatRoomFactory factory = client.getChatRoomFactory(); //client.is used for creating rooms from subscriptions/ rooms retured by either getSubscriptions or getRooms API
room = factory.createChatRooms(subscriptions).getChatRoomByName("TestRoom");
}
News user registerd via restapi Not possible Subscriptions or join room. not get getChatHistory. But it work Default main room but not work other Channel creted by admin.. If that user join using browser after only work in android
@Override public void onLogin(TokenObject token, ErrorObject error) { client.getSubscriptions(this); }