diff --git a/CHANGELOG.md b/CHANGELOG.md
index df4442a..84cc512 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.9.4
+* 🍱 Convert images to webp.
+* ⬆️ Upgrade dependencies.
+
## 1.9.3
* 🐛 Force returning false for `areActivitiesEnabled()` when no iOS devices.
diff --git a/README.md b/README.md
index 47a7a8e..cb813d1 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-
+
@@ -14,7 +14,7 @@
@@ -33,11 +33,11 @@ This plugin uses the [iOS ActivityKit API](https://developer.apple.com/documenta
@@ -57,11 +57,11 @@ You need to **implement** in your Flutter iOS project a **Widget Extension** & d
- Click on **Finish**.
- When selecting Finish, an alert will appear, you will need to click on **Activate**.
-
+
- Add the "Push Notifications" capabilities for the main `Runner` app **only**!.
-
+
- Enable live activity by adding this line in `Info.plist` for both `Runner` and your `Widget Extension`.
@@ -70,13 +70,13 @@ You need to **implement** in your Flutter iOS project a **Widget Extension** & d
```
-
+
- Add the "App Group" capability for both `Runner` and your widget extension.
After you add the capability, check the checkmark next to the text field that contains an identifier of the form `group.example.myapp`.
This identifier will be used later and refered to as `YOUR_GROUP_ID`.
-
+
@@ -219,7 +219,7 @@ In order to pass some useful **data** between your **native** live activity / dy
- Add a custom url scheme in Xcode by navigating to **Runner** > **Runner** > **URL Types** > **URL Schemes**
-
+
- In your Swift code, just create a new **link** and open to your custom **URL Scheme**
diff --git a/example/pubspec.lock b/example/pubspec.lock
index 7c8a50a..95436f6 100644
--- a/example/pubspec.lock
+++ b/example/pubspec.lock
@@ -69,10 +69,10 @@ packages:
dependency: transitive
description:
name: ffi
- sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21"
+ sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6"
url: "https://pub.dev"
source: hosted
- version: "2.1.2"
+ version: "2.1.3"
flutter:
dependency: "direct main"
description: flutter
@@ -103,18 +103,18 @@ packages:
dependency: transitive
description:
name: leak_tracker
- sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
+ sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
url: "https://pub.dev"
source: hosted
- version: "10.0.4"
+ version: "10.0.5"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
- sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
+ sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
url: "https://pub.dev"
source: hosted
- version: "3.0.3"
+ version: "3.0.5"
leak_tracker_testing:
dependency: transitive
description:
@@ -137,7 +137,7 @@ packages:
path: ".."
relative: true
source: path
- version: "1.9.2"
+ version: "1.9.4"
matcher:
dependency: transitive
description:
@@ -150,18 +150,18 @@ packages:
dependency: transitive
description:
name: material_color_utilities
- sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
+ sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev"
source: hosted
- version: "0.8.0"
+ version: "0.11.1"
meta:
dependency: transitive
description:
name: meta
- sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
+ sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
url: "https://pub.dev"
source: hosted
- version: "1.12.0"
+ version: "1.15.0"
path:
dependency: transitive
description:
@@ -174,18 +174,18 @@ packages:
dependency: transitive
description:
name: path_provider
- sha256: c9e7d3a4cd1410877472158bee69963a4579f78b68c65a2b7d40d1a7a88bb161
+ sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378
url: "https://pub.dev"
source: hosted
- version: "2.1.3"
+ version: "2.1.4"
path_provider_android:
dependency: transitive
description:
name: path_provider_android
- sha256: bca87b0165ffd7cdb9cad8edd22d18d2201e886d9a9f19b4fb3452ea7df3a72a
+ sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7"
url: "https://pub.dev"
source: hosted
- version: "2.2.6"
+ version: "2.2.10"
path_provider_foundation:
dependency: transitive
description:
@@ -214,10 +214,10 @@ packages:
dependency: transitive
description:
name: path_provider_windows
- sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170"
+ sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7
url: "https://pub.dev"
source: hosted
- version: "2.2.1"
+ version: "2.3.0"
platform:
dependency: transitive
description:
@@ -283,10 +283,10 @@ packages:
dependency: transitive
description:
name: test_api
- sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
+ sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
url: "https://pub.dev"
source: hosted
- version: "0.7.0"
+ version: "0.7.2"
vector_math:
dependency: transitive
description:
@@ -299,18 +299,10 @@ packages:
dependency: transitive
description:
name: vm_service
- sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
- url: "https://pub.dev"
- source: hosted
- version: "14.2.1"
- win32:
- dependency: transitive
- description:
- name: win32
- sha256: a79dbe579cb51ecd6d30b17e0cae4e0ea15e2c0e66f69ad4198f22a6789e94f4
+ sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
- version: "5.5.1"
+ version: "14.2.5"
xdg_directories:
dependency: transitive
description:
diff --git a/images/logo.jpg b/images/logo.jpg
deleted file mode 100644
index a3d59a9..0000000
Binary files a/images/logo.jpg and /dev/null differ
diff --git a/images/logo.webp b/images/logo.webp
new file mode 100644
index 0000000..3eccbe0
Binary files /dev/null and b/images/logo.webp differ
diff --git a/images/radion.png b/images/radion.png
deleted file mode 100644
index 085cc04..0000000
Binary files a/images/radion.png and /dev/null differ
diff --git a/images/radion.webp b/images/radion.webp
new file mode 100644
index 0000000..ef29d39
Binary files /dev/null and b/images/radion.webp differ
diff --git a/images/showcase/animations/create_live_activity.gif b/images/showcase/animations/create_live_activity.gif
deleted file mode 100644
index c718f34..0000000
Binary files a/images/showcase/animations/create_live_activity.gif and /dev/null differ
diff --git a/images/showcase/animations/create_live_activity.webp b/images/showcase/animations/create_live_activity.webp
new file mode 100644
index 0000000..1830e0a
Binary files /dev/null and b/images/showcase/animations/create_live_activity.webp differ
diff --git a/images/showcase/animations/update_live_activity.gif b/images/showcase/animations/update_live_activity.gif
deleted file mode 100644
index 82c97af..0000000
Binary files a/images/showcase/animations/update_live_activity.gif and /dev/null differ
diff --git a/images/showcase/animations/update_live_activity.webp b/images/showcase/animations/update_live_activity.webp
new file mode 100644
index 0000000..bca4e0f
Binary files /dev/null and b/images/showcase/animations/update_live_activity.webp differ
diff --git a/images/showcase/static/dynamic_island.png b/images/showcase/static/dynamic_island.png
deleted file mode 100644
index e47712f..0000000
Binary files a/images/showcase/static/dynamic_island.png and /dev/null differ
diff --git a/images/showcase/static/dynamic_island.webp b/images/showcase/static/dynamic_island.webp
new file mode 100644
index 0000000..8dff493
Binary files /dev/null and b/images/showcase/static/dynamic_island.webp differ
diff --git a/images/showcase/static/lockscreen_live_activity.png b/images/showcase/static/lockscreen_live_activity.png
deleted file mode 100644
index 71fa44b..0000000
Binary files a/images/showcase/static/lockscreen_live_activity.png and /dev/null differ
diff --git a/images/showcase/static/lockscreen_live_activity.webp b/images/showcase/static/lockscreen_live_activity.webp
new file mode 100644
index 0000000..622e1af
Binary files /dev/null and b/images/showcase/static/lockscreen_live_activity.webp differ
diff --git a/images/tutorial/app_group.gif b/images/tutorial/app_group.gif
deleted file mode 100644
index ed6bdd9..0000000
Binary files a/images/tutorial/app_group.gif and /dev/null differ
diff --git a/images/tutorial/app_group.webp b/images/tutorial/app_group.webp
new file mode 100644
index 0000000..7feb984
Binary files /dev/null and b/images/tutorial/app_group.webp differ
diff --git a/images/tutorial/create_widget_extension.gif b/images/tutorial/create_widget_extension.gif
deleted file mode 100644
index fb12985..0000000
Binary files a/images/tutorial/create_widget_extension.gif and /dev/null differ
diff --git a/images/tutorial/create_widget_extension.webp b/images/tutorial/create_widget_extension.webp
new file mode 100644
index 0000000..d9a708e
Binary files /dev/null and b/images/tutorial/create_widget_extension.webp differ
diff --git a/images/tutorial/enable_live_activities.gif b/images/tutorial/enable_live_activities.gif
deleted file mode 100644
index 2658db8..0000000
Binary files a/images/tutorial/enable_live_activities.gif and /dev/null differ
diff --git a/images/tutorial/enable_live_activities.webp b/images/tutorial/enable_live_activities.webp
new file mode 100644
index 0000000..3918f9d
Binary files /dev/null and b/images/tutorial/enable_live_activities.webp differ
diff --git a/images/tutorial/push_capability.gif b/images/tutorial/push_capability.gif
deleted file mode 100644
index c023bba..0000000
Binary files a/images/tutorial/push_capability.gif and /dev/null differ
diff --git a/images/tutorial/push_capability.webp b/images/tutorial/push_capability.webp
new file mode 100644
index 0000000..b9321d4
Binary files /dev/null and b/images/tutorial/push_capability.webp differ
diff --git a/images/tutorial/url_scheme.png b/images/tutorial/url_scheme.png
deleted file mode 100644
index ef26037..0000000
Binary files a/images/tutorial/url_scheme.png and /dev/null differ
diff --git a/images/tutorial/url_scheme.webp b/images/tutorial/url_scheme.webp
new file mode 100644
index 0000000..c7ca55b
Binary files /dev/null and b/images/tutorial/url_scheme.webp differ
diff --git a/pubspec.yaml b/pubspec.yaml
index d654b4f..47abe34 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
name: live_activities
description: A Flutter plugin to use iOS 16.1+ Live Activities & iPhone 14 Pro Dynamic Island features
-version: 1.9.3
+version: 1.9.4
homepage: https://dimitridessus.fr/
repository: https://github.com/istornz/live_activities
@@ -10,22 +10,22 @@ environment:
screenshots:
- description: 'Display a live activity on the iPhone 14 Pro+ dynamic island.'
- path: images/showcase/static/dynamic_island.png
+ path: images/showcase/static/dynamic_island.webp
- description: 'Display a live activity on the lockscreen.'
- path: images/showcase/static/lockscreen_live_activity.png
+ path: images/showcase/static/lockscreen_live_activity.webp
- description: 'Create a new live activity with the live_activities plugin.'
- path: images/showcase/animations/create_live_activity.gif
+ path: images/showcase/animations/create_live_activity.webp
- description: 'Update a live activity with the live_activities plugin.'
- path: images/showcase/animations/update_live_activity.gif
+ path: images/showcase/animations/update_live_activity.webp
- description: 'live_activities plugin logo.'
- path: images/logo.jpg
+ path: images/logo.webp
dependencies:
flutter:
sdk: flutter
plugin_platform_interface: ^2.1.8
app_group_directory: ^2.0.0
- path_provider: ^2.1.3
+ path_provider: ^2.1.4
flutter_native_image: ^0.0.6+1
dev_dependencies: