Skip to content

Add ability to pause and/or reduce fetching intervals #868

@remstos

Description

@remstos

Hi,

Is your feature request related to a problem? Please describe.

In our app we want to be able to pause as much as possible all network consumption to optimise for network usage.
For exemple, we have a mechanism in place to pause uploading logs and analytics events.
Similarly, we’d like to have CustomerIO stop fetching InApp messages updates during that time.
An additional improvement would be to at least reduce the polling interval.
In developement environment we’d also like to be able to reduce that polling interval as it doesn’t make sense to fetch every 10s.

Describe the solution you'd like

Ideally we would have a pause/resume method for the polling mechanism of InApp Messages
Optionally we could have a way to manually/temporarily override the polling intervals.

Describe alternatives you've considered
I’ve considered forking the SDK to manully reduce the interval to 1min

Thank you

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions