Merge branch 'feature/ONEAPP-3998' into 'develop'
ONEAPP-3998: Convenience function to simplify the current objc-swift bridge of... ### Summary Allows convenient testing of flows through json modification. ### JIRA Ticket https://onejira.verizon.com/browse/ONEAPP-3998 Co-authored-by: Scott Pfeil <Scott.Pfeil3@verizonwireless.com> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core/-/merge_requests/266
This commit is contained in:
commit
674cff506d
@ -19,3 +19,9 @@ public extension ActionDelegateProtocol {
|
||||
try await MVMCoreActionHandler.shared()?.handleAction(with: model, additionalData: additionalData, delegateObject: delegateObject)
|
||||
}
|
||||
}
|
||||
|
||||
public extension MVMCoreActionDelegateProtocol {
|
||||
func action(with model: ActionModelProtocol, additionalData: [AnyHashable : Any]?, delegateObject: DelegateObject?) async throws {
|
||||
try await (self as? ActionDelegateProtocol)?.performAction(with: model, additionalData: additionalData, delegateObject: delegateObject)
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,9 +25,7 @@
|
||||
self.session = [[MVMCoreSessionObject alloc] init];
|
||||
self.cache = [[MVMCoreCache alloc] init];
|
||||
self.viewControllerMapping = [[MVMCoreViewControllerMappingObject alloc] init];
|
||||
[MVMCoreDispatchUtility performSyncBlockOnMainThread:^{
|
||||
self.sessionHandler = [[MVMCoreSessionTimeHandler alloc] init];
|
||||
}];
|
||||
self.sessionHandler = [[MVMCoreSessionTimeHandler alloc] init];
|
||||
self.actionHandler = [[MVMCoreActionHandler alloc] init];
|
||||
self.loggingDelegate = [[MVMCoreLoggingHandler alloc] init];
|
||||
self.loadHandler = [[MVMCoreLoadHandler alloc] init];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user