Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Avinash99b
Copy link

Moves TTS logic from WebView JavaScript to a native React Native
implementation to improve playback reliability, background handling,
and separation of concerns while keeping the existing reader UI intact.

Fixes an Android build failure caused by duplicate class definitions
introduced via app-level Gradle configuration.

This change adjusts android/app/build.gradle to remove conflicting
dependencies and ensure a successful release build.

The issue surfaced during release builds and was not caught in debug-only
verification.
Moved text-to-speech (TTS) handling from WebView JavaScript to a native React Native implementation.

The previous WebView-based approach tightly coupled rendering and audio logic, making playback control, background handling, and state management unreliable and difficult to maintain.

By shifting TTS to the native layer, the reader now has clearer separation of concerns, more stable playback, and improved maintainability while preserving the existing WebView-based reading UI.
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