fix desktop notification handling on macos

This commit is contained in:
Mohamed Boudra
2026-03-19 16:43:34 +07:00
parent a952112910
commit efb3df8233
9 changed files with 486 additions and 53 deletions
@@ -0,0 +1,12 @@
#import <stdbool.h>
typedef void (*PaseoNotificationClickCallback)(const char* payload_json);
bool paseo_notifications_initialize(PaseoNotificationClickCallback callback, char** error_out);
bool paseo_notifications_send(
const char* title,
const char* body,
const char* payload_json,
char** error_out
);
void paseo_notifications_free_string(char* value);