From 4bc4bc00465a224b1262738d84ddd0a5bd375c35 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 19 Nov 2024 16:00:28 +0200 Subject: [PATCH] bridgev2/networkinterface: add native flag for push config --- bridgev2/networkinterface.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bridgev2/networkinterface.go b/bridgev2/networkinterface.go index 852d81ef..6e31e721 100644 --- a/bridgev2/networkinterface.go +++ b/bridgev2/networkinterface.go @@ -808,9 +808,10 @@ type APNsPushConfig struct { } type PushConfig struct { - Web *WebPushConfig `json:"web,omitempty"` - FCM *FCMPushConfig `json:"fcm,omitempty"` - APNs *APNsPushConfig `json:"apns,omitempty"` + Web *WebPushConfig `json:"web,omitempty"` + FCM *FCMPushConfig `json:"fcm,omitempty"` + APNs *APNsPushConfig `json:"apns,omitempty"` + Native bool `json:"native,omitempty"` } type PushableNetworkAPI interface {