fix: show notification from native

This commit is contained in:
shenlong-tanwen
2025-10-01 05:29:23 +05:30
parent 6c67bbd528
commit 6fc1bca8c2
11 changed files with 104 additions and 76 deletions
@@ -12,6 +12,10 @@ class BackgroundWorkerApiImpl: BackgroundWorkerFgHostApi {
// Android only
}
func saveNotificationMessage(title: String, body: String) throws {
// Android only
}
func disable() throws {
BGTaskScheduler.shared.cancel(taskRequestWithIdentifier: BackgroundWorkerApiImpl.refreshTaskID);
BGTaskScheduler.shared.cancel(taskRequestWithIdentifier: BackgroundWorkerApiImpl.processingTaskID);