Skip to content

Enhanced Data Update Logic Based on Time and Connectivity for Improved App Efficiency #190

Description

@tvup

Implement a specific condition for updates based on time: The app should automatically attempt to update if it is reopened after 1 pm, regardless of the quality of the network connection, provided the last time the app was used was before 1 pm. This update is essential because new pricing data becomes available post-1 pm.

Regarding connectivity: If the device has a weak connection or is offline, and both the previous and current times of interaction with the app are before 1 pm, the app should refrain from making network requests. This approach conserves data usage for times when a better connection is available. However, if the device is connected to a stable internet network, the app should perform updates regardless of the time to ensure that all displayed information is current and relevant, specifically removing data from past hours that no longer apply.

Activity

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions