Skip to content

Commit 16e7ad3

Browse files
committed
Update change log, version and fix sample app UI
1 parent 0fea485 commit 16e7ad3

File tree

8 files changed

+19
-12
lines changed

8 files changed

+19
-12
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 2.2.0
2+
3+
### Added
4+
5+
* Now you can get the user email address through the `email` getter in `AccessToken` once the user grant you the permission. [#58](https://github.com/line/flutter_line_sdk/pull/58)
6+
7+
### Fixed
8+
9+
* Modernize project settings and upgrade Dark SDK version.
10+
111
## 2.1.0
212

313
### Added

example/ios/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
22
- Flutter (1.0.0)
3-
- flutter_line_sdk (2.1.0):
3+
- flutter_line_sdk (2.2.0):
44
- Flutter
55
- LineSDKSwift (~> 5.3)
66
- LineSDKSwift (5.4.0):
@@ -23,7 +23,7 @@ EXTERNAL SOURCES:
2323

2424
SPEC CHECKSUMS:
2525
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
26-
flutter_line_sdk: b4936acf03e5db45a412d79276f3483e4f27f0c7
26+
flutter_line_sdk: d944c3907ef53be11ac5bf2484f87df93eb5b39c
2727
LineSDKSwift: 25bc89f5f08578a39ec2dcb36ee58e2f920e893c
2828

2929
PODFILE CHECKSUM: 8365118b814fe42c5cc8cc139acc71bf3e2395df

example/lib/src/screen/home_page.dart

+2-6
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ class _HomePageState extends State<HomePage>
128128
child: FilterChip(
129129
label: Text(scope, style: TextStyle(color: textColor)),
130130
selectedColor: accentColor,
131+
backgroundColor: secondaryBackgroundColor,
131132
selected: _selectedScopes.contains(scope),
132133
onSelected: (_) {
133134
setState(() {
@@ -194,9 +195,4 @@ class _HomePageState extends State<HomePage>
194195
}
195196
}
196197

197-
const List<String> _scopes = <String>[
198-
'profile',
199-
'openid',
200-
'email',
201-
'customScope',
202-
];
198+
const List<String> _scopes = <String>['profile', 'openid', 'email'];

example/lib/src/theme.dart

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import 'package:flutter/material.dart';
22

33
const Color textColor = Colors.white;
4+
final Color secondaryBackgroundColor = Colors.grey.shade300;
45
const Color accentColor = const Color(0xFF58BF38);
56
const Color darkAccentColor = const Color(0xFF50AF33);

example/pubspec.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ packages:
6868
path: ".."
6969
relative: true
7070
source: path
71-
version: "2.1.0"
71+
version: "2.2.0"
7272
flutter_test:
7373
dependency: "direct dev"
7474
description: flutter

example/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: flutter_line_sdk_example
22
description: Demonstrates how to use the flutter_line_sdk plugin.
33
publish_to: 'none'
4-
version: 2.1.0+172
4+
version: 2.2.0+183
55

66
environment:
77
sdk: '>=2.12.0 <3.0.0'

ios/flutter_line_sdk.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'flutter_line_sdk'
3-
s.version = '2.1.0'
3+
s.version = '2.2.0'
44
s.summary = 'A Flutter plugin for using the LINE SDKs with Dart in Flutter apps.'
55
s.description = <<-DESC
66
A Flutter plugin using the LINE SDKs with Dart in Flutter apps.

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_line_sdk
22
description: A Flutter plugin for using the LINE SDKs with Dart in Flutter apps.
3-
version: 2.1.0
3+
version: 2.2.0
44
homepage: https://developers.line.biz/
55
repository: https://github.com/line/flutter_line_sdk/
66

0 commit comments

Comments
 (0)