Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing wifi state receiver unregistration on cancel #32

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

albertmoravec
Copy link
Contributor

Wifi adapter state receiver which is registered when wifi scanner is started was not unregistered upon cancel() call. When app was sent to background and receiver tried to handle incoming message an exception was raised because of missing background location permissions.

Receiver is now unregistered when scanning is cancelled.

@albertmoravec albertmoravec merged commit 0e3c7db into master Apr 11, 2024
1 check passed
@albertmoravec albertmoravec deleted the fix/DT-3001-event-receiver-unregister branch April 11, 2024 09:48
marianhlavac pushed a commit that referenced this pull request Jun 11, 2024
# [0.18.0](v0.17.0...v0.18.0) (2024-06-11)

### Bug Fixes

* pass rssi to update method when receiving message pack ([5af8a37](5af8a37))
* rssi of messages in message pack ([#33](#33)) ([845cac2](845cac2))
* Unregister receiver on cancellation ([11bbc04](11bbc04))

### Features

* Add missing wifi state receiver unregistration on cancel ([#32](#32)) ([0e3c7db](0e3c7db))
* Add toString method for MessageContainer ([0174cfb](0174cfb))
@marianhlavac
Copy link
Member

🎉 This PR is included in version 0.18.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

marianhlavac pushed a commit that referenced this pull request Jun 11, 2024
# [0.18.0](v0.17.0...v0.18.0) (2024-06-11)

### Bug Fixes

* pass rssi to update method when receiving message pack ([5af8a37](5af8a37))
* rssi of messages in message pack ([#33](#33)) ([845cac2](845cac2))
* Unregister receiver on cancellation ([11bbc04](11bbc04))

### Features

* Add missing wifi state receiver unregistration on cancel ([#32](#32)) ([0e3c7db](0e3c7db))
* Add toString method for MessageContainer ([0174cfb](0174cfb))
@marianhlavac
Copy link
Member

🎉 This PR is included in version 0.18.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants