support background flag from action
This commit is contained in:
parent
a0e3316c83
commit
bf7d811510
@ -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