Summary
Hey Statsig team, I would like to request that we add the scheduled polling to the Statsig Flutter SDK for on-device evaluation. This feature, already available in the native iOS and Android SDKs, is essential for keeping local configurations dynamically updated in long-running Flutter applications without forcing a full application restart.
Context
When utilizing on-device evaluation, both the native iOS and Android SDKs provide scheduled polling functionality. This allows the client to automatically fetch the latest configuration payload from the Statsig servers periodically, ensuring real-time consistency for feature gating and experimentation without manual intervention.
References
Proposed Solution
Please implement a scheduled polling mechanism within the Flutter SDK that mirrors the functionality provided by the native SDKs.
Ideally, this could involve:
- A method within the Statsig.initialize() configuration, or a separate public method (e.g., Statsig.startPolling(interval)) to initiate the background polling process.
- The ability to specify the polling interval.
- A mechanism to stop polling (e.g., Statsig.stopPolling()).
This feature is helpful for a better developer experience testing features locally, at the same time better value for our users getting updated (via polling) values from the server without restarting the app.
Summary
Hey Statsig team, I would like to request that we add the scheduled polling to the Statsig Flutter SDK for on-device evaluation. This feature, already available in the native iOS and Android SDKs, is essential for keeping local configurations dynamically updated in long-running Flutter applications without forcing a full application restart.
Context
When utilizing on-device evaluation, both the native iOS and Android SDKs provide scheduled polling functionality. This allows the client to automatically fetch the latest configuration payload from the Statsig servers periodically, ensuring real-time consistency for feature gating and experimentation without manual intervention.
References
Proposed Solution
Please implement a scheduled polling mechanism within the Flutter SDK that mirrors the functionality provided by the native SDKs.
Ideally, this could involve:
This feature is helpful for a better developer experience testing features locally, at the same time better value for our users getting updated (via polling) values from the server without restarting the app.