feat: WiFi BSSID based alarm cancellation (Addition to Smart Controls)#822
feat: WiFi BSSID based alarm cancellation (Addition to Smart Controls)#822kushchoudhary98 wants to merge 2 commits intoCCExtractor:mainfrom
Conversation
|
Hey @MarkisDev, can you please review this. |
|
Hii @kushchoudhary98 i have tested the wifi SSID based in my device iam getting an issue WhatsApp.Video.2025-04-18.at.02.27.14.mp4the issue is when clicking on the WiFi SSID smart control, it's calling the controller's checkAndRequestPermission() method which is designed for location permissions, not WiFi permissions. This is why the dialog isn't properly opening. |
|
@mahendra-918 as a matter of fact, this is also an issue with Location-Based & Weather-Based conditions. In the below video I denied Location access and it still allows me to select the Weather Types and opens the menu for Location Selection. WhatsApp.Video.2025-04-21.at.13.15.52.mp4And If I go ahead with it, the app crashes... |
|
I will soon be raising a PR for this. Great find @mahendra-918. |


Description
This PR adds a new condition,
WiFi Based alarm cancellation, to the Smart Controls.By using this feature, the user will be able to auto-cancel the alarm when their device is connected to the specified Wi-Fi network.
There may occur three different conditions when alarm is about to ring (when this feature is turned ON):
Proposed Changes
To the
Alarm Model&Profile Modelwifi_based_tile.dartWifiManagerService.ktFixes #802
Screenshots
Checklist