-
Notifications
You must be signed in to change notification settings - Fork 0
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
android 13 #9
Comments
If possible can you provide more details (e.g. screenshots, screencasts). I'm using Android 13 myself, and in principle it works, but I have observed the following regressions, which I haven't had time to debug yet (and which might be more relevant for the Kõnele project, rather than Kõnele-service).
|
Hi, |
Maybe it's a permissions issue. Try to make sure that both Kõnele-service and Kõnele have the microphone permission, and perhaps also reboot the device. The error message about the missing permission is not always shown. I think this used to work better with earlier versions of Android. |
I managed to get the k6nele popup appear, but when I press the microphone button in the popup - it says insufficient privileges. |
They shouldn't need anything else. I'm out of ideas at this point. On my Pixel it works, I have no experience with GrapheneOS. |
is there a way to take a look in the log? |
You can try to run |
I'm adding a RecognitionService to Sayboard. The only way I could find to bypass it, is by adding the Might help here too. |
I think you don't need So now the queries are the following (https://github.com/Kaljurand/K6nele/blob/2ff612790153e3cd2249f1a39abe66c7c3a3f31c/app/src/main/AndroidManifest.xml#L86C2-L100C1) and things seem to work.
I think Kõnele-service does not need any queries because it does not query for other services. |
I did some more testing, and it seems that the only reason you don't get this error is because Konele exports a RecognitionService, and speechutils (which konele-services uses) queries for RecognitionService's, which means that konele-services has permission to query for konele. If you comment out either the RecognitionService's in konele or the queries tag in speechutils in konele-services, you get the ERROR_INSUFFICIENT_PERMISSIONS in konele (even though both have the microphone permission) when konele-services is selected in the settings. Tested on and Android 13 emulator, and on Crdroid 9.10 (Android 13). |
I added the queries-block to the manifest of speechutils in You are saying that "konele-services has permission to query for konele", but it's the other way around: Kõnele depends on Kõnele-service as an optional runtime dependency, but Kõnele-service has no dependency on Kõnele. So I'm a little confused... Are you saying that something should be done on the Kõnele/Kõnele-service/speechutils side to make ElishaAz/Sayboard#54 work? In any case, nice work on Sayboard and I'm looking forward to the resolution of ElishaAz/Sayboard#54 |
Yes, It's also the other way around. But I found out that (at least in my case) if the service can't query for the caller, It immediately returns ERROR_INSUFFICIENT_PERMISSIONS (before my code is even called), regardless of the microphone permission.
I meant to the app that exports the RecognitionService (konele-services or Sayboard). Did you try removing the queries-block from speechutils in konele-services or commenting out the RecognitionServices in the manifest of konele? As I said earlier, for me this results with ERROR_INSUFFICIENT_PERMISSIONS in konele. |
You are right, Still, |
The service does not seem to work on android 13.
For example, when hitting the microphone on google maps nothing happens.
Same behavior in other apps.
The text was updated successfully, but these errors were encountered: