V5 Calls SDK Documentation - Implementation Tasks
Overview
Implementation plan for creating V5 Calls SDK documentation for all platforms, using Android as the reference implementation.Tasks
-
1. Create documentation file structure
- Created
docs/calls/android/directory with all documentation files - Requirements: Story 1
- Created
-
2. Create Overview documentation
- 2.1 Create
overview.mdxwith SDK introduction, features, architecture, prerequisites - Requirements: Story 1
- 2.1 Create
-
3. Create Getting Started documentation
- 3.1 Create
setup.mdxwith installation, permissions, CallAppSettings initialization - 3.2 Create
authentication.mdxwith login (UID, authToken), logout, getLoggedInUser - Requirements: Story 1
- 3.1 Create
-
4. Create Join Session documentation
- 4.1 Create
join-session.mdxwith generateToken(), SessionSettings, joinSession() and CallSession lifecycle (consolidated) - Requirements: Story 2
- 4.1 Create
-
5. Create Session Methods documentation
- 5.1 Create
audio-controls.mdxwith muteAudio, unMuteAudio, setAudioMode - 5.2 Create
video-controls.mdxwith pauseVideo, resumeVideo, switchCamera - 5.3 Create
recording.mdxwith startRecording, stopRecording - 5.4 Create
participant-actions.mdxwith muteParticipant, pauseParticipantVideo, pin/unpin - 5.5 Create
layout-ui.mdxwith setLayout, PiP methods, setChatButtonUnreadCount - 5.6 Create
session-control.mdxwith leaveSession, raiseHand, lowerHand, isSessionActive - Requirements: Story 3
- 5.1 Create
-
6. Create Listeners documentation
- 6.1 Create
session-status-listener.mdxwith all SessionStatusListener callbacks - 6.2 Create
participant-event-listener.mdxwith all ParticipantEventListener callbacks - 6.3 Create
media-events-listener.mdxwith all MediaEventsListener callbacks - 6.4 Create
button-click-listener.mdxwith all ButtonClickListener callbacks - 6.5 Create
layout-listener.mdxwith all LayoutListener callbacks - Requirements: Story 4
- 6.1 Create
-
7. Update docs.json navigation
- 7.1 Add Calls SDK product section with Android dropdown
- 7.2 Add navigation groups: Overview, Getting Started, Join Session, Session Methods, Listeners
- 7.3 Add Sample App and Changelog external links for Android
- Requirements: Story 5
-
8. Checkpoint - Review Android documentation
- Ensure all pages are accessible and properly linked
- Verify code examples compile correctly
-
9. Create iOS documentation
- 9.1 Create
docs/calls/ios/setup.mdxwith CocoaPods/SPM installation, permissions, initialization - 9.2 Create
docs/calls/ios/authentication.mdxwith Swift login/logout examples - 9.3 Create
docs/calls/ios/join-session.mdxwith generateToken, SessionSettings, joinSession - 9.4 Create
docs/calls/ios/audio-controls.mdxwith Swift audio control examples - 9.5 Create
docs/calls/ios/video-controls.mdxwith Swift video control examples - 9.6 Create
docs/calls/ios/recording.mdxwith Swift recording examples - 9.7 Create
docs/calls/ios/participant-actions.mdxwith Swift participant management - 9.8 Create
docs/calls/ios/layout-ui.mdxwith Swift layout/UI examples - 9.9 Create
docs/calls/ios/session-control.mdxwith Swift session control examples - 9.10 Create listener documentation files (session-status, participant-event, media-events, button-click, layout)
- 9.11 Update
docs/calls/ios/overview.mdxwith full iOS SDK overview - 9.12 Add iOS navigation to docs.json
- Requirements: Stories 1-5
- 9.1 Create
-
10. Create React Native documentation
- 10.1 Create
docs/calls/react-native/setup.mdxwith npm/yarn installation, native setup - 10.2 Create
docs/calls/react-native/authentication.mdxwith TypeScript login/logout examples - 10.3 Create
docs/calls/react-native/join-session.mdxwith generateToken, SessionSettings, joinSession - 10.4 Create
docs/calls/react-native/audio-controls.mdxwith TypeScript audio control examples - 10.5 Create
docs/calls/react-native/video-controls.mdxwith TypeScript video control examples - 10.6 Create
docs/calls/react-native/recording.mdxwith TypeScript recording examples - 10.7 Create
docs/calls/react-native/participant-actions.mdxwith TypeScript participant management - 10.8 Create
docs/calls/react-native/layout-ui.mdxwith TypeScript layout/UI examples - 10.9 Create
docs/calls/react-native/session-control.mdxwith TypeScript session control examples - 10.10 Create listener documentation files
- 10.11 Update
docs/calls/react-native/overview.mdxwith full React Native SDK overview - 10.12 Add React Native navigation to docs.json
- Requirements: Stories 1-5
- 10.1 Create
-
11. Create JavaScript documentation
- 11.1 Create
docs/calls/javascript/setup.mdxwith npm/CDN installation, initialization - 11.2 Create
docs/calls/javascript/authentication.mdxwith JavaScript login/logout examples - 11.3 Create
docs/calls/javascript/join-session.mdxwith generateToken, SessionSettings, joinSession - 11.4 Create
docs/calls/javascript/audio-controls.mdxwith JavaScript audio control examples - 11.5 Create
docs/calls/javascript/video-controls.mdxwith JavaScript video control examples - 11.6 Create
docs/calls/javascript/recording.mdxwith JavaScript recording examples - 11.7 Create
docs/calls/javascript/participant-actions.mdxwith JavaScript participant management - 11.8 Create
docs/calls/javascript/layout-ui.mdxwith JavaScript layout/UI examples - 11.9 Create
docs/calls/javascript/session-control.mdxwith JavaScript session control examples - 11.10 Create listener documentation files
- 11.11 Update
docs/calls/javascript/overview.mdxwith full JavaScript SDK overview - 11.12 Add JavaScript navigation to docs.json
- Requirements: Stories 1-5
- 11.1 Create
-
12. Create Flutter documentation
- 12.1 Create
docs/calls/flutter/setup.mdxwith pub.dev installation, native setup - 12.2 Create
docs/calls/flutter/authentication.mdxwith Dart login/logout examples - 12.3 Create
docs/calls/flutter/join-session.mdxwith generateToken, SessionSettings, joinSession - 12.4 Create
docs/calls/flutter/audio-controls.mdxwith Dart audio control examples - 12.5 Create
docs/calls/flutter/video-controls.mdxwith Dart video control examples - 12.6 Create
docs/calls/flutter/recording.mdxwith Dart recording examples - 12.7 Create
docs/calls/flutter/participant-actions.mdxwith Dart participant management - 12.8 Create
docs/calls/flutter/layout-ui.mdxwith Dart layout/UI examples - 12.9 Create
docs/calls/flutter/session-control.mdxwith Dart session control examples - 12.10 Create listener documentation files
- 12.11 Update
docs/calls/flutter/overview.mdxwith full Flutter SDK overview - 12.12 Add Flutter navigation to docs.json
- Requirements: Stories 1-5
- 12.1 Create
-
13. Create Ionic documentation
- 13.1 Create
docs/calls/ionic/setup.mdxwith npm installation, Capacitor/Cordova setup - 13.2 Create
docs/calls/ionic/authentication.mdxwith TypeScript login/logout examples - 13.3 Create
docs/calls/ionic/join-session.mdxwith generateToken, SessionSettings, joinSession - 13.4 Create
docs/calls/ionic/audio-controls.mdxwith TypeScript audio control examples - 13.5 Create
docs/calls/ionic/video-controls.mdxwith TypeScript video control examples - 13.6 Create
docs/calls/ionic/recording.mdxwith TypeScript recording examples - 13.7 Create
docs/calls/ionic/participant-actions.mdxwith TypeScript participant management - 13.8 Create
docs/calls/ionic/layout-ui.mdxwith TypeScript layout/UI examples - 13.9 Create
docs/calls/ionic/session-control.mdxwith TypeScript session control examples - 13.10 Create listener documentation files
- 13.11 Update
docs/calls/ionic/overview.mdxwith full Ionic SDK overview - 13.12 Add Ionic navigation to docs.json
- Requirements: Stories 1-5
- 13.1 Create
-
14. Final checkpoint
- Verify all platform documentation is complete
- Test navigation across all platforms
- Ensure consistent structure and terminology
Current File Structure
Notes
- Android documentation is complete and serves as the reference implementation
- docs.json navigation needs to be updated to include the Calls SDK section
- Other platforms (iOS, React Native, JavaScript, Flutter, Ionic) need full documentation
- Use SDK source code for accurate method signatures and parameters
- Include platform-appropriate code examples (Kotlin/Java for Android, Swift for iOS, etc.)
- Ensure consistent structure across all platforms