Skip to content

Commit a073982

Browse files
authored
chore: bump dependencies, release 0.0.1 (#441)
Signed-off-by: xsahil03x <[email protected]>
1 parent 63577b4 commit a073982

File tree

7 files changed

+27
-31
lines changed

7 files changed

+27
-31
lines changed

dogfooding/pubspec.yaml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ publish_to: 'none'
44
version: 1.0.0+1
55

66
environment:
7-
sdk: '>=2.18.0 <3.0.0'
7+
sdk: '>=2.18.0 <4.0.0'
8+
flutter: '>=3.3.0'
89

910
dependencies:
1011
crypto: 3.0.2
@@ -23,16 +24,10 @@ dependencies:
2324
path_provider: ^2.0.14
2425
share_plus: ^7.0.2
2526
shared_preferences: ^2.0.17
26-
stream_chat_flutter:
27-
git:
28-
url: https://github.com/GetStream/stream-chat-flutter
29-
path: packages/stream_chat_flutter
30-
stream_video:
31-
path: ../packages/stream_video
32-
stream_video_flutter:
33-
path: ../packages/stream_video_flutter
34-
stream_video_push_notification:
35-
path: ../packages/stream_video_push_notification
27+
stream_chat_flutter: ^6.5.0
28+
stream_video: ^0.0.1
29+
stream_video_flutter: ^0.0.1
30+
stream_video_push_notification: ^0.0.1
3631
uni_links: ^0.5.1
3732

3833
dev_dependencies:

packages/stream_video/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ dependencies:
3232
shared_preferences: ^2.2.0
3333
fixnum: ^1.1.0
3434
dart_webrtc: ^1.1.1
35+
webrtc_interface: ^1.1.0
3536

3637
dev_dependencies:
3738
flutter_test:

packages/stream_video_flutter/lib/src/participants_info/call_participants_info_menu.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class _StreamCallParticipantsInfoMenuState
225225
),
226226
onInviteButtonPress: () {
227227
Navigator.of(context).push(
228-
MaterialPageRoute(
228+
MaterialPageRoute<void>(
229229
builder: (context) => StreamInviteUserListView(
230230
controller: _controller,
231231
inviteDividerColor: inviteDividerColor,

packages/stream_video_flutter/pubspec.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,18 @@ repository: https://github.com/GetStream/stream-video-flutter
66
issue_tracker: https://github.com/GetStream/stream-video-flutter/issues
77

88
environment:
9-
sdk: ">=2.17.0 <3.0.0"
10-
flutter: ">=1.17.0"
9+
sdk: ">=2.18.0 <4.0.0"
10+
flutter: ">=3.3.0"
1111

1212
dependencies:
1313
cached_network_image: ^3.2.3
1414
collection: ^1.16.0
15-
eva_icons_flutter: ^3.1.0
1615
flutter:
1716
sdk: flutter
18-
flutter_background: ^1.2.0
1917
flutter_webrtc: ^0.9.35
20-
google_fonts: ^4.0.4
2118
rate_limiter: ^1.0.0
22-
stream_video:
23-
path: ../stream_video
24-
stream_video_flutter_background:
25-
path: ../stream_video_flutter_background
19+
stream_video: ^0.0.1
20+
stream_video_flutter_background: ^0.0.1
2621
visibility_detector: ^0.4.0+2
2722

2823
dev_dependencies:

packages/stream_video_push_notification/lib/src/stream_video_push_notification_method_channel.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class StreamVideoPushNotificationMethodChannel {
1010
final MethodChannel _methodChannel;
1111

1212
/// Obtain the Device Push Token VoIp.
13-
@override
1413
Future<String?> getDevicePushTokenVoIP() async {
1514
return await _methodChannel.invokeMethod<String>('getDevicePushTokenVoIP');
1615
}

packages/stream_video_push_notification/pubspec.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,20 @@ repository: https://github.com/GetStream/stream-video-flutter
66
issue_tracker: https://github.com/GetStream/stream-video-flutter/issues
77

88
environment:
9-
sdk: '>=2.18.5 <3.0.0'
10-
flutter: ">=1.17.0"
9+
sdk: '>=2.18.0 <4.0.0'
10+
flutter: ">=3.3.0"
1111

1212
dependencies:
1313
flutter:
1414
sdk: flutter
1515
shared_preferences: ^2.2.0
1616
firebase_messaging: ^14.5.0
17-
stream_video:
18-
path: ../stream_video
17+
stream_video: ^0.0.1
1918
flutter_callkit_incoming: ^2.0.0+1
2019
uuid: ^3.0.7
20+
rxdart: ^0.27.7
21+
collection: ^1.16.0
22+
firebase_core: ^2.11.0
2123

2224
dev_dependencies:
2325
flutter_test:

packages/stream_video_push_notification/test/stream_video_push_notification_test.dart

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
import 'package:flutter_test/flutter_test.dart';
12
import 'package:mocktail/mocktail.dart';
23
import 'package:stream_video/src/shared_emitter.dart';
34
import 'package:stream_video/src/utils/none.dart';
45
import 'package:stream_video/stream_video.dart';
56
import 'package:stream_video_push_notification/src/stream_video_push_notification_event_channel.dart';
67
import 'package:stream_video_push_notification/stream_video_push_notification.dart';
7-
import 'package:test/test.dart';
88

99
import 'mocks.dart';
1010

@@ -103,7 +103,8 @@ Future<void> main() async {
103103
final result = await sut.handlePushNotification(data);
104104

105105
expect(result, true);
106-
verify(() => client.getOrCreateCall(callCid: streamCallCid,
106+
verify(() => client.getOrCreateCall(
107+
callCid: streamCallCid,
107108
)).called(1);
108109
verify(() => callNotificationWrapper.showCallNotification(
109110
streamCallCid:
@@ -145,7 +146,8 @@ Future<void> main() async {
145146

146147
verify(() => sharedPreferences.setString('incomingCallCid', 'call:123'))
147148
.called(1);
148-
verify(() => client.getOrCreateCall(callCid: streamCallCid,
149+
verify(() => client.getOrCreateCall(
150+
callCid: streamCallCid,
149151
)).called(1);
150152
verify(() => client.acceptCall(cid: streamCallCid)).called(1);
151153
});
@@ -177,7 +179,8 @@ Future<void> main() async {
177179
await sut.handlePushNotification(data);
178180

179181
verify(() => client.rejectCall(cid: streamCallCid)).called(1);
180-
verify(() => client.getOrCreateCall(callCid: streamCallCid,
182+
verify(() => client.getOrCreateCall(
183+
callCid: streamCallCid,
181184
)).called(1);
182185
});
183186

@@ -188,7 +191,8 @@ Future<void> main() async {
188191

189192
expect(result, callCreatedData);
190193
verify(
191-
() => client.getOrCreateCall(callCid: streamCallCid,
194+
() => client.getOrCreateCall(
195+
callCid: streamCallCid,
192196
),
193197
).called(1);
194198
});

0 commit comments

Comments
 (0)