File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11PODS:
22 - Flutter (1.0.0)
3- - HyphenateChat (4.0.3 )
3+ - HyphenateChat (4.1.1 )
44 - im_flutter_sdk (0.0.1):
55 - Flutter
6- - HyphenateChat (= 4.0.3 )
6+ - HyphenateChat (= 4.1.1 )
77
88DEPENDENCIES:
99 - Flutter (from `Flutter`)
@@ -21,8 +21,8 @@ EXTERNAL SOURCES:
2121
2222SPEC CHECKSUMS:
2323 Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
24- HyphenateChat: 35826ebaa42ebac897b39e29a06f2215a060011a
25- im_flutter_sdk: bbcfbe596ef4682c9518604e1cb319e967f6b163
24+ HyphenateChat: 95aa4abbad0e763f513acbe21ff9543f50b886cd
25+ im_flutter_sdk: 9242a0d080c2f4ade4a0247a21b034036320233e
2626
2727PODFILE CHECKSUM: 7368163408c647b7eb699d0d788ba6718e18fb8d
2828
Original file line number Diff line number Diff line change 11import 'package:flutter/material.dart' ;
22import 'package:im_flutter_sdk/im_flutter_sdk.dart' ;
33
4- var appKey = "easemob-demo#flutter " ;
4+ var appKey = "" ;
55
66void main () async {
77 WidgetsFlutterBinding .ensureInitialized ();
8+ assert (appKey.isNotEmpty, "appKey is empty" );
89 EMOptions options =
910 EMOptions (appKey: appKey, autoLogin: false , debugModel: true );
1011 await EMClient .getInstance.init (options);
@@ -297,7 +298,7 @@ class _MyHomePageState extends State<MyHomePage> {
297298 content: _messageContent,
298299 );
299300
300- EMClient .getInstance.chatManager.sendMessage (msg);
301+ await EMClient .getInstance.chatManager.sendMessage (msg);
301302 }
302303
303304 void _addLogToConsole (String log) {
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ packages:
9797 path: ".."
9898 relative: true
9999 source: path
100- version: "4.0 .3"
100+ version: "4.1 .3"
101101 js:
102102 dependency: transitive
103103 description:
You can’t perform that action at this time.
0 commit comments