@@ -71,6 +71,12 @@ public class IterableConfig {
7171 */
7272 final String [] allowedProtocols ;
7373
74+ /**
75+ *
76+ *
77+ */
78+ final boolean useInMemoryStorageForInApps ;
79+
7480 private IterableConfig (Builder builder ) {
7581 pushIntegrationName = builder .pushIntegrationName ;
7682 urlHandler = builder .urlHandler ;
@@ -83,6 +89,7 @@ private IterableConfig(Builder builder) {
8389 authHandler = builder .authHandler ;
8490 expiringAuthTokenRefreshPeriod = builder .expiringAuthTokenRefreshPeriod ;
8591 allowedProtocols = builder .allowedProtocols ;
92+ useInMemoryStorageForInApps = builder .useInMemoryStorageForInApps ;
8693 }
8794
8895 public static class Builder {
@@ -97,6 +104,8 @@ public static class Builder {
97104 private IterableAuthHandler authHandler ;
98105 private long expiringAuthTokenRefreshPeriod = 60000L ;
99106 private String [] allowedProtocols = new String [0 ];
107+ private boolean useInMemoryStorageForInApps = false ;
108+
100109 public Builder () {}
101110
102111 /**
@@ -217,6 +226,12 @@ public Builder setAllowedProtocols(@NonNull String[] allowedProtocols) {
217226 return this ;
218227 }
219228
229+ @ NonNull
230+ public Builder setUseInMemoryStorageForInApps (boolean useInMemoryStorageForInApps ) {
231+ this .useInMemoryStorageForInApps = useInMemoryStorageForInApps ;
232+ return this ;
233+ }
234+
220235 @ NonNull
221236 public IterableConfig build () {
222237 return new IterableConfig (this );
0 commit comments