tauri-apps / tauri-apps/plugins-workspace

[notification] some methods are mobile-specific and do not provide corresponding handlers

Open
#902 0 comments 0 reactions 0 assignees View on GitHub
plugin: notification type: feature request
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

I've recently been using plugin-notification while building my desktop app and have a question and a suggestion I'd like to discuss.

I found that some methods are mobile-specific and do not provide corresponding handlers. I don’t know if my understanding is correct.

![image](https://github.com/tauri-apps/plugins-workspace/assets/59609929/e6738ea5-aabb-402c-be3b-fea51d6db33a)
![image](https://github.com/tauri-apps/plugins-workspace/assets/59609929/60135d41-0a1e-4928-b8d2-f2cac374035e)

As mentioned above, some methods are multi-platform and some methods are platform specific. I thought maybe it would be clearer to group them rather than export them flat. All in all, this is just my personal preference and if you agree with it too, then I'll be happy to contribute :)

If you think flat export is cleaner, I'd like to improve the documentation for each method to label some of the methods that are only available for mobile.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.