imsdk_client_flutter 0.0.1 copy "imsdk_client_flutter: ^0.0.1" to clipboard
imsdk_client_flutter: ^0.0.1 copied to clipboard

discontinued
outdated

Flutter client of Zhiyou real-time communication cloud service.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:imsdk_client_flutter/imsdk_client_flutter.dart';

void main() {
  AppConfig.init(
    agentFlag: 'ZhiYou',
    host: 'http://192.168.2.6:8080',
    bsid: '61da2b54285650ba5034ada4',
    secret: '1234567890',
    logLevel: EasyLogLevel.debug,
    notificationsEnable: true,
    onInited: (uid, token) {
      runApp(AppRouter(title: 'IMSDK', uid: uid, token: token));
    },
  );
}