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

Commit 57b6266

Browse files
- new Askless version: 2.0.0 + CHANGELOG.md
- removing useless TODO's on examples - documentation/readme changes - 'collection' & 'meta' dependencies added
1 parent 4a0c7b1 commit 57b6266

13 files changed

Lines changed: 91 additions & 29 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# 2.0.0
2+
- dart sdk updated: >=2.12.0 <3.0.0 (null safety)
3+
- web support
4+
- useDefaultLogger: default as false
5+
- fix: accepting non-maps types on the "body" field of an update request
6+
- other adjustments/fixes
7+
- documentation and README changes
8+
- code refactoring
9+
- unit tests added
10+
- examples updated to null safety
11+
- new dependencies in pubspec.yaml
12+
113
## 1.0.1
214

315
- Fix: prevent old connections data from getting in the way of the last successful connection attempt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pubspec.yaml:
6161
sdk: flutter
6262
6363
# Add this line:
64-
askless: ^1.0.1
64+
askless: ^2.0.0
6565

6666
4 - Import the package
6767

README_PORTUGUES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pubspec.yaml:
6161
sdk: flutter
6262
6363
# Adicione essa linha:
64-
askless: ^1.0.1
64+
askless: ^2.0.0
6565

6666
4 - Importe
6767

documentation/english_documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The URL of the server, must start with `ws://` or `wss://`. Example: `ws://192.1
3131

3232
#### logger
3333

34-
Allow to customize the behavior of internal logs and enable/disable the default logger (optional).
34+
Allow to customize the behavior of internal logs and enable the default logger (optional).
3535

3636
##### Params:
3737

example/catalog/android/app/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ android {
3333
}
3434

3535
defaultConfig {
36-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3736
applicationId "com.example.catalog"
3837
minSdkVersion 16
3938
targetSdkVersion 30
@@ -43,9 +42,7 @@ android {
4342

4443
buildTypes {
4544
release {
46-
// TODO: Add your own signing config for the release build.
47-
// Signing with the debug keys for now, so `flutter run --release` works.
48-
signingConfig signingConfigs.debug
45+
signingConfig signingConfigs.debug
4946
}
5047
}
5148
}

example/catalog/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
33
import 'CatalogMainPage.dart';
44

55

6-
final String ipv4Address = '192.168.2.1';
6+
final String ipv4Address = '192.168.0.3';
77
final serverUrl = 'ws://'+ipv4Address+':3000';
88

99

example/chat/android/app/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ android {
3333
}
3434

3535
defaultConfig {
36-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3736
applicationId "com.example.chat"
3837
minSdkVersion 16
3938
targetSdkVersion 30
@@ -43,8 +42,6 @@ android {
4342

4443
buildTypes {
4544
release {
46-
// TODO: Add your own signing config for the release build.
47-
// Signing with the debug keys for now, so `flutter run --release` works.
4845
signingConfig signingConfigs.debug
4946
}
5047
}

example/chat/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:askless/askless.dart';
33
import 'SignInPage.dart';
44

55

6-
final String ipv4Address = '192.168.2.1';
6+
final String ipv4Address = '192.168.0.3';
77
final serverUrl = 'ws://'+ipv4Address+':3000';
88

99
void main() {

example/tracking/android/app/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ android {
3333
}
3434

3535
defaultConfig {
36-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3736
applicationId "com.example.tracking"
3837
minSdkVersion 16
3938
targetSdkVersion 30
@@ -43,7 +42,6 @@ android {
4342

4443
buildTypes {
4544
release {
46-
// TODO: Add your own signing config for the release build.
4745
// Signing with the debug keys for now, so `flutter run --release` works.
4846
signingConfig signingConfigs.debug
4947
}

example/tracking/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'package:askless/askless.dart';
44

55
import 'TrackingApp.dart';
66

7-
final serverUrl = 'ws://192.168.2.1:3000';
7+
final serverUrl = 'ws://192.168.0.3:3000';
88

99
void main() {
1010
AsklessClient.instance.init(

0 commit comments

Comments
 (0)