File tree Expand file tree Collapse file tree
android/src/main/java/com/iterable/reactnative Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -221,6 +221,10 @@ static IterableConfig.Builder getConfigFromReadableMap(ReadableMap iterableConte
221221 configBuilder .setEncryptionEnforced (iterableContextJSON .optBoolean ("encryptionEnforced" ));
222222 }
223223
224+ if (iterableContextJSON .has ("enableEmbeddedMessaging" )) {
225+ configBuilder .setEnableEmbeddedMessaging (iterableContextJSON .optBoolean ("enableEmbeddedMessaging" ));
226+ }
227+
224228 return configBuilder ;
225229 } catch (JSONException e ) {
226230 e .printStackTrace ();
Original file line number Diff line number Diff line change @@ -294,6 +294,13 @@ export class IterableConfig {
294294 */
295295 encryptionEnforced = false ;
296296
297+ /**
298+ * This specifies whether the SDK should enable embedded messaging.
299+ *
300+ * By default, the SDK will not enable embedded messaging.
301+ */
302+ enableEmbeddedMessaging = false ;
303+
297304 /**
298305 * Converts the IterableConfig instance to a dictionary object.
299306 *
@@ -342,6 +349,7 @@ export class IterableConfig {
342349 dataRegion : this . dataRegion ,
343350 pushPlatform : this . pushPlatform ,
344351 encryptionEnforced : this . encryptionEnforced ,
352+ enableEmbeddedMessaging : this . enableEmbeddedMessaging ,
345353 } ;
346354 }
347355}
You can’t perform that action at this time.
0 commit comments