Phones ring during Salah. This is distracting, especially when praying in congregation at the Masjid.
When the MasjidBox app detects the phone is at any masjid, the app silences the phone ringer.
Silence the phone ringer after Athan and restore the previous ringer settings 30 minutes after Iqamah
The solution assumes:
MasjidBox is already keeping a record of the address/location of a Masjid when it enrolls into the program
Asking the user for their location and managing the ringer settings is within company policy
The user approves the necessary permission requests.
To determine if the phone is at a masjid, the app could compare the location of the phone and the location of the masajid in itβs database. If theyβre close to each other, say within a 100ft radius, the app would silence the phone. Once the phone is outside of that radius, the phone ringer would be restored to its previous state.
The location comparison can be done on a regular and reasonable interval, maybe every 15 minutes.
The solution assumes:
Asking the user to manage the ringer settings is within company policy
The user approves the necessary permission requests.
An event is already processed at Athan time (the notification). Process another event to mute the ringer. Schedule a second event 30 minutes after Iqama to restore the ringer settings.
Solution #2
requires less permissions (no location)
more straightforward calculation (no comparison with the list of all masajid)
more performative (no code execution at regular intervals)
uses the existing pattern of event processing at athan time
broader solution (the phone is silenced even if the user prays at home)
Remind attendees before salah to mute their phones. The reminder is ignored
JazakAllahu Khairan
Please authenticate to join the conversation.
In Review
π‘ Feature request
30 days ago
Get notified by email when there are changes.
In Review
π‘ Feature request
30 days ago
Get notified by email when there are changes.