customerio-ios icon indicating copy to clipboard operation
customerio-ios copied to clipboard

Add ability to pause and/or reduce fetching intervals

Open remstos opened this issue 10 months ago • 4 comments

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

remstos avatar Feb 20 '25 11:02 remstos

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.

Shahroz16 avatar Feb 21 '25 09:02 Shahroz16

Thank you @Shahroz16 🙏

remstos avatar Feb 21 '25 10:02 remstos

Hi, any update on this? 🙏

remstos avatar May 27 '25 16:05 remstos

Hi @remstos, We are considering this as a feature request pending +1s at the moment.

Ahmed-Ali avatar Jun 02 '25 09:06 Ahmed-Ali