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 π
