Skip to content

Hand Math v1.0.3 — Android TTS Sound & Package Visibility Fix

Choose a tag to compare

@bizzkoot bizzkoot released this 09 Sep 15:21
· 13 commits to main since this release

What's Changed in v1.0.3

  • Fixed Silent TTS on Android Devices (Phones & Kids Tablets):
    • Added <queries> intent filter for android.intent.action.TTS_SERVICE in AndroidManifest.xml to satisfy Android 11+ (API 30+) package visibility requirements.
    • Eagerly initialize TextToSpeech in MainActivity.onCreate() to resolve deadlock where JavaScript awaited isReady() before triggering speech.
    • Implemented queued utterance handling (pendingText) in native Java bridge so speech requested before engine initialization completes is automatically spoken once ready.
    • Configured AudioAttributes.USAGE_MEDIA and CONTENT_TYPE_SPEECH to route TTS voice narration to the device media volume stream (avoiding muted notification/accessibility streams).
    • Added multi-tier locale fallback (ms_MYmsLocale.US) so devices without offline Malay voice packs do not fail silently.
    • Added playback rate forwarding (this._speed) to tts.setSpeechRate(rate) and handled full UtteranceProgressListener lifecycle (onDone, onError, onStop).
  • Release Links:
    • Updated README download badges and callout links to point dynamically to :latest.
  • Release APK:
    • Download HandMath-v1.0.3.apk below to install or update on your Android tablet or phone.