setup biometrics action

This commit is contained in:
Scott Pfeil 2023-04-10 11:50:42 -04:00
parent 5ee5c39ff8
commit 40741deac3
2 changed files with 6 additions and 0 deletions

View File

@ -357,6 +357,10 @@
return;
}
if ([[MVMCoreObject sharedInstance].globalLoadDelegate respondsToSelector:@selector(modifyJSON:)]) {
jsonDictionary = [[MVMCoreObject sharedInstance].globalLoadDelegate modifyJSON:jsonDictionary];
}
loadObject.responseJSON = jsonDictionary;
// Store the new page data if we didn't load page data from the cache.

View File

@ -16,6 +16,8 @@
@optional
- (nonnull NSDictionary *)modifyJSON:(nonnull NSDictionary *)json;
// Provides the desired error screen for the native error. Called on the main thread. If set, any native errors or NSURLErrorDomain errors will use a native screen.
- (nullable UIViewController <MVMCoreViewControllerProtocol> *)getNativeScreenForRequestError:(nonnull MVMCoreErrorObject *)errorObject requestObject:(nonnull MVMCoreRequestParameters *)requestObject;