From 7743ccb8ad8f0438b8a7ec8ad05965a171994eec Mon Sep 17 00:00:00 2001 From: Anton Borries Date: Fri, 23 Dec 2022 16:01:24 +0100 Subject: [PATCH] Prepare 0.2.0 Release --- CHANGELOG.md | 32 +++++++++---------- README.md | 12 +++---- example/ios/Flutter/AppFrameworkInfo.plist | 2 +- example/ios/Runner.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/xcschemes/Runner.xcscheme | 2 +- example/ios/Runner/Info.plist | 2 ++ example/lib/main.dart | 1 + pubspec.yaml | 2 +- 8 files changed, 28 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad63ced9..02e84825 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,17 @@ +## 0.2.0 +* Fix missing `@pragma("vm:entry-point")` for Background Callbacks [#99](https://github.com/ABausG/home_widget/pull/99) by [linziyou0601](https://github.com/linziyou0601) +* Update HomeWidgetBackgroundService.kt [#98](https://github.com/ABausG/home_widget/pull/98) by [roly151](https://github.com/roly151) +* README Improvements by [aaronkelton](https://github.com/aaronkelton) and [hadysata](https://github.com/hadysata) + ## 0.1.6 -* Allow the specification of fully qualified android name [#62](https://github.com/ABausG/home_widget/pull/62) by [ - NicolaVerbeeck](https://github.com/NicolaVerbeeck) +* Allow the specification of fully qualified android name [#62](https://github.com/ABausG/home_widget/pull/62) by [NicolaVerbeeck](https://github.com/NicolaVerbeeck) ### Fixes -* Fix paths in README [#73](https://github.com/ABausG/home_widget/pull/73) by [ - AndyRusso](https://github.com/AndyRusso) -* Migrate example to Android embedding v2 [#80](https://github.com/ABausG/home_widget/pull/80) by [ - ronnieeeeee](https://github.com/ronnieeeeee) -* Fix onNewIntent in Flutter 3 [#84](https://github.com/ABausG/home_widget/pull/84) by [ - josepedromonteiro](https://github.com/josepedromonteiro) and [ - stepushchik-denis-gismart](https://github.com/stepushchik-denis-gismart) +* Fix paths in README [#73](https://github.com/ABausG/home_widget/pull/73) by [AndyRusso](https://github.com/AndyRusso) +* Migrate example to Android embedding v2 [#80](https://github.com/ABausG/home_widget/pull/80) by [ronnieeeeee](https://github.com/ronnieeeeee) +* Fix onNewIntent in Flutter 3 [#84](https://github.com/ABausG/home_widget/pull/84) by [josepedromonteiro](https://github.com/josepedromonteiro) and [ +stepushchik-denis-gismart](https://github.com/stepushchik-denis-gismart) ## 0.1.5 @@ -19,12 +20,9 @@ ## 0.1.4 * Fix `HomeWidget.updateWidget` not completing on iOS [#26](https://github.com/ABausG/home_widget/issues/26) -* Fix casting Error on Registering Background Callback [#31](https://github.com/ABausG/home_widget/pull/31) by [ - aljkor](https://github.com/aljkor) -* Fix collision for Deeplinks [#42](https://github.com/ABausG/home_widget/pull/42) by [ - mgonzalezc](https://github.com/mgonzalezc) -* Make Android PendingIntents immutable for Android 12 [#49](https://github.com/ABausG/home_widget/pull/49) by [ - mgonzalezc](https://github.com/mgonzalezc) +* Fix casting Error on Registering Background Callback [#31](https://github.com/ABausG/home_widget/pull/31) by [aljkor](https://github.com/aljkor) +* Fix collision for Deeplinks [#42](https://github.com/ABausG/home_widget/pull/42) by [mgonzalezc](https://github.com/mgonzalezc) +* Make Android PendingIntents immutable for Android 12 [#49](https://github.com/ABausG/home_widget/pull/49) by [mgonzalezc](https://github.com/mgonzalezc) * Update Gradle Versions and target Android SDK 31 * Fix Issues rrelating to `initiallyLaunchedFromHomeWidget` * [#48](https://github.com/ABausG/home_widget/issues/48) Call not completing on iOS @@ -72,8 +70,8 @@ ## 0.0.2 * Background Updates - * Add Paragraph on explaining background updates - * Extend example to include background updates using [flutter_workmanager](https://pub.dev/packages/workmanager) + * Add Paragraph on explaining background updates + * Extend example to include background updates using [flutter_workmanager](https://pub.dev/packages/workmanager) ## 0.0.1+4 diff --git a/README.md b/README.md index 09524cf3..eed7a112 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ # Home Widget [![Pub](https://img.shields.io/pub/v/home_widget.svg)](https://pub.dartlang.org/packages/home_widget) -[![likes](https://badges.bar/home_widget/likes)](https://pub.dev/packages/home_widget/score) -[![popularity](https://badges.bar/home_widget/popularity)](https://pub.dev/packages/home_widget/score) -[![pub points](https://badges.bar/home_widget/pub%20points)](https://pub.dev/packages/home_widget/score) +[![likes](https://img.shields.io/pub/likes/home_widget)](https://pub.dev/packages/home_widget/score) +[![popularity](https://img.shields.io/pub/popularity/home_widget)](https://pub.dev/packages/home_widget/score) +[![pub points](https://img.shields.io/pub/points/home_widget)](https://pub.dev/packages/home_widget/score) [![Build](https://github.com/abausg/home_widget/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/ABausG/home_widget/actions/workflows/main.yml?query=branch%3Amain) [![codecov](https://codecov.io/gh/ABausG/home_widget/branch/main/graph/badge.svg?token=ZXTZOL6KFO)](https://codecov.io/gh/ABausG/home_widget) HomeWidget is a Plugin to make it easier to create HomeScreen Widgets on Android and iOS. HomeWidget does **not** allow writing Widgets with Flutter itself. It still requires writing the Widgets with native code. However, it provides a unified Interface for sending data, retrieving data and updating the Widgets -| iOS | Android | -| ----- | ----- | -| | | +| iOS |  Android | +|----------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| +| | | ## Platform Setup In order to work correctly there needs to be some platform specific setup. Check below on how to add support for Android and iOS diff --git a/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist index f2872cf4..4f8d4d24 100644 --- a/example/ios/Flutter/AppFrameworkInfo.plist +++ b/example/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 9.0 + 11.0 diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 893a29c3..496c3861 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -236,7 +236,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 1200; - LastUpgradeCheck = 1020; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index a28140cf..3db53b6e 100644 --- a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ UIViewControllerBasedStatusBarAppearance + CADisableMinimumFrameDurationOnPhone + diff --git a/example/lib/main.dart b/example/lib/main.dart index 6b672589..325ef699 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -32,6 +32,7 @@ void callbackDispatcher() { } /// Called when Doing Background Work initiated from Widget +@pragma("vm:entry-point") void backgroundCallback(Uri data) async { print(data); diff --git a/pubspec.yaml b/pubspec.yaml index 4e2f39cb..c544a02f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: home_widget description: A plugin to provide a common interface for creating HomeScreen Widgets for Android and iOS. -version: 0.1.6 +version: 0.2.0 repository: https://github.com/ABausG/home_widget environment: