From d41cbbdd8d899389029cd5d314c3ae29d5e2956a Mon Sep 17 00:00:00 2001 From: sherwinski Date: Fri, 27 Feb 2026 21:56:16 +0700 Subject: [PATCH] chore: revert 3afbde99 The "events" key in api.json gets ignored by web shim. Instead, we need to update web shim's snippets to include event interfaces, see: https://github.com/OneSignal/web-shim-codegen/pull/133 --- api.json | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/api.json b/api.json index 94c7cf0a8..6165e07bb 100644 --- a/api.json +++ b/api.json @@ -147,32 +147,6 @@ "name": "permission", "type": "boolean" } - ], - "events": [ - { - "name": "foregroundWillDisplay", - "type": "NotificationForegroundWillDisplayEvent", - "methods": [ - { - "name": "preventDefault", - "args": [], - "returnType": "void" - } - ], - "properties": [ - { - "name": "notification", - "type": "IDisplayableOSNotification", - "methods": [ - { - "name": "display", - "args": [], - "returnType": "void" - } - ] - } - ] - } ] }, "Slidedown": {