mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-24 21:40:48 +02:00
tests(e2e): improve coverage
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
---
|
||||
notification: patch
|
||||
notification-js: patch
|
||||
---
|
||||
|
||||
Fixed broken mobile APIs:
|
||||
|
||||
- `channels()` invoked the `listChannels` command, which the `allow-list-channels` permission does not match; it now invokes `list_channels`.
|
||||
- Unregistering an `onNotificationReceived` or `onAction` listener invokes the `remove_listener` command, which had no permission. It is now declared and part of the `default` permission set (`allow-remove-listener`).
|
||||
- `cancelAll()` was rejected on Android and iOS, which required the list of notifications to cancel. It now cancels every pending notification.
|
||||
- `active()` resolved with `{ values: [...] }` instead of an array on Android.
|
||||
Reference in New Issue
Block a user