sign / translate

Effortless Real-Time Sign Language Translation
https://sign.mt
Other
513 stars 86 forks source link

Android App Running on Device #152

Open ashar02 opened 6 months ago

ashar02 commented 6 months ago

Current Behavior

When I compile and run the android app on device then tap on audio record button. Following error appears on console: E/Capacitor/Console: File: https://localhost/src_app_pages_translate_translate_module_ts.8d0325fdc8c8b657.js - Line 1 - Msg: error not-allowed

Although I can see in settings that app has audio record permission. Web app on android browser is working perfectly in same case. Any hint regarding this issue?

Expected Behavior

No response

Steps To Reproduce

No response

Example flow

paste your flow here

Environment

Additional context

No response

AmitMY commented 6 months ago
ashar02 commented 6 months ago

Yes, app is asking for permission and settings app showing that app has permission too. Device is android 13. If app is asking permission it means manifest has proper declaration. I am further investigating it.

ashar02 commented 6 months ago

E/Capacitor/Console: File: https://localhost/main.7905458a6f5a6d3b.js - Line 1 - Msg: ERROR Error: not implemented E/Capacitor/Console: File: https://localhost/main.7905458a6f5a6d3b.js - Line 1 - Msg: Service worker registration failed with: TypeError: Failed to register a ServiceWorker for scope ('https://localhost/') with script ('https://localhost/ngsw-worker.js'): An unknown error occurred when fetching the script. E/Capacitor/Console: File: https://localhost/src_app_pages_translate_translate_module_ts.c64fa9e78a070475.js - Line 1 - Msg: error not-allowed E/Capacitor/Console: File: https://localhost/main.7905458a6f5a6d3b.js - Line 1 - Msg: ERROR [object DOMException]

AmitMY commented 6 months ago

Thanks for investigating, I'm not sure I can assist on this. There should be support for the SpeechRecognition web API.

image

ashar02 commented 6 months ago

Thanks for sharing above info.