Picovoice / porcupine

On-device wake word detection powered by deep learning
https://picovoice.ai/
Apache License 2.0
3.7k stars 495 forks source link

Porcupine Issue: Notification does not work for Android demo "Service" #1314

Open pierredelisle7 opened 3 days ago

pierredelisle7 commented 3 days ago

Have you checked the docs and existing issues?

SDK

Android

Porcupine package version

3.0.0

Framework version

Android 14

Platform

Android

OS/Browser version

N/A

Describe the bug

Running Android 14. When looking at app notifications, it says "this app does not send notifications", and it is not possible to turn notifications on.

To fix, add the following to the Manifest:

See https://developer.android.com/develop/ui/views/notifications/notification-permission for details.

Steps To Reproduce

Notifications do not work.

Expected Behavior

Notifications should work.

pierredelisle7 commented 3 days ago

This is what needs to be added to the Manifest:

<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

laves commented 2 days ago

Thanks for the report - we'll get this to the team and schedule a fix, but can't say when it'll be