Skip to content

ios/android: allow enable/disable of lifecycle stats flushing #721

@rebello95

Description

@rebello95

#717 added functionality for flushing stats based on app lifecycle changes.

Right now this new stats flushing behavior is enabled by default. In the future, we would like to investigate making it optional using the builder pattern. For example:

EnvoyClientBuilder()
  .addAppLifecycleHandling()
  .build()
AndroidEnvoyClientBuilder(baseContext)
  .addAppLifecycleHandling(getApplication())
  .build()

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions