Fabian-Lars

Results 1372 comments of Fabian-Lars

Ah yes I forgot the most important part. You unfortunately have to split up the capability files like https://github.com/tauri-apps/plugins-workspace/tree/v2/examples%2Fapi%2Fsrc-tauri%2Fcapabilities

https://github.com/tauri-apps/plugins-workspace/tree/v2/examples/api/src-tauri/capabilities And this one? If that also doesn't work, I'm just linking to the capabilities folder of the example I shared in the last comment so you can use those...

I'm not really familiar with this function but from a quick look it looks like the example is wrong. Pixel data like this is only supported if you use the...

I just tried it and i don't have any type issues and it writes the image correctly. Can you share the output of the `tauri info` command?

Hmm, maybe try updating the plugins to 2.2.x ?

yep that's good - it was missing in the tauri info output which i didn't notice cause all were on the same version. What about the JS packages? Or are...

> Also i was wondering why it's not included in the plugins list from the tauri info Maybe because of outdated `tauri-cli` / `@tauri-apps/cli` ? 🤔

@Huzaifa-MS the problem is that the upstream notification crates (https://github.com/hoodie/notify-rust and its dependencies) don't support this, so you'd have to work with ugly system APIs to implement this.

> I also noticied that the web api for notification works on its own in the frontend It doesn't. We're injecting our own api (the same from the api module)...

> Is getting transformed by Tauri automatically at compile time to use Tauri's notification library instead? We don't touch your code at all. We overwrite the global `Notification` / `window.Notification`...