-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Crashes on vosk.loadMedel Dynamically (Expermintal) #67
Comments
@BiskremMuhammad I have the same problem, However, I'm not using dynamic linking, and it only happens on iOS, have you come up with a solution? |
@joaolobao380 It never worked with me with native module for ios, (download the model and added the folder to xcode), but i manage to solve it and load the model successfully with dynamic load, using a download utility and let the app download the model internally and unzip it. so my solution included the above code, but at the end i removed the |
perfect!! Thank you! |
Can you follow the updated README and let us know if it still crashes ? |
I can confirm that with a trailing file:// it does not work |
Created this PR, please let me know if it resolves your issue! #79 |
Hi,
I couldn't make the pods install successfully inside my ios folder, although i made all steps correctly like the README.
but anyway, i tried to use the expermintal method and load the model dynamically. the app loads up in loading state until the model is downloaded, but immediately crashes when passing the downloaded folder to vosk.loadModel,
here is a full code
and inside my screen i did this:
so I added the permissions to Info.plist
so the downloaded folder is correct and here is the contents from the downloaded folder as shown in the logs
and then the app crashes with this error:
The text was updated successfully, but these errors were encountered: