Skip to content

feat(core): make visibilitychange behavior configurable#35

Open
chetanupare wants to merge 1 commit intoTap30:mainfrom
chetanupare:feat/configurable-visibilitychange
Open

feat(core): make visibilitychange behavior configurable#35
chetanupare wants to merge 1 commit intoTap30:mainfrom
chetanupare:feat/configurable-visibilitychange

Conversation

@chetanupare
Copy link

  • Add visibilityChange options to ClientSocketManagerOptions
  • Add connectOnVisible and disconnectOnHidden boolean options
  • Update _handleVisibilityChange to respect configuration
  • Add comprehensive tests for new configurable behavior
  • Maintain backward compatibility with default behavior

Fixes #34

Bug

  • Related issues linked using fixes #number
  • Tests added

Feature

  • Implements an existing feature request or RFC. Make sure the feature
    request has been accepted for implementation before opening a PR.
  • Related issues linked using fixes #number
  • Tests added
  • Documentation added

- Add visibilityChange options to ClientSocketManagerOptions
- Add connectOnVisible and disconnectOnHidden boolean options
- Update _handleVisibilityChange to respect configuration
- Add comprehensive tests for new configurable behavior
- Maintain backward compatibility with default behavior

Fixes Tap30#34
Copy link
Author

@chetanupare chetanupare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please Review

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

Successfully merging this pull request may close these issues.

feat(core): make visibilitychange behavior configurable

1 participant