Skip to content

Commit

Permalink
Updated docs and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
intoxicated committed Apr 22, 2021
1 parent 77b997f commit 91ff5e9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 15 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [3.0.11] - Apr 22, 2021
* Updated pubspec and README
* Fixed typo

## [3.0.10] - Apr 19, 2021
* Fixed register token endpoint
* Fixed typo
Expand Down Expand Up @@ -79,4 +83,4 @@
* Improved stability

## [3.0.0] developer preview
* Developer preview
* Developer preview
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,7 @@ Installing the Chat SDK is a simple process if you’re familiar with using exte
- Add following dependency in `pubspec.yaml`.
```yaml
dependencies:
...
sendbird_sdk:
hosted:
name: sendbird_sdk
url: https://repo.sendbird.com/public/dart
version: ^3.0.6
sendbird_sdk: ^3.0.11
```
- Run `flutter pub get` command in your project directory.

Expand Down
3 changes: 1 addition & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ linter:
analyzer:
exclude:
- example
- lib/**/*.g.dart
- lib/params/message_change_logs_params.g.dart
- lib/**/*.g.dart
2 changes: 1 addition & 1 deletion lib/core/models/user.dart
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class User {
factory User.fromJson(Map<String, dynamic> json) {
if (json['guest_id'] != null) json['user_id'] = json['guest_id'];
if (json['session_tokens'] != null &&
(json['session_tokens'] as List).isEmpty) {
(json['session_tokens'] as List).isNotEmpty) {
final tokens = List<Map>.from(json['session_tokens'] as List);
json['session_token'] = tokens?.first['session_token'];
}
Expand Down
4 changes: 2 additions & 2 deletions lib/sdk/internal/sendbird_sdk_internal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import 'package:sendbird_sdk/utils/async/async_queue.dart';
import 'package:sendbird_sdk/utils/logger.dart';
import 'package:sendbird_sdk/utils/parsers.dart';

const sdk_version = '3.0.10';
const platform = 'flatter';
const sdk_version = '3.0.11';
const platform = 'flutter';
const platform_version = '1.22.5';

/// Internal implementation for main class. Do not directly access this class.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ packages:
source: hosted
version: "0.1.2"
yaml:
dependency: "direct main"
dependency: transitive
description:
name: yaml
url: "https://pub.dartlang.org"
Expand Down
5 changes: 3 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: sendbird_sdk
description: The Flutter SDK for Sendbird Chat brings modern messenger chat features to your iOS and Android deployments..
version: 3.0.10
version: 3.0.11
homepage: https://www.sendbird.com
repository: https://www.github.com/sendbird/sendbird-sdk-flutter
documentation: https://sendbird.com/docs/chat/v3/flutter/getting-started/about-chat-sdk

environment:
sdk: ">=2.7.0 <3.0.0"
Expand All @@ -19,7 +21,6 @@ dependencies:
device_info: ^1.0.0
logger: ^0.9.4
mime: ^0.9.7
yaml: ^2.2.1
connectivity: ^2.0.2
meta: ^1.2.0
http_parser: ^3.1.0
Expand Down

0 comments on commit 91ff5e9

Please sign in to comment.