You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the app become slow / unresponsive for like split seconds. Eg: Transition between splash screen and main UI, also CupertinoButton in Settings page animation lags. This is likely due to notification scheduling that takes time in the background.
This is not a big deal right? I think there an easy fix out there. I'll try to fix this problem.
Since today is the beginning of the month. The issue is much noticeable. When the app start. The app will schedule for upcoming notification. I see here scheduling multiple notifications (5 daily prayer time * 30 days) is the issue. Will try to make it async or limit the number or smth.
Reopen and renamed this issue because it the problem still occurs when user switch theme. When user switch theme GetMaterialApp will be invoked thus 'restarted' the app with selected new theme. So, my hypothesis is that the isolate function didn't work well to 'isolate' the thread ??
Activity
[-]App lag at few places[/-][+][Notification] App lag on start[/+]iqfareez commentedon Nov 30, 2020
Since today is the beginning of the month. The issue is much noticeable. When the app start. The app will schedule for upcoming notification. I see here scheduling multiple notifications (5 daily prayer time * 30 days) is the issue. Will try to make it async or limit the number or smth.
iqfareez commentedon Nov 30, 2020
Proposed workarounds:
Add if statements so that the notification won't get scheduled if it is unnecessary.
iqfareez commentedon Dec 1, 2020
Because of this issue, I had no choice other than to unpublish the app on the Google Play Store to prevent users from giving low rating.
Will republish until the issue is fix partially (or hopefully completely)
iqfareez commentedon Dec 1, 2020
Should be fixed in latest release candidate
iqfareez commentedon Dec 2, 2020
Fixed in the latest release
Read:
https://telegra.ph/MPT-Changelogs---Malaysia-Prayer-Time-Flutter-07-20
iqfareez commentedon Dec 3, 2020
Reopen and renamed this issue because it the problem still occurs when user switch theme. When user switch theme
GetMaterialAppwill be invoked thus 'restarted' the app with selected new theme. So, my hypothesis is that the isolate function didn't work well to 'isolate' the thread ??At this point I don't know what to do hshhs
[-][Notification] App lag on start[/-][+][Notification] App lag on theme change[/+]iqfareez commentedon Jan 23, 2021
Should fixed in latest release BETA III
Will push to stable when test pass.
iqfareez commentedon Jan 25, 2021
pr #43 , should be in PRODUCTION anytime soon