Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MOB-7186] updates embedded manager calls #645

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ public IterableInAppManager getInAppManager() {
}

@NonNull
public IterableEmbeddedManager embeddedManager() {
public IterableEmbeddedManager getEmbeddedManager() {
if (embeddedManager == null) {
throw new RuntimeException("IterableApi must be initialized before calling getFlexManager(). " +
"Make sure you call IterableApi#initialize() in Application#onCreate");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class IterableEmbeddedManager : IterableActivityMonitor.AppStateCallback
private var actionHandleListeners = mutableListOf<EmbeddedMessageActionHandler>()
private var updateHandleListeners = mutableListOf<EmbeddedMessageUpdateHandler>()

var embeddedSessionManager = EmbeddedSessionManager()
private var embeddedSessionManager = EmbeddedSessionManager()

private var activityMonitor: IterableActivityMonitor? = null

Expand Down Expand Up @@ -77,6 +77,10 @@ public class IterableEmbeddedManager : IterableActivityMonitor.AppStateCallback
return updateHandleListeners
}

public fun getEmbeddedSessionManager(): EmbeddedSessionManager {
return embeddedSessionManager
}

// endregion

// region public methods
Expand Down
Loading