8000 Merge branch 'master' of https://github.com/flutter-webrtc/flutter-we… · next-coder/flutter-webrtc@af0993d · GitHub
[go: up one dir, main page]

Skip to content

Commit af0993d

Browse files
committed
2 parents 018d0e7 + 36aff8c commit af0993d

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

lib/src/native/utils.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@ class WebRTC {
66
static MethodChannel methodChannel() => _channel;
77

88
static bool get platformIsDesktop =>
9-
Platform.isWindows || Platform.isLinux || Platform.isMacOS;
9+
Platform.isWindows ||
10+
Platform.isLinux ||
11+
Platform.isMacOS ||
12+
Platform.isLinux;
1013

1114
static bool get platformIsWindows => Platform.isWindows;
1215

16+
static bool get platformIsLinux => Platform.isLinux;
17+
1318
static bool get platformIsMobile => Platform.isIOS || Platform.isAndroid;
1419

1520
static bool get platformIsIOS => Platform.isIOS;

lib/src/web/utils.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ class WebRTC {
55

66
static bool get platformIsWindows => false;
77

8+
static bool get platformIsLinux => false;
9+
810
static bool get platformIsMobile => false;
911

1012
static bool get platformIsIOS => false;

pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version: 0.6.0
44
homepage: https://github.com/cloudwebrtc/flutter-webrtc
55
environment:
66
sdk: '>=2.12.0 <3.0.0'
7+
flutter: ^1.22.0
78

89
dependencies:
910
flutter:

0 commit comments

Comments
 (0)
0