Skip to content

Using vosk-browser with Capacitor #93

@actor10

Description

@actor10

If you've never used "capacitor", it lets you build native apps around javascript programs.

I'm successfully using vosk-browser in the web version of my program but when I build the code for IOS, the "createModel()" function call fails. FYI, Capacitor patches "fetch" calls with the native IOS calls.

I see "#FactoryInstall Unable to query results, error: 5" in the log.

I can run the web code on the iphone directly in the browser. I can create an "iframe" within my program and load my website with the vosk browser working.

I have used Vosk within totally native versions of my "Verbal Chess" program. I noticed in those, the "model" was loaded into the app itself and not received from the web.

Any suggestions are welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions