@capillarytech/creatives-library 8.0.100 → 8.0.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "8.0.100",
4
+ "version": "8.0.101",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -740,7 +740,9 @@ export class Creatives extends React.Component {
740
740
  forEach(androidContent.custom, (customKeyValue) => {
741
741
  custom[customKeyValue.key] = customKeyValue.value;
742
742
  });
743
- androidContent.custom = custom;
743
+ if (channel !== constants.MOBILE_PUSH) {
744
+ androidContent.custom = custom;
745
+ }
744
746
  templateData.androidContent = androidContent;
745
747
  templateData.androidContent.type = get(channelTemplate, 'definition.mode', '').toUpperCase();
746
748
  templateData.androidContent.deviceType = 'ANDROID';
@@ -756,7 +758,9 @@ export class Creatives extends React.Component {
756
758
  forEach(iosContent.custom, (customKeyValue) => {
757
759
  custom[customKeyValue.key] = customKeyValue.value;
758
760
  });
759
- iosContent.custom = custom;
761
+ if (channel !== constants.MOBILE_PUSH) {
762
+ iosContent.custom = custom;
763
+ }
760
764
  templateData.iosContent = iosContent;
761
765
  templateData.iosContent.type = get(channelTemplate, 'definition.mode').toUpperCase();
762
766
  templateData.iosContent.deviceType = IOS.toUpperCase();