@@ -12,6 +12,8 @@ import IterableInAppMessage from './IterableInAppMessage'
1212
1313import { IterableDataRegion } from './IterableDataRegion'
1414
15+ import { IterablePushPlatform } from './IterablePushPlatform'
16+
1517type AuthCallBack = ( ( ) => void )
1618
1719/**
@@ -121,6 +123,13 @@ class IterableConfig {
121123 * This specifies the data region which determines the data center and associated endpoints used by the SDK
122124 */
123125 dataRegion : IterableDataRegion = IterableDataRegion . US
126+
127+ /**
128+ * This specifies the push platform to use for push notifications. Either `sandbox`, `production`, or `auto`.
129+ * The default value is `auto`, which means the SDK will automatically determine the push platform to use.
130+ * However, you can also set this to `sandbox` or `production` to force the SDK to use a specific platform.
131+ */
132+ pushPlatform : IterablePushPlatform = IterablePushPlatform . auto
124133
125134 /**
126135 * Android only feature: This controls whether the SDK should enforce encryption for all PII stored on disk.
@@ -143,6 +152,7 @@ class IterableConfig {
143152 "androidSdkUseInMemoryStorageForInApps" : this . androidSdkUseInMemoryStorageForInApps ,
144153 "useInMemoryStorageForInApps" : this . useInMemoryStorageForInApps ,
145154 "dataRegion" : this . dataRegion ,
155+ "pushPlatform" : this . pushPlatform ,
146156 "encryptionEnforced" : this . encryptionEnforced
147157 }
148158 }
0 commit comments