Skip to content

Commit

Permalink
build: 🔖 bump the version to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
moazelsawaf committed May 26, 2023
1 parent 5013ed2 commit 786c121
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## 2.0.0

### Breaking Changes

* chore: 🚚 rename `requestPermission()` method to `requestOverlayPermission()`.
* chore: 🚚 rename `hasPermission()` method to `hasOverlayPermission()`.
* chore: 🚚 rename `options` parameter in `startBubble()` method to `bubbleOptions`.
* feat: ✨ add `notificationOptions` parameter to `startBubble()` method and move the notification options from `bubbleOptions` to the new `notificationOptions`.
🛂 starting from Android 13 (Tiramisu), the service notification will not be shown unless the `POST_NOTIFICATIONS` permission is granted at the runtime, refer to [🔔 Service Notification](https://github.com/moazelsawaf/dash_bubble#-service-notification) Section in the README file

### Other Changes

* build: ⬆️ bump the native dependency version to `v5.3.0`
* build: 🔧 applied some refactoring and migration to the native code
* refactor: 👔 update the service notification logic, refer to [🔔 Service Notification](https://github.com/moazelsawaf/dash_bubble#-service-notification) Section in the README file
* feat: ✨ add new options to customize the notification, which are `id`, `channelId`, and `channelName`
* refactor: ♻️ separate notification options from the bubble options
* docs: 📝 update the documentation


## 1.0.0

* **Breaking:** chore: 🚚 rename `onBubbleTap()` callback to `onTap()` in `startBubble()` method
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.0"
version: "2.0.0"
fake_async:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dash_bubble
description: Dash Bubble is a flutter plugin that allows you to create a floating bubble on the screen.
version: 1.0.0
version: 2.0.0
repository: https://github.com/moazelsawaf/dash_bubble
issue_tracker: https://github.com/moazelsawaf/dash_bubble/issues
screenshots:
Expand Down

0 comments on commit 786c121

Please sign in to comment.