diff --git a/MVMCore/MVMCore/Constants/MVMCoreJSONConstants.m b/MVMCore/MVMCore/Constants/MVMCoreJSONConstants.m index b30d03c..019f879 100644 --- a/MVMCore/MVMCore/Constants/MVMCoreJSONConstants.m +++ b/MVMCore/MVMCore/Constants/MVMCoreJSONConstants.m @@ -18,8 +18,8 @@ NSString * const KeyErrorHeading = @"errorHdg"; NSString * const KeyPage = @"Page"; NSString * const KeyPageType = @"pageType"; -NSString * const KeyShareText = @"shareText"; -NSString * const KeyShareType = @"shareType"; +NSString * const KeyShareText = @"sharedText"; +NSString * const KeyShareType = @"sharedType"; NSString * const KeyModuleMap = @"ModuleMap"; NSString * const KeyModuleList = @"modules"; NSString * const KeyPageMap = @"PageMap"; diff --git a/MVMCore/MVMCore/Models/ActionType/ActionOpenUrlModel.swift b/MVMCore/MVMCore/Models/ActionType/ActionOpenUrlModel.swift index 909989e..d0b4f30 100644 --- a/MVMCore/MVMCore/Models/ActionType/ActionOpenUrlModel.swift +++ b/MVMCore/MVMCore/Models/ActionType/ActionOpenUrlModel.swift @@ -23,7 +23,7 @@ import Foundation public var openOauthWebView: Bool? public var showNativeNavigation: Bool? public var openInWebview: Bool? - public var customUserAgent: JSONValueDictionary? + public var customUserAgent: String? public var postRequest: Bool? public var dontShowProgress: Bool? public var headerParameters: JSONValueDictionary? diff --git a/MVMCore/MVMCore/Models/ActionType/ActionShareModel.swift b/MVMCore/MVMCore/Models/ActionType/ActionShareModel.swift index 44cd06e..c40fbcd 100644 --- a/MVMCore/MVMCore/Models/ActionType/ActionShareModel.swift +++ b/MVMCore/MVMCore/Models/ActionType/ActionShareModel.swift @@ -8,7 +8,7 @@ import UIKit -class ActionShareModel: ActionModelProtocol { +@objcMembers public class ActionShareModel: ActionModelProtocol { //-------------------------------------------------- // MARK: - Properties //-------------------------------------------------- @@ -17,8 +17,8 @@ class ActionShareModel: ActionModelProtocol { public var actionType: String? public var title: String? - public var shareType: String - public var shareText: String + public var sharedType: String + public var sharedText: String public var extraParameters: JSONValueDictionary? public var analyticsData: JSONValueDictionary? @@ -26,8 +26,8 @@ class ActionShareModel: ActionModelProtocol { // MARK: - Initializer //-------------------------------------------------- - public init(shareText: String,shareType: String) { - self.shareType = shareType - self.shareText = shareText + public init(sharedText: String,sharedType: String) { + self.sharedType = sharedType + self.sharedText = sharedText } }