Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
remstos opened this issue Feb 20, 2025 · 2 comments
Open

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

remstos opened this issue Feb 20, 2025 · 2 comments

Comments

@remstos
Copy link

remstos commented Feb 20, 2025

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

@Shahroz16
Copy link
Contributor

Hey @remstos thank you for reaching out, this seems like a fair ask. I have added an internal feature request for it. I'll be able to provide more updates on what solution we have decided and tentative timeline for it.

@remstos
Copy link
Author

remstos commented Feb 21, 2025

Thank you @Shahroz16 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants