Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 10b81fe

Browse files
dev
1 parent 328bd55 commit 10b81fe

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 3.1.1
2+
- Bug fixes
3+
14
# 3.1.0
25
- Dependencies have been updated
36

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pubspec.yaml:
7979
sdk: flutter
8080
8181
# Add this line:
82-
askless: ^3.1.0
82+
askless: ^3.1.1
8383

8484
**4 -** Import the package
8585

lib/constants.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ const REQUEST_PREFIX = 'REQ-';
1414
const LISTEN_PREFIX = 'LIS-';
1515

1616
// TODO onupdate:
17-
const CLIENT_LIBRARY_VERSION_NAME = '3.1.0';
18-
const CLIENT_LIBRARY_VERSION_CODE = 7;
17+
const CLIENT_LIBRARY_VERSION_NAME = '3.1.1';
18+
const CLIENT_LIBRARY_VERSION_CODE = 8;
1919

20-
// TODO onupdate: CHECK README (# Add this line: askless: ^3.1.0)
20+
// TODO onupdate: CHECK README (# Add this line: askless: ^3.1.1)
2121

2222
// TODO onupdate: add changelog

lib/domain/services/call_service.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class CallService<USER_ID> {
130130
logger (">> 2 - Setting remote description from answer! ${event["sdp"]["type"]} and ${event["sdp"]["sdp"]}");
131131

132132
// call accepted..
133-
await rtcPeerConnection.setRemoteDescription(
133+
await rtcPeerConnection!.setRemoteDescription(
134134
RTCSessionDescription(
135135
event["sdp"]["sdp"],
136136
event["sdp"]["type"]
@@ -168,12 +168,12 @@ class CallService<USER_ID> {
168168
doDisposeCallback(error: 'disposing...');
169169
return;
170170
}
171-
final sdpOffer = await rtcPeerConnection.createOffer({'offerToReceiveVideo': 1, 'offerToReceiveAudio': 1});
172-
await rtcPeerConnection.setLocalDescription(sdpOffer);
171+
final sdpOffer = await rtcPeerConnection!.createOffer({'offerToReceiveVideo': 1, 'offerToReceiveAudio': 1});
172+
await rtcPeerConnection!.setLocalDescription(sdpOffer);
173173

174174
logger(">> 1 - SDP OFFER GENERATED AND SET LOCAL DESCRIPTION LOCALLY sdpOffer");
175175

176-
rtcPeerConnection.onIceCandidate = (RTCIceCandidate candidate) {
176+
rtcPeerConnection!.onIceCandidate = (RTCIceCandidate candidate) {
177177
logger("rtcPeerConnection -> onIceCandidate #1");
178178
rtcIceCandidateList.add(candidate);
179179
logger(json.encode({

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: askless
22
description: Build Flutter Apps with PostgreSQL, MySQL, or any database, stream data changes through websockets effortlessly, handle websocket authentication like a pro and elevate your Flutter Chat App with video and audio calls!
33

4-
version: 3.1.0 # TODO onupdate:
4+
version: 3.1.1 # TODO onupdate:
55

66
environment:
77
sdk: '>=3.1.1 <4.0.0'

0 commit comments

Comments
 (0)