Skip to content

Commit

Permalink
Merge pull request #10 from Flutter-Chore/develop
Browse files Browse the repository at this point in the history
feat(upgrade): export version class.
  • Loading branch information
0x7c01 authored May 24, 2023
2 parents 308be4c + 869e4b0 commit 3cfa8ec
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## 0.0.4
## 0.0.5

* Add Whether crash when lack or incorrectly config Configuration File.
* Export Version class.
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.3"
version: "0.0.4"
url_launcher:
dependency: transitive
description:
Expand Down
4 changes: 4 additions & 0 deletions lib/models/appcast.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ class Appcast {
return best;
}

void add(AppcastItem item) {
items.add(item);
}

factory Appcast.fromJson(List<Map<String, dynamic>> json) {
return Appcast(items: json.map((item) => AppcastItem.fromJson(item)).toList());
}
Expand Down
3 changes: 2 additions & 1 deletion lib/upgrade.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ export 'models/appcast.dart';
export 'models/appcast_item.dart';
export 'models/upgrade_status.dart';
export 'utils/current_version_manager.dart';
export 'utils/default_file_location.dart';
export 'utils/default_file_location.dart';
export 'package:version/version.dart';
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: upgrade
description: A Flutter plugin for prompting and help users to upgrade when there is a newer version of this app in the app store or server repository.
version: 0.0.4
version: 0.0.5

homepage: https://github.com/Flutter-Chore/Flutter-InAppUpgrade

Expand Down

0 comments on commit 3cfa8ec

Please sign in to comment.