File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,10 @@ class ZoomViewWeb extends ZoomPlatform {
33
33
34
34
ZoomMtg .preLoadWasm ();
35
35
ZoomMtg .prepareWebSDK ();
36
- ZoomMtg .i18n.load (options.language);
36
+
37
+ ZoomMtg .i18n.load (options.language ?? 'en-US' );
38
+ debugPrint ('Current language of Zoom - ${ZoomMtg .i18n .getCurrentLang ()}' );
39
+
37
40
ZoomMtg .init (InitParams (
38
41
debug: options.debug ?? kDebugMode,
39
42
helper: options.helper,
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ class UserParams {
98
98
@JS ()
99
99
class ZoomMtg {
100
100
external static void setZoomJSLib (String path, String dir);
101
- external static final i18n;
101
+ external static ZoomMtgLang i18n;
102
102
external static void preLoadWasm ();
103
103
external static void prepareWebSDK ();
104
104
external static void prepareJssdk ();
@@ -118,3 +118,9 @@ class ZoomMtg {
118
118
external static void inMeetingServiceListener (
119
119
String event, Function (MeetingStatus ? ) callback);
120
120
}
121
+
122
+ @JS ()
123
+ class ZoomMtgLang {
124
+ external String getCurrentLang ();
125
+ external dynamic load (String lang);
126
+ }
Original file line number Diff line number Diff line change 1
1
name : flutter_zoom_sdk
2
2
description : Zoom SDK from ZOOM ported to flutter as plugin with all necessary features and with Null Safety which is implementation by EvilRATT
3
- version : 1.2.0+2
3
+ version : 1.2.0+3
4
4
homepage : https://github.com/evilrat/flutter_zoom_sdk
5
5
repository : https://github.com/evilrat/flutter_zoom_sdk
6
6
issue_tracker : https://github.com/evilrat/flutter_zoom_sdk/issues
You can’t perform that action at this time.
0 commit comments