Skip to content

Unable to find .so files for OS-level hotword detection in Flutter using Snowboy #722

@riteshraav

Description

@riteshraav

Description

I am currently working on integrating Snowboy with a Flutter app to enable hotword detection.

I was able to:

  • Use a custom .pmdl file for my hotword.
  • Use the provided .res files.
  • Successfully implement in-app hotword detection (service inside the Flutter app).

However, I am blocked because:

  • I cannot find the native .so libraries (libsnowboy-detect.so, etc.) that are required for Android integration.
  • Without these .so files, I cannot perform detection at the OS-level (outside the Flutter app lifecycle).
  • My goal is to make the hotword detection run similar to Google Assistant, where detection works even when the app is in the background or closed.

What I Need Help With

  1. Where can I find the .so libraries for Android (ARM/ARM64/x86)?
  2. Is there a recommended way to build these .so files from source using the provided swig/Android folder?
  3. If .so files are no longer maintained, what is the best practice for running Snowboy (or a replacement) at the OS level in Flutter?

Environment

  • Flutter (stable channel)
  • Android (target SDK 34)
  • Snowboy repo fork: [your repo or upstream repo link]

Additional Notes

  • I already tried building using the Makefile under swig/Android, but faced issues with missing NDK setup and .so generation.
  • If .so is not available, I would appreciate guidance on alternative approaches for OS-level hotword detection in Flutter.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions