dash_bubble 2.0.0
dash_bubble: ^2.0.0 copied to clipboard
Dash Bubble is a flutter plugin that allows you to create a floating bubble on the screen.
2.0.0 #
Breaking Changes #
- chore: 🚚 rename
requestPermission()method torequestOverlayPermission(). - chore: 🚚 rename
hasPermission()method tohasOverlayPermission(). - chore: 🚚 rename
optionsparameter instartBubble()method tobubbleOptions. - feat: ✨ add
notificationOptionsparameter tostartBubble()method and move the notification options frombubbleOptionsto the newnotificationOptions. 🛂 starting from Android 13 (Tiramisu), the service notification will not be shown unless thePOST_NOTIFICATIONSpermission is granted at the runtime, refer to 🔔 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 Section in the README file
- feat: ✨ add new options to customize the notification, which are
id,channelId, andchannelName - refactor: ♻️ separate notification options from the bubble options
- docs: 📝 update the documentation
1.0.0 #
- Breaking: chore: 🚚 rename
onBubbleTap()callback toonTap()instartBubble()method - Breaking: feat: ✨ convert the values of
startLocationXandstartLocationYto be in density-independent pixels (dp) instead of pixels (px) as per Flutter convention - build: ⬆️ bump native dependency version to
v0.5.0 - feat: ✨ add 3 new parameters to the bubble options (
opacity,closeBehavior, anddistanceToClose) - feat: ✨ implement the rest of the available callbacks
onTapDown(x, y),onTapUp(x, y), andonMove(x ,y)with refactor to the native code - feat: ✨ Adopt pixel-independent values for all the measurements from now on as per Flutter convention
- chore: 🥅 add some assertions to
BubbleOptionsfor more robustness - style: ✏️ fix the spacing in the logged error messages
- chore: 🙈 remove some temporarily ignored files from .gitignore
- docs: 📝 update the documentation
0.0.2 #
- build: ⬆️ upgrade the version of the native dependency
- fix: 🐛 crash when start bubble immediately from background after exiting permission request
- feat: ✨ update the plugin behavior to return
falsein all the methods if the platform is not Android - chore: 🏷️ change int parameters in
bubble_optionsto bedouble - refactor: 🔒 hide private libraries from the api
- refactor: 🚚
ERROR_CODE->ERROR_TAGin constants at kotlin code - docs: 💡 power up the example with custom bubble icon
- docs: 📝 improve the documentation
0.0.1 #
- Initial release 🎉
