Skip to content

Commit dea75f7

Browse files
committed
0.2.4
1 parent d2c7486 commit dea75f7

File tree

6 files changed

+21
-37
lines changed

6 files changed

+21
-37
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.2.4
2+
3+
- Refactor version upgrade
4+
- Remove download support
5+
16
## 0.2.3
27

38
- Fix some minor bugs

README.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,6 @@ import 'package:direct_link/direct_link.dart';
5252
var directLink = DirectLink();
5353
```
5454

55-
Initialize the plugin for notification
56-
57-
```dart
58-
directLink.init(
59-
allowNotification: true,
60-
androidInitializationSettings:
61-
const AndroidInitializationSettings('launch_background'), // add your logo
62-
);
63-
```
64-
65-
6655
Use `check` function to check your link have been existed my support sites
6756

6857
```dart
@@ -85,16 +74,6 @@ if (data != null) {
8574
}
8675
```
8776

88-
If you want to download use `download` function.
89-
90-
```dart
91-
await directLink.download(
92-
url: data.links[0].link, // use link from data.links
93-
savedDir: dir,
94-
fileName: fileName,
95-
);
96-
```
97-
9877
## Contribution
9978

10079
Feel free to file an [issue](https://github.com/thitlwincoder/direct_link/issues/new) if you find a problem or make pull requests.

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,4 +982,4 @@ packages:
982982
version: "3.1.2"
983983
sdks:
984984
dart: ">=3.5.0 <4.0.0"
985-
flutter: ">=3.22.0"
985+
flutter: ">=3.24.0"

example/pubspec.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ dependencies:
1616

1717
direct_link:
1818
path: ../
19-
cached_network_image: ^3.3.1
20-
file_picker: ^8.0.6
21-
go_router: ^14.2.1
19+
cached_network_image: ^3.4.1
20+
file_picker: ^8.1.2
21+
go_router: ^14.2.7
2222

2323
dev_dependencies:
24-
riverpod_generator: ^2.4.0
25-
build_runner: ^2.4.11
26-
custom_lint: ^0.6.4
27-
riverpod_lint: ^2.3.10
24+
riverpod_generator: ^2.4.3
25+
build_runner: ^2.4.12
26+
custom_lint: ^0.6.5
27+
riverpod_lint: ^2.3.13
2828
very_good_analysis: ^6.0.0
29-
go_router_builder: ^2.7.0
29+
go_router_builder: ^2.7.1
3030

3131
flutter:
3232
uses-material-design: true

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,5 +374,5 @@ packages:
374374
source: hosted
375375
version: "1.0.0"
376376
sdks:
377-
dart: ">=3.4.0 <4.0.0"
378-
flutter: ">=3.18.0-18.0.pre.54"
377+
dart: ">=3.5.0 <4.0.0"
378+
flutter: ">=3.24.0"

pubspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: direct_link
22
description: Direct link extractor from URL to stream and download directly.
3-
version: 0.2.3
3+
version: 0.2.4
44
repository: https://github.com/thitlwincoder/direct_link
55
issue_tracker: https://github.com/thitlwincoder/direct_link/issues
66

77
environment:
8-
sdk: ">=3.1.0 <4.0.0"
9-
flutter: ">=1.17.0"
8+
sdk: ^3.5.0
9+
flutter: ^3.24.0
1010

1111
platforms:
1212
android:
@@ -17,15 +17,15 @@ platforms:
1717
windows:
1818

1919
funding:
20-
- https://paypal.me/thitlwin312
20+
- https://paypal.me/thitlwinsoe260
2121
- https://ko-fi.com/thitlwincoder
2222

2323
dependencies:
2424
flutter:
2525
sdk: flutter
2626

2727
html: ^0.15.4
28-
puppeteer: ^3.12.0
28+
puppeteer: ^3.13.0
2929
flutter_inappwebview: ^6.0.0
3030

3131
dev_dependencies:

0 commit comments

Comments
 (0)