alphacep / vosk-android-service

Offline voice typing for Android
Apache License 2.0
55 stars 10 forks source link

v-a-s does not activate (with ASK) until app started #34

Open drew-sinha opened 1 year ago

drew-sinha commented 1 year ago

Behavior to Reproduce:

  1. Restart/turn on device and go to home screen.
  2. Open up app that uses (AnySoftKeyboard) keyboard app.
  3. Tap mic phone to attempt voice recognition.

Expected Behavior: Voice recognition starts.

Actual Behavior: ASK's download activity notifies user that voice recognition app not installed and prompts to download app from Play store

**Of note, if vosk app started prior to attempting voice recognition through keyboard app, expected behavior occurs. Expected behavior also occurs if vosk app is force stopped through system utilities (vosk app verified stopped in background through developer settings).

Posting as a v-a-s issue given that above behavior illustrates some app/service state issue that favors cause from within v-a-s vs ASK.

*configuration Source: [5e02806], current as of initial issue post Build Configuration: Gradle Toolkit command-line, debug w/universal apk (compilesdk 33) Gradle toolkit version: 7.6 (defaults despite the build kts depending on 7.2.2; no api level spec'd); builds against OpenJDK-14 Device: Pixel 3 Device OS: Android 12 Additional Device Apps: AnySoftKeyboard (v1.11.7137/F-droid; UTD)

drew-sinha commented 1 year ago

.... Update now that I have managed to manually rebuild ASK for debugging. As of the most recent builds of ASK from current 5/2023, this isn't an issue. @nshmyrev , you can close this within 48-72 hr.

nshmyrev commented 1 year ago

Thanks @drew-sinha. Btw, I've sent you the invite to join this project