Floating-Bubble-View
Floating-Bubble-View copied to clipboard
Floating Bubble View with accessibility permission
Steps to reproduce
In Android Go phones, display over other apps feature is not available. In those phones, display over other apps will work with accessibility permission. but the below check in FloatingBubbleService is breaking the flow. Is it possible to send an optional param to avoid this?
if (canDrawOverlays().not()) {
throw SecurityException("Permission Denied: \"display over other app\" permission IS NOT granted!")
}
Expected behavior
This library can work with accessibility permission as well
Actual behavior
In Android go phones without display over other apps permission, this is not working
Crash logs
No response
Floating-Bubble-View version
0.6.5
Android version
Android 13 (Go edition)
Device
poco c61
Other details
No response
Acknowledgements
- [X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
- [X] I have written a short but informative title.
- [X] I have updated the library to the latest Version.
- [X] I will fill out all of the requested information in this form.
Hi @nizam-betterapp 👋. Thank you for letting me know. I'll try to support this feature when I have time
I was struggling with the same thing, check out the next link, it solved my problem. @nizam-betterapp https://stackoverflow.com/questions/40437721/how-to-give-screen-overlay-permission-on-my-activity
@dofire this library rocks...it really save us from a lot of boilerplate code and its compatible with compose wow....congrats and best wishes🚀
@enmanuel52 TYSM for your kind words, you made my day 😄