File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
android/src/main/java/com/iterable/reactnative Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,10 @@ static IterableConfig.Builder getConfigFromReadableMap(ReadableMap iterableConte
221
221
configBuilder .setEncryptionEnforced (iterableContextJSON .optBoolean ("encryptionEnforced" ));
222
222
}
223
223
224
+ if (iterableContextJSON .has ("enableEmbeddedMessaging" )) {
225
+ configBuilder .setEnableEmbeddedMessaging (iterableContextJSON .optBoolean ("enableEmbeddedMessaging" ));
226
+ }
227
+
224
228
return configBuilder ;
225
229
} catch (JSONException e ) {
226
230
e .printStackTrace ();
Original file line number Diff line number Diff line change @@ -294,6 +294,13 @@ export class IterableConfig {
294
294
*/
295
295
encryptionEnforced = false ;
296
296
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
+
297
304
/**
298
305
* Converts the IterableConfig instance to a dictionary object.
299
306
*
@@ -342,6 +349,7 @@ export class IterableConfig {
342
349
dataRegion : this . dataRegion ,
343
350
pushPlatform : this . pushPlatform ,
344
351
encryptionEnforced : this . encryptionEnforced ,
352
+ enableEmbeddedMessaging : this . enableEmbeddedMessaging ,
345
353
} ;
346
354
}
347
355
}
You can’t perform that action at this time.
0 commit comments