更新sdk websocket sdk 增加

This commit is contained in:
yangjiejie12308 2023-07-14 10:33:26 +08:00
parent 03a309d8ee
commit 2a3d315d75
7 changed files with 13 additions and 35 deletions

View File

@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","native_build":false,"dependencies":[]}],"windows":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","native_build":false,"dependencies":[]}],"web":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"device_info_plus","dependencies":[]}],"date_created":"2023-07-13 17:24:04.445236","version":"3.7.7"} {"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","native_build":false,"dependencies":[]}],"windows":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","native_build":false,"dependencies":[]}],"web":[{"name":"device_info_plus","path":"C:\\\\Users\\\\smeb\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\device_info_plus-8.2.2\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"device_info_plus","dependencies":[]}],"date_created":"2023-07-14 10:32:14.638138","version":"3.7.7"}

View File

@ -1,3 +1,3 @@
## 1.0.4 ## 1.0.5
* 允许链接到服务器的UID为字符串 * allow connect string uid type are string. update readme.md

View File

@ -2,6 +2,11 @@
开源通讯库 [CIM](https://gitee.com/farsunset/cim) 的 flutter版本SDK 开源通讯库 [CIM](https://gitee.com/farsunset/cim) 的 flutter版本SDK
## WebSocket版本
[在这里](https://pub.dev/packages/cim_flutter_websocket_sdk)
## 如何在自己的项目中引用SDK ## 如何在自己的项目中引用SDK
在 pubspec.yaml 引入 在 pubspec.yaml 引入
@ -9,7 +14,7 @@
``` ```
dependencies: dependencies:
cim_flutter_sdk: ^1.0.4 cim_flutter_sdk: ^1.0.5
``` ```

View File

@ -15,7 +15,7 @@ migration:
- platform: root - platform: root
create_revision: 2ad6cd72c040113b47ee9055e722606a490ef0da create_revision: 2ad6cd72c040113b47ee9055e722606a490ef0da
base_revision: 2ad6cd72c040113b47ee9055e722606a490ef0da base_revision: 2ad6cd72c040113b47ee9055e722606a490ef0da
- platform: windows - platform: web
create_revision: 2ad6cd72c040113b47ee9055e722606a490ef0da create_revision: 2ad6cd72c040113b47ee9055e722606a490ef0da
base_revision: 2ad6cd72c040113b47ee9055e722606a490ef0da base_revision: 2ad6cd72c040113b47ee9055e722606a490ef0da

View File

@ -31,7 +31,7 @@ packages:
path: ".." path: ".."
relative: true relative: true
source: path source: path
version: "1.0.4" version: "1.0.5"
clock: clock:
dependency: transitive dependency: transitive
description: description:

View File

@ -1,27 +0,0 @@
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility in the flutter_test package. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:cim_flutter_sdk_example/main.dart';
void main() {
testWidgets('Verify Platform version', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const MyApp());
// Verify that platform version is retrieved.
expect(
find.byWidgetPredicate(
(Widget widget) => widget is Text &&
widget.data!.startsWith('Running on:'),
),
findsOneWidget,
);
});
}

View File

@ -1,7 +1,7 @@
name: cim_flutter_sdk name: cim_flutter_sdk
description: a flutter sdk for cim. description: a flutter sdk for cim. cim is a livechat framework use java netty, support user connect server by tcp or websocket.
repository: https://gitee.com/farsunset/cim repository: https://gitee.com/farsunset/cim
version: 1.0.4 version: 1.0.5
homepage: http://farsunset.com/ homepage: http://farsunset.com/
environment: environment: