From 831f12e355ca6904821296b957e61c9167fd2097 Mon Sep 17 00:00:00 2001 From: ujjwal-ab Date: Mon, 30 Oct 2023 10:39:14 +0530 Subject: [PATCH] feat: refactor supportedMessageTypes and supportedConnectionModes --- .../destinations/af/db-config.json | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/configurations/destinations/af/db-config.json b/src/configurations/destinations/af/db-config.json index 52e34cdc3..879e8f886 100644 --- a/src/configurations/destinations/af/db-config.json +++ b/src/configurations/destinations/af/db-config.json @@ -28,7 +28,26 @@ "cordova", "shopify" ], - "supportedMessageTypes": ["track", "screen", "page"], + "supportedMessageTypes": { + "cloud": ["track", "screen", "page"], + "device": { + "android": ["track", "screen", "page"], + "cordova": ["track", "screen", "page"], + "ios": ["track", "screen", "page"], + "flutter": ["track", "screen", "page"], + "unity": ["track", "screen", "page"] + } + }, + "supportedConnectionModes": { + "cordova": ["cloud", "device"], + "android": ["cloud", "device"], + "ios": ["cloud", "device"], + "flutter": ["cloud", "device"], + "reactnative": ["cloud", "device"], + "web": ["cloud"], + "amp": ["cloud"], + "unity": ["cloud"] + }, "destConfig": { "defaultConfig": [ "devKey",