Skip to content
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

Alan does not recognize/record voice input on specific Android devices #25

Open
ljudbane opened this issue Dec 13, 2021 · 2 comments
Open
Assignees

Comments

@ljudbane
Copy link

We have encountered an issue where on specific Android devices the voice input is not recognized. When Alan is listening, nothing happens, as if the voice is not recorded. No amount of app re-installs or different builds have helped, the issue is always present.

Affected devices are:

  • Samsung Galaxy S20 FE (SM-G780F/DS), OneUI 3.1, Android 11, sec patch 1.nov.2021
  • Samsung Galaxy Note 10 (SM-N970F/DS), OneUI 3.1, Android 11

On Samsung S20 FE we tested your reference app "Alan Playground" (installed from Google Play) and voice input also doesn't work in your app. We will also test your app on Note 10 device at a later time and we will update the issue once we get results.

I am attaching logcat from running our Ionic app on Samsung S20 FE. In the log i've marked the approximate location when user started speaking (line 416). A bit above that, on line 398 is app's log entry when button state callback fired and state was LISTEN. So somewhere around here Alan started listening.

samsung_s20_fe_dg1_app_logcat-edit.log

Ionic info:

Ionic:

   Ionic CLI                     : 5.4.16 
   Ionic Framework               : @ionic/angular 5.3.2
   @angular-devkit/build-angular : 0.803.29
   @angular-devkit/schematics    : 8.3.29
   @angular/cli                  : 8.3.29
   @ionic/angular-toolkit        : 2.3.3

Capacitor:

   Capacitor CLI   : 2.4.0
   @capacitor/core : 2.4.0

Utility:

   cordova-res                          : not installed
   native-run (update available: 1.5.0) : 1.3.0

System:

   NodeJS : v10.18.1
   npm    : 6.13.4
   OS     : macOS Big Sur
@snyuryev snyuryev self-assigned this Dec 13, 2021
@snyuryev
Copy link
Contributor

snyuryev commented Dec 14, 2021

Hey @ljudbane
Thank you for detailed issue. We will try to reproduce it.
Did you get microphone permission popup on this device?

@ljudbane
Copy link
Author

@snyuryev Yes, the permission popup was shown and approved. We also double checked in Android settings and permission for recording audio was enabled in App settings. The microphone does work with phone calls and other apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants