moazelsawaf / dash_bubble

A Flutter plugin that allows you to create a floating bubble on the screen 💙
https://pub.dev/packages/dash_bubble
BSD 3-Clause "New" or "Revised" License
46 stars 15 forks source link

Crash due to BubbleService.onTaskRemoved #22

Open Copperbolt25 opened 3 months ago

Copperbolt25 commented 3 months ago

lateinit property bubbleOptions has not been initialized dev.moaz.dash_bubble.src.BubbleService.onTaskRemoved (BubbleService.java:9)

I am getting this crashlytics error crash. Although I am checking if the permission is given before I called stopBubblefunction

void stopBubble() async { if (await DashBubble.instance.hasOverlayPermission()) { if (await DashBubble.instance.isRunning()) { DashBubble.instance.stopBubble(); } } }