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:
commit
589fa3112c
@ -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"];
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user