connectycube_sdk 0.1.0-beta3 copy "connectycube_sdk: ^0.1.0-beta3" to clipboard
connectycube_sdk: ^0.1.0-beta3 copied to clipboard

outdated

Flutter SDK for simple using ConnectyCube API features. Supports REST API and Realtime communication features.

example/example.md

Init ConnectyCube SDK #

String appId = "";
String authKey = "";
String authSecret = "";

init(appId, authKey, authSecret);

Create session #

CubeUser user = CubeUser(login: "user_login", password: "super_sequre_password");

createSession(user).then((cubeSession){
  print("Session was created");
}).catchError((error){
  print("Error was occured during create sessin");
});

Login to the chat #

CubeUser user = CubeUser(id: 123456, login: "user_login", password: "super_sequre_password");
    
CubeChatConnection.instance.login(user).then((user){
  print("Success login to the chat");
}).catchError((error){
  print("Error was occured during login to the chat");
});
73
likes
0
pub points
91%
popularity

Publisher

verified publisherconnectycube.com

Flutter SDK for simple using ConnectyCube API features. Supports REST API and Realtime communication features.

Homepage

Dependencies

crossplat_objectid, crypto, device_id, flutter, http, http_parser, intl, mime, package_info, path, uuid, xmpp_stone

More

Packages that depend on connectycube_sdk