Merge branch 'feature/action_open_page_background' into 'release/8_0_0'

support background flag from action

See merge request BPHV_MIPS/mvm_core!98
This commit is contained in:
Suresh, Kamlesh Jain 2020-08-21 17:35:44 -04:00
commit 589fa3112c
2 changed files with 5 additions and 2 deletions

View File

@ -69,6 +69,7 @@
self.actionMap = actionMap;
self.customTimeoutTime = [actionMap optionalNumberForKey:@"customTimeoutTime"];
self.openSupportPanel = [actionMap boolForKey:KeyOpenSupport];
self.backgroundRequest = [actionMap boolForKey:@"background"];
// Right now server is sending default.... can't uncomment this until they remove default
//self.replaceViewIfOnStackElseLoadWithStyle = [actionMap boolForKey:@"tryToReplaceFirst"];

View File

@ -19,16 +19,18 @@
public var analyticsData: JSONValueDictionary?
public var presentationStyle: String?
public var tabBarIndex: Int?
public var background: Bool?
//--------------------------------------------------
// MARK: - Initialzier
//--------------------------------------------------
public init(pageType: String, presentationStyle: String? = nil, extraParameters: JSONValueDictionary? = nil, analyticsData: JSONValueDictionary? = nil, tabBarIndex: Int? = nil) {
public init(pageType: String, presentationStyle: String? = nil, extraParameters: JSONValueDictionary? = nil, analyticsData: JSONValueDictionary? = nil, tabBarIndex: Int? = nil, background: Bool? = nil) {
self.pageType = pageType
self.presentationStyle = presentationStyle
self.extraParameters = extraParameters
self.analyticsData = analyticsData
self.tabBarIndex = tabBarIndex
self.background = background
}
}