Skip to content

[Notification] App lag on theme change #31

Closed

Description

@iqfareez

As i stated in releases page:

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.

Activity

  1. changed the title [-]App lag at few places[/-] [+][Notification] App lag on start[/+] on Nov 30, 2020
  2. iqfareez commented on Nov 30, 2020

    @iqfareez
    MemberAuthor

    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.

  3. iqfareez commented on Nov 30, 2020

    @iqfareez
    MemberAuthor

    Proposed workarounds:

    Add if statements so that the notification won't get scheduled if it is unnecessary.

  4. pinned this issue on Nov 30, 2020
  5. iqfareez commented on Dec 1, 2020

    @iqfareez
    MemberAuthor

    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)

  6. iqfareez commented on Dec 1, 2020

    @iqfareez
    MemberAuthor

    Should be fixed in latest release candidate

  7. iqfareez commented on Dec 2, 2020

    @iqfareez
    MemberAuthor
  8. iqfareez commented on Dec 3, 2020

    @iqfareez
    MemberAuthor

    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 ??

    At this point I don't know what to do hshhs

  9. changed the title [-][Notification] App lag on start[/-] [+][Notification] App lag on theme change[/+] on Dec 3, 2020
  10. iqfareez commented on Jan 23, 2021

    @iqfareez
    MemberAuthor

    Should fixed in latest release BETA III
    Will push to stable when test pass.

  11. iqfareez commented on Jan 25, 2021

    @iqfareez
    MemberAuthor

    pr #43 , should be in PRODUCTION anytime soon

  12. unpinned this issue on Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcriticalNeed quic fix!enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions