Notification issues
What is it about?
Some OEMs (eg: Xiaomi, Oppo etc.), implement a little too aggressive_ battery optimization feature. Crucial features like Autostart (some OEMs called it Auto-launch) for some apps are disabled by default. In that case, prayer notification can only be shown for a while, or worse, cannot be shown to you altogether.
Only applicable for Android
Well, so how to fix it?
Fortunately, there is an easy workaround that you can do to overcome this issue. Just follow the instruction below (Tested on Redmi Note 11, should be similar on other models as well).
Method 1: Onboarding screen
This method is applicable for new installation only, as the onboarding screen only shows once on the first app open. If the app is already installed, please try method 2 or 3 below.
Steps
- Open app
- On the Select notification preferences screen, you should notice the yellow admonitions at the bottom.
- Tap on Open Settings button.
- On the Autostart setting page, search for Malaysia Prayer Time MPT app (or Waktu Solat Malaysia MPT if your device's language is set to Malay). Then, enable the switch.
- Done, you can exit the setting page and continue where you left off in the app.
GIF Demo
Method 2: Notification Troubleshooting page
Steps
- Open the Malaysia Prayer Time app.
- Go to menu, and the Settings.
- Tap on Notification Settings.
- Under troubleshooting, click the Fix notification not working on some devices.
- Tap Open App Setting.
- In the Permissions section, you'll find the Autostart switch. Toggle the switch to on.
- Finish. That's it.
Method 3: App settings
This is similar to method 2 above, the difference is the way we navigate to the App Settings page to toggle the Autostart switch.
Steps
- Open your phone Settings app.
- Click on Apps > Manage apps.
- Find for Malaysia Prayer Time app.
- Tap on it, and find the Autostart setting to turn it on.
Tap and hold on the app icon to quickly open the App Setting
Remarks
For older MIUI versions, please refer to this article.
For instructions for other phones model, kindly refer to this article by qiscus.
There are a few open issues on GitHub related to the notification issues. There are cases like delayed azan time etc. I tried my best to deliver a bug-free experience to the users but sometimes there are a few things that my knowledge is limited to. Therefore, I would like to seek help from developers out there to give some input or help mitigate those issues.
- https://github.com/iqfareez/app_waktu_solat_malaysia/issues/89
- https://github.com/iqfareez/app_waktu_solat_malaysia/issues/115
- and more
Originally posted at https://bit.ly/mpt-fix-notif