Skip to content

Feat/websocket debugger support#3

Merged
cmcWebCode40 merged 4 commits into
mainfrom
feat/websocket-debugger-support
May 13, 2026
Merged

Feat/websocket debugger support#3
cmcWebCode40 merged 4 commits into
mainfrom
feat/websocket-debugger-support

Conversation

@cmcWebCode40

Copy link
Copy Markdown
Owner

No description provided.

- Add WebSocketLogger for intercepting and logging WebSocket connections
- Add DebuggerOverlay with HTTP and WebSocket tabs in a unified modal
- Create WebSocketLogItem component for displaying connection details and messages
- Reorganize source into features/, helpers/, icons/, and components/common/
- Add WebSocket color theming and state indicators
- Update example app with bottom tabs for testing HTTP and WebSocket requests
- Add WebSocketScreen for testing WebSocket connections in example app
- Add WebSocket debugging features to features list
- Document DebuggerOverlay component with HTTP + WebSocket support
- Add WebSocket logger configuration and methods
- Add WebSocketLog and WebSocketMessage type definitions
- Add WebSocketLoggerConfig options table
- Add troubleshooting section for WebSocket issues
- Update quick setup examples with WebSocket integration
- Remove NetworkLoggerOverlay, consolidate into DebuggerOverlay
- Add enableWebSocket prop (default: false) to control WebSocket tab visibility
- Add isSetup() method to both networkLogger and webSocketLogger
- Add DebuggerSetupError with helpful error messages when:
  - networkLogger.setupInterceptor() not called
  - enableWebSocket=true but webSocketLogger not provided
  - enableWebSocket=true but webSocketLogger.setupInterceptor() not called
  - enableDeviceShake=true but react-native-shake not installed
- Update README with new API documentation
- Update example app to use enableWebSocket prop
…kward compatibility

- Renamed component from DebuggerOverlay to NetworkLoggerOverlay
- Renamed interface from DebuggerOverlayProps to NetworkLoggerOverlayProps
- Renamed error class from DebuggerSetupError to NetworkLoggerSetupError
- Updated README to reflect component name change
- Updated example app import
@cmcWebCode40 cmcWebCode40 merged commit 279caed into main May 13, 2026
3 checks passed
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.

1 participant