Open wingsrao opened 1 year ago
when i used WKURLHandler to intercept the custom protocol to load file from sandbox, wkwebview can display the html file from sandbox
@wingsrao can you provide the mam logs for analysis on this problem? if you are integrate mam sdk in your local developed app, you can simply download container from xcode, or you can export the logs from Citrix Secure Hub.
thanks for replay, the log is maxum,so i just paste part
`2023-06-03 15:21:58.610 M3[52541:3410794] CtxSharedStorage, 8, 2, Vault: 9C6BE7SYTU.com.citrix.mdx/MAMSDKSharedData., /Users/jenkins/jenkins/workspace/sdk_ctxmamappcore_Release_22.8.0/Pods/CtxDataSecurityLib/Vaults/CtxSharedKeychainVaultBase.m, -[CtxSharedKeychainVaultBase initWithVaultName:vaultNameHash:serviceName:accessGroupWithTeamID:andLoadData:], 142 2023-06-03 15:21:58.610 M3[52541:3410794] [WSSLv0.5.0][I]: Setting the encryptor to use legacy encryption for vault: MAMSDKSharedData 2023-06-03 15:21:58.610 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Loading vault MAMSDKSharedDataOUMDqbtNfhrjKfCGQ3MxahpyXiIlyZrwaN7UGGFJ0MI-yeKData. 2023-06-03 15:21:58.610 M3[52541:3410794] [WSSLv0.5.0][W]: [DSv0.2.5] Local access group is nil in keychain interface. Group was not specified during creation of keychain interface. This attribute only applies to MDX, not Secure Hub. 2023-06-03 15:21:58.611 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Vault data items:3. Last updated by 'com.qme.mobileoffice' at '2022-11-21 07:25:51 +0000' with seq#'1' 2023-06-03 15:21:58.611 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Vault: 9C6BE7SYTU.com.citrix.mdx/MAMSDKSharedDataOUMDqbtNfhrjKfCGQ3MxahpyXiIlyZrwaN7UGGFJ0MI-yeKData, exists?1, accessible?1, data-loaded?1 (load-result:1), error:(null) 2023-06-03 15:21:58.611 M3[52541:3410794] [WSSLv0.5.0][V]: Hash: C7...E=. 2023-06-03 15:21:58.611 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Loading vault MAMSDKSharedDataOUMDqbtNfhrjKfCGQ3MxahpyXiIlyZrwaN7UGGFJ0MI-IVData. 2023-06-03 15:21:58.612 M3[52541:3410759] Warning: Unable to create restoration in progress marker file 2023-06-03 15:21:58.612 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Vault data items:3. Last updated by 'com.qme.mobileoffice' at '2022-11-21 07:25:51 +0000' with seq#'1' 2023-06-03 15:21:58.612 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Vault: 9C6BE7SYTU.com.citrix.mdx/MAMSDKSharedDataOUMDqbtNfhrjKfCGQ3MxahpyXiIlyZrwaN7UGGFJ0MI-IVData, exists?1, accessible?1, data-loaded?1 (load-result:1), error:(null) 2023-06-03 15:21:58.612 M3[52541:3410794] [WSSLv0.5.0][V]: Hash: 1D...E=. 2023-06-03 15:21:58.612 M3[52541:3410794] [WSSLv0.5.0][I]: Setting the encryptor to use legacy encryption for vault: MAMSDKSharedData 2023-06-03 15:21:58.612 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Loading vault MAMSDKSharedData. 2023-06-03 15:21:58.612 M3[52541:3410794] [WSSLv0.5.0][V]: WSSSO getting data. 2023-06-03 15:21:58.613 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] KC read result: -25300, error: The item cannot be found.. 2023-06-03 15:21:58.613 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Unable to retrieve data from keychain. 2023-06-03 15:21:58.613 M3[52541:3410794] [WSSLv0.5.0][W]: Error on getting data: Error Domain=Citrix Code=-25300 "The item cannot be found." UserInfo={NSLocalizedDescription=The item cannot be found.}. 2023-06-03 15:21:58.613 M3[52541:3410794] [WSSLv0.5.0][W]: Unable to retrieve data. 2023-06-03 15:21:58.613 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Failed to load: data not found. 2023-06-03 15:21:58.613 M3[52541:3410794] [WSSLv0.5.0][V]: WSSSO saving data. 2023-06-03 15:21:58.613 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Encrypting data. 2023-06-03 15:21:58.618 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Vault: 9C6BE7SYTU.com.citrix.mdx/MAMSDKSharedData, exists?0, accessible?1, data-loaded?0 (load-result:1), error:Error Domain=Citrix Code=-25300 "The item cannot be found." UserInfo={NSLocalizedDescription=The item cannot be found.} 2023-06-03 15:21:58.618 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Loading vault MAMSDKSharedData. 2023-06-03 15:21:58.618 M3[52541:3410794] [WSSLv0.5.0][V]: WSSSO getting data. 2023-06-03 15:21:58.618 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] KC read result: -25300, error: The item cannot be found.. 2023-06-03 15:21:58.618 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Unable to retrieve data from keychain. 2023-06-03 15:21:58.618 M3[52541:3410794] [WSSLv0.5.0][W]: Error on getting data: Error Domain=Citrix Code=-25300 "The item cannot be found." UserInfo={NSLocalizedDescription=The item cannot be found.}. 2023-06-03 15:21:58.618 M3[52541:3410794] [WSSLv0.5.0][W]: Unable to retrieve data. 2023-06-03 15:21:58.618 M3[52541:3410794] [WSSLv0.5.0][V]: [DSv0.2.5] Failed to load: data not found. 2023-06-03T15:21:58.604+0800 移动办公[CTXMAMCore-UIAppDelegate:INFO:com.apple.main-thread:103]I:-[UIApplication(CTXMAMApplication) printUIAppDelegateInfoLog:]: willFinishLaunchingWithOptions - start. 2023-06-03T15:21:58.604+0800 移动办公[CTXMAMCoreFramework:INFO:com.apple.main-thread:103]I:-[CTXMAMApplicationLifecycle updateCurrentApplicationState]: Application state changed from 2 to 1 2023-06-03T15:21:58.604+0800 移动办公[CTXMAMAppCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMLogonManager bindState]: binding flag is nil. 2023-06-03T15:21:58.604+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.apple.main-thread:103]I:-[CTXMAMAgentAppBinder bind]: Not bound yet, creating the binding. 2023-06-03T15:21:58.605+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.apple.main-thread:103]I:-[CTXMAMServicesInterface getMAMStoreInfo]: MAM Store info not found. Error: (null) 2023-06-03T15:21:58.607+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.apple.main-thread:103]I:-[CtxSingleSignOn init]: Removing residual content from the keychain. 2023-06-03T15:21:58.609+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.apple.main-thread:103]I:-[CtxSingleSignOn init]: FTU detected in wrapper. Removing all vaults. 2023-06-03T15:21:58.610+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.apple.main-thread:103]I:-[CTXMAMSecureHubSharedData loadData]: Loading MAM shared data. 2023-06-03T15:21:58.610+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]I:-[CTXMAMContainment application:willFinishLaunchingWithOptions:]: Life Event: Enter. 2023-06-03T15:21:58.610+0800 移动办公[CTXMAMCore-UIAppDelegate:INFO:com.apple.main-thread:103]I:-[UIApplication(CTXMAMApplication) printUIAppDelegateInfoLog:]: willFinishLaunchingWithOptions - end(1).. 2023-06-03T15:21:58.613+0800 移动办公[CTXMAMCore-UIAppDelegate:INFO:com.apple.main-thread:103]I:-[UIApplication(CTXMAMApplication) printUIAppDelegateInfoLog:]: didFinishLaunchingWithOptions - start.. 2023-06-03T15:21:58.613+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]I:-[CTXMAMContainment application:didFinishLaunchingWithOptions:]: Life Event: Enter. 2023-06-03T15:21:58.613+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:58.613+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:58.613+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]I:-[CTXMAMContainment blockBackup]: Applying iCloud/iTunes backup policy to file:///var/mobile/Containers/Data/Application/7E98991C-DD99-4DCE-888F-5B2E87F7DAAE/Documents/. Backup allowed. 2023-06-03T15:21:58.613+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]I:-[CTXMAMContainment blockBackup]: Applying iCloud/iTunes backup policy to file:///var/mobile/Containers/Data/Application/7E98991C-DD99-4DCE-888F-5B2E87F7DAAE/Library/. Backup allowed. 2023-06-03T15:21:58.618+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.citrix.shmamshareddata_sync_queue:1703]-:-[CTXMAMSecureHubSharedData loadAndDecryptSharedKeychainData]: Failed to load shared data. Error: Error Domain=Citrix Code=-25300 "The item cannot be found." UserInfo={NSLocalizedDescription=The item cannot be found.} 2023-06-03T15:21:58.619+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.citrix.shmamshareddata_sync_queue:1703]-:-[CTXMAMSecureHubSharedData getSharedMAMInfo]: No KC data for the currently unmanaged app. 2023-06-03T15:21:58.619+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.citrix.shmamshareddata_sync_queue:1703]-:-[CTXMAMSecureHubSharedData getSharedMAMInfo]: Fetching MAM data. 2023-06-03T15:21:58.619+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.citrix.tcp.sh_sync_queue:1703]-:-[CTXMAMTCPConnection getAllMAMDataForAppID:error:]_block_invoke: TCPConn: Getting all MAM data. 2023-06-03T15:21:58.619+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.citrix.mdx.tcp.sync_queue:1703]-:-[CTXMAMTCPClient connectToLocalhostP2023-06-03 15:21:58.752 M3[52541:3410759] [SOLocalization]: 请在程序入口处调用configSupportRegions:fallbackRegion:serverId: 2023-06-03 15:21:58.754 M3[52541:3410759] ks log --- -[AppDelegate application:didFinishLaunchingWithOptions:] -- launchoptions:(null) 2023-06-03 15:21:58.754 M3[52541:3410759] ks log -- userdefault : { ctxLoggerDictKeySupportInfo = { CTXMAMAppCore = "22.8.0+1"; CTXMAMCompliance = "22.8.0+1"; CTXMAMContainment = "22.8.0+3"; CTXMAMCore = "22.8.0+1"; CTXMAMLocalAuth = "22.8.0+1"; CTXMAMNetwork = "22.8.0+3"; CitrixLogger = "22.8.0+1"; }; } 2023-06-03 15:21:58.755 M3[52541:3410759] ks log -- serverlist : ( ) 2023-06-03 15:21:58.755 M3[52541:3410759] ks log -- loginname : (null) 2023-06-03 15:21:58.757 M3[52541:3410759] ks log -- alljslocal : { } ort:timeout:error:]: TCPCLIENT: Connecting to WorxHome... 2023-06-03T15:21:58.619+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.citrix.mdx.tcpclient.WorxHome.1.16807:4f07]-:-[CTXMAMTCPClient socketDidDisconnect:withError:]: TCPCLIENT: socketDidDisconnect:0x10441e120 withError: Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={NSLocalizedDescription=Connection refused, NSLocalizedFailureReason=Error in connect() function} 2023-06-03T15:21:58.619+0800 移动办公[CTXMAMAppCoreFramework:WARNING:com.citrix.tcp.sh_sync_queue:1703]-:-[CTXMAMSharedDataNetworkSyncClientBase establishConnectionWithServerPort:timeout:error:]: Connection to Agent TCP Server failed with error: Error Domain=com.citrix.mdx.tcp Code=1001 "Failed to connect." UserInfo={NSLocalizedDescription=Failed to connect.} 2023-06-03T15:21:58.619+0800 移动办公[CTXMAMAppCoreFramework:WARNING:com.citrix.tcp.sh_sync_queue:1703]-:-[CTXMAMSharedDataNetworkSyncClientBase requestServerWithCommandDictionary:error:]: Failed to connect to agent TCP server. Error:Error Domain=com.citrix.mdx.tcp Code=1001 "Failed to connect." UserInfo={NSLocalizedDescription=Failed to connect.} 2023-06-03T15:21:58.619+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.citrix.tcp.sh_sync_queue:1703]-:-[CTXMAMTCPConnection getAllMAMDataForAppID:error:]_block_invoke: TCPConn: Empty response. 2023-06-03T15:21:58.619+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.citrix.shmamshareddata_sync_queue:1703]-:-[CTXMAMSecureHubSharedData requestOverTCP]: No data received. 2023-06-03T15:21:58.619+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.citrix.shmamshareddata_sync_queue:1703]-:-[CTXMAMSecureHubSharedData getSharedMAMInfo:withError:]: Failed to get SH MAM data. 2023-06-03T15:21:58.619+0800 移动办公[CTXMAMAppCoreFramework:INFO:com.citrix.shmamshareddata_sync_queue:1703]-:-[CTXMAMSecureHubSharedData loadDataInternal]: MamInfo:0, UseSHMAMData:0, error:Error Domain=_CTXMAMAppCoreErrorDomain Code=1050 "Failed to get SH MAM data." UserInfo={NSLocalizedDescription=Failed to get SH MAM data.}. 2023-06-03T15:21:58.758+0800 移动办公[CTXMAMCoreFramework:INFO:com.apple.main-thread:103]I:-[CTXMAMCore setDelegate:]: Setting CTXMAMCoreSdk delegate AppDelegate. 2023-06-03T15:21:58.758+0800 移动办公[CTXMAMCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:+[CTXMAMCore initializeSDKsWithCompletionBlock:]_block_invoke: Enter SDKs Initialization Block. 2023-06-03T15:21:58.758+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager hubAppInfo]: hubAppInfo is nil. 2023-06-03T15:21:58.758+0800 移动办公[CTXMAMAppCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:+[CTXMAMAppCore initializeSDK]: Initializing CTXMAMAppCore SDK. 2023-06-03T15:21:58.758+0800 移动办公[CTXMAMAppCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:+[CTXMAMConfigManager(AppCore) configManagerAppCoreInit]: Assigning block to ServerInfoCompletionBlock 2023-06-03T15:21:58.758+0800 移动办公[CTXMAMAppCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:+[CTXMAMConfigManager(AppCore) configManagerAppCoreInit]: hubInfo is nil, requesting new logon from hub. 2023-06-03T15:21:58.758+0800 移动办公[CTXMAMAppCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMLogonManager requestNewLogon:]: Request new logon. 2023-06-03T15:21:58.758+0800 移动办公[CTXMAMAppCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:-[InTuneSupport init]: App does not consume Intune SDK 2023-06-03T15:21:58.758+0800 移动办公[CTXMAMAppCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMLogonManager requestNewLogon:]: App is NOT InTune Managed sending logon request to secure hub. 2023-06-03T15:21:58.758+0800 移动办公[CTXMAMAppCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMLogonManager startLogonRequest:]: Starting logon request. 2023-06-03T15:21:58.758+0800 移动办公[CTXMAMAppCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMLogonManager startLogonRequest:]: Non-workspace or workspace V1 environment or Third-party apps in workspace V2 detected. Flip to2023-06-03 15:21:58.803 M3[52541:3410759] Apache Cordova native platform version 4.2.1 is starting.
2023-06-03T15:21:58.759+0800 移动办公[CTXMAMAppCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:-[CtxSingleSignOn openURL:withMdxURLVersion:andCompletionBlock:]: Sending URL: com.citrix.meatwork://?store=&appid=&urlscheme=&nonce=&reauth=&enum=&mdxrequest.time=&logontype=&mdxurlversion= 2023-06-03T15:21:58.954+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxInitWithFrame:configuration:]: ctxInitWithFrame: {{0, 0}, {414, 896}}, <WKWebViewConfiguration: 0x104428230; processPool = <WKProcessPool: 0x104429400; configuration = <_WKProcessPoolConfiguration: 0x281276580>>; preferences = <WKPreferences: 0x280c6e530>> 2023-06-03T15:21:58.954+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:58.955+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxInitWithFrame:configuration:]: ctxInitWithFrame - checkIfPoliciesDictateWKWebViewHookingSupport returned NO 2023-06-03T15:21:58.955+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:58.955+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) registerForPoliciesAvailableToReinitializeWKWebView:]: Waiting for policies to be available to set WK config. 2023-06-03T15:21:58.973+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: delegate: <CDVWKWebViewUIDelegate: 0x28257fe40>, self.navigationDelegate: (null), self.delegateProxy: (null), wkwebview: <CDVWKWebView: 0x10583da00; frame = (0 0; 414 896); opaque = NO; layer = <CALayer: 0x282727aa0>> 2023-06-03T15:21:58.973+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:58.973+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: Setting navigationDelegate to <CDVWKWebViewUIDelegate: 0x28257fe40> 2023-06-03T15:21:58.974+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxInitWithFrame:configuration:]: ctxInitWithFrame: {{0, 0}, {414, 896}}, <WKWebViewConfiguration: 0x104428230; processPool = <WKProcessPool: 0x104429400; configuration = <_WKProcessPoolConfiguration: 0x281276580>>; preferences = <WKPreferences: 0x280c6fbf0>> 2023-06-03T15:21:58.974+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:58.974+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxInitWithFrame:configuration:]: ctxInitWithFrame - checkIfPoliciesDictateWKWebViewHookingSupport returned NO 2023-06-03T15:21:58.974+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:58.974+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) registerForPoliciesAvailableToReinitializeWKWebView:]: Waiting for policies to be available to set WK config. 2023-06-03T15:21:58.975+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: delegate: <CDVWKWebViewUIDelegate: 0x28257fe40>, self.navigationDelegate: (null), self.delegateProxy: (null), wkwebview: <CDVWKWebView: 0x10586b600; frame = (0 0; 414 896); opaque = NO; layer = <CALayer: 0x28273bf80>> 2023-06-03T15:21:58.976+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:58.976+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: Setting navigationDelegate to <CDVWKWebViewUIDelegate: 0x28257fe40> 2023-06-03T15:21:58.976+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxInitWithFrame:configuration:]: ctxInitWithFrame: {{0, 0}, {0, 0}}, <WKWebViewConfiguration: 0x104428230; processPool = <WKProcessPool: 0x104431830; configuration = <_WKProcessPoolConfiguration: 0x281276d00>>; preferences = <WKPreferences: 0x280c545b0>> 2023-06-03T15:21:58.976+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:58.977+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxInitWithFrame:configuration:]: ctxInitWithFrame - checkIfPoliciesDictateWKWebViewHookingSupport returned NO 2023-06-03T15:21:58.977+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:58.977+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) registerForPoliciesAvailableToReinitializeWKWebView:]: Waiting for policies to be available to set WK config. 2023-06-03T15:21:58.983+0800 移动办公[CTXMAMLocalAuth:INFO:com.apple.main-thread:103]I:-[CTXMAMUIOfflineChallenger resetChallengeState]_block_invoke: Revealing Screen. 2023-06-03T15:21:58.983+0800 移动办公[CTXMAMCoreFramework:INFO:com.apple.main-thread:103]I:+[CTXMAMUnlinkedSDKUtils getSingletonInstanceForClassName:andSingletonName:]: Trying to get singleton for class: CTXMAMConcealScreenManager 2023-06-03T15:21:58.983+0800 移动办公[CTXMAMCoreFramework:INFO:com.apple.main-thread:103]I:+[CTXMAMUnlinkedSDKUtils getSingletonInstanceForClassName:andSingletonName:]: Class CTXMAMConcealScreenManager is present, calling sharedInstance 2023-06-03T15:21:58.991+0800 移动办公[CTXMAMConfigInfo:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigInfo getConfigInfo:]: Begin ConfigInfo init. 2023-06-03T15:21:58.992+0800 移动办公[CTXMAMConfigInfo:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigInfo isWorkspaceEnabled]: Hub info is nil, so workspace enabled is not yet known. 2023-06-03T15:21:58.992+0800 移动办公[CTXMAMConfigInfo:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigInfo getCemServerAddress]: Hub info does not exist, so CEM server address is unknown. 2023-06-03T15:21:58.992+0800 移动办公[CTXMAMConfigInfo:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigInfo getConfigInfo:]: Workspace V2 = NO 2023-06-03T15:21:58.992+0800 移动办公[CTXMAMConfigInfo:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigInfo getConfigInfo:]: Workspace Enabled = NO 2023-06-03T15:21:58.992+0800 移动办公[CTXMAMConfigInfo:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigInfo getConfigInfo:]: CEM server address = (null) 2023-06-03T15:21:58.992+0800 移动办公[CTXMAMConfigInfo:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigInfo getCemServerAddress]: Hub info does not exist, so CEM server address is unknown. 2023-06-03T15:21:58.992+0800 移动办公[CTXMAMConfigInfo:WARNING:CTXMAMInitDispatchQueue:1603]-:+[CTXMAMConfigInfo mamServicesInstance]: Unable to initialize MAM Services SDK yet since CEM server address is not yet known. 2023-06-03T15:21:58.992+0800 移动办公[CTXMAMConfigInfo:ERROR:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigInfo failGetConfigInfo:errorMsg:]: Cannot get MAM Service instance. 2023-06-03T15:21:58.993+0800 移动办公[CtxAuthInterface:INFO:CTXMAMInitDispatchQueue:1603]-:-[CtxAuthInterface CtxAML_Initialize]: CtxAuthInterface: Enter CtxAML_Initialize 2023-06-03T15:21:58.994+0800 移动办公[CTXMAMCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager refreshConfiguration]: Refreshing configuration. 2023-06-03T15:21:58.994+0800 移动办公[CTXMAMCoreFrame2023-06-03 15:21:59.018 M3[52541:3410790] CTXMAMCore - Now initializing CTXMAMCore SDK 2023-06-03 15:21:59.018 M3[52541:3410790] CTXMAMCore - Now initializing CTXMAMAnalytics SDK 2023-06-03 15:21:59.018 M3[52541:3410790] CTXMAMCore - Now initializing CTXMAMContainment SDK 2023-06-03 15:21:59.018 M3[52541:3410790] CTXMAMCore - Now initializing CTXMAMCompliance SDK 2023-06-03 15:21:59.019 M3[52541:3410759] Swizzling - Swizzling class: CTXMAMContainment. 2023-06-03 15:21:59.021 M3[52541:3410759] Swizzling - Will add method: ctxApplication:shouldAllowExtensionPointIdentifier:. 2023-06-03 15:21:59.025 M3[52541:3410790] CTXMAMCore - Now initializing CTXMAMLocalAuth SDK 2023-06-03 15:21:59.026 M3[52541:3410790] CTXMAMCore - Now initializing SmartNetwork SDK 2023-06-03 15:21:59.028 M3[52541:3410790] Swizzling - Swizzling class: NSURLSessionConfiguration. 2023-06-03 15:21:59.029 M3[52541:3410790] Swizzling - Swizzling class: NSURLSessionConfiguration. 2023-06-03 15:21:59.030 M3[52541:3410790] Swizzling - Swizzling class: NSURLAuthenticationChallenge. 2023-06-03 15:21:59.030 M3[52541:3410790] Swizzling - Swizzling class: NSURLProtectionSpace. 2023-06-03 15:21:59.031 M3[52541:3410790] Swizzling - Swizzling class: NSURLConnection. 2023-06-03 15:21:59.031 M3[52541:3410790] Swizzling - Swizzling class: NSURLConnection. 2023-06-03 15:21:59.032 M3[52541:3410790] Swizzling - Swizzling class: NSURLConnection. 2023-06-03 15:21:59.032 M3[52541:3410790] Swizzling - Swizzling class: NSURLConnection. 2023-06-03 15:21:59.032 M3[52541:3410790] Swizzling - Swizzling class: NSURLSession. 2023-06-03 15:21:59.033 M3[52541:3410790] Swizzling - Swizzling class: NSURLSession. 2023-06-03 15:21:59.033 M3[52541:3410790] Swizzling - Swizzling class: NSURLSession. 2023-06-03 15:21:59.033 M3[52541:3410790] Swizzling - Swizzling class: NSURLSession. 2023-06-03 15:21:59.033 M3[52541:3410790] Swizzling - Swizzling class: NSURLSession. 2023-06-03 15:21:59.033 M3[52541:3410790] Swizzling - Swizzling class: NSURLSession. 2023-06-03 15:21:59.033 M3[52541:3410790] Swizzling - Swizzling class: NSURLSession. 2023-06-03 15:21:59.589 M3[52541:3410759] CDVWKWebViewEngine will reload WKWebView if required on resume work:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:58.994+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:58.994+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:58.995+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:58.995+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:58.995+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:58.995+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:58.995+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:58.995+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:58.995+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:58.996+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:58.996+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.018+0800 移动办公[CTXMAMCoreFramework:INFO:com.citrix.mamsdk.ConfigManagerSharedVault:4f07]-:-[CTXMAMDataStorage p_saveDataAsyncWithCompletionBlock:]_block_invoke: Synchronization successful for ConfigManagerSharedVault with 27 items and version# 942. 2023-06-03T15:21:59.018+0800 移动办公[CTXMAMNetwork:INFO:CTXMAMInitDispatchQueue:1603]-:-[AGPrimaryClientCertificateManager getAgClientCertificate]: getAgClientCertificate enter with doesMDMProvideCerts = 0. 2023-06-03T15:21:59.018+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.019+0800 移动办公[CTXMAMCoreFramework:WARNING:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.019+0800 移动办公[CTXMAMContainment:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMContainment initializeSDK]: Containment SDK is initialized. 2023-06-03T15:21:59.026+0800 移动办公[CTXMAMLocalAuth:INFO:CTXMAMInitDispatchQueue:1603]-:-[CTXMAMLocalAuth initializeSDK]: LocalAuth SDK is initialized. 2023-06-03T15:21:59.033+0800 移动办公[CTXMAMNetwork:INFO:CTXMAMInitDispatchQueue:1603]-:+[NSURLSession(mycategory) CTXMAM_NSURLSessionLoad]_block_invoke: +[NSURLSession(mycategory) CTXMAM_NSURLSessionLoad]_block_invoke called 2023-06-03T15:21:59.034+0800 移动办公[CTXMAMNetwork:INFO:CTXMAMInitDispatchQueue:1603]-:-[SmartNetwork initializeSDK]: Network SDK is initialized. 2023-06-03T15:21:59.034+0800 移动办公[CTXMAMCoreFramework:INFO:CTXMAMInitDispatchQueue:1603]-:+[CTXMAMCore initializeSDKsWithCompletionBlock:]_block_invoke_2: Exit CTXMAMCore initializeSDKs 2023-06-03T15:21:59.589+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: delegate: <CMPWKWebViewEngine: 0x283244280>, self.navigationDelegate: <CDVWKWebViewUIDelegate: 0x28257fe40>, self.delegateProxy: (null), wkwebview: <CDVWKWebView: 0x10586b600; frame = (0 0; 414 896); opaque = NO; layer = <CALayer: 0x28273bf80>> 2023-06-03T15:21:59.590+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPolici2023-06-03 15:21:59.590 M3[52541:3410759] Using WKWebView esDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:59.590+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: Setting navigationDelegate to <CMPWKWebViewEngine: 0x283244280> 2023-06-03T15:21:59.637+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:59.638+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxLoadFileURL:allowingReadAccessToURL:]: ctxLoadFileURL: file:///private/var/containers/Bundle/Application/93E021EE-477E-4547-9D0B-9CFB9E0D8B4B/M3.app/m3datauprage.html?webviewId=F45F62A4-1612-4055-8260-16E223060B60, WKWebViewVPNSupported:0 2023-06-03T15:21:59.656+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.656+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.657+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.657+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.657+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.657+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.657+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.657+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.659+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.659+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.659+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.660+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.660+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.660+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.660+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.660+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.660+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.660+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.660+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.660+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.675+0800 移动办公[CTXMAMCore-UIAppDelegate:INFO:com.apple.main-thread:103]I:-[UIApplication(CTXMAMApplication) printUIAppDeleg2023-06-03 15:21:59.688 M3[52541:3410759] -[CDVWKWebViewEngine webView:decidePolicyForNavigationAction:decisionHandler:]__file:///private/var/containers/Bundle/Application/93E021EE-477E-4547-9D0B-9CFB9E0D8B4B/M3.app/m3datauprage.html?webviewId=F45F62A4-1612-4055-8260-16E223060B60 2023-06-03 15:21:59.698 M3[52541:3410759] ctxApplicationDidBecomeActive enter. ateInfoLog:]: didFinishLaunchingWithOptions - end(1).. 2023-06-03T15:21:59.699+0800 移动办公[CTXMAMCoreFramework:INFO:com.apple.main-thread:103]A:-[CTXMAMApplicationLifecycle updateCurrentApplicationState]: Application state changed from 1 to 0 2023-06-03T15:21:59.699+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]A:-[CTXMAMContainment applicationDidBecomeActive:]: Life Event applicationDidBecomeActive: Enter. 2023-06-03T15:21:59.700+0800 移动办公[CTXMAMCoreFramework:INFO:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:ad07]-:-[CTXMAMKeychainInterface readDataAndAttributesFromKeychain:returnStatus:]: Failed to get attributes with result status: -25300. 2023-06-03T15:21:59.700+0800 移动办公[CTXMAMCoreFramework:ERROR:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:ad07]-:-[CTXMAMDataStorage p_getDataFromKeychainWithAccessAttrAndError:]: ConfigManagerPerAppVault.com.qme.mobileoffice: Unable to get data from keychain, error = Error Domain=Citrix Code=-25300 "The item cannot be found." UserInfo={NSLocalizedDescription=The item cannot be found.} 2023-06-03T15:21:59.700+0800 移动办公[CTXMAMCoreFramework:WARNING:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:ad07]-:-[CTXMAMDataStorage getAttributes]: ConfigManagerPerAppVault.com.qme.mobileoffice: Failed to get vault attributes. Error: Error Domain=Citrix Code=-25300 "The item cannot be found." UserInfo={NSLocalizedDescription=The item cannot be found.} 2023-06-03T15:21:59.700+0800 移动办公[CTXMAMCoreFramework:WARNING:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:ad07]-:-[CTXMAMDataStorage p_internalSaveDataTokeychainWithError:]: ConfigManagerPerAppVault.com.qme.mobileoffice: Failed to get data from keychain, this is most likely because we have none, the error was:(null) 2023-06-03T15:21:59.701+0800 移动办公[CTXMAMCoreFramework:INFO:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:7d03]-:-[CTXMAMKeychainInterface readDataAndAttributesFromKeychain:returnStatus:]: Failed to get attributes with result status: -25300. 2023-06-03T15:21:59.701+0800 移动办公[CTXMAMCoreFramework:ERROR:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:7d03]-:-[CTXMAMDataStorage p_getDataFromKeychainWithAccessAttrAndError:]: ConfigManagerPerAppVault.com.qme.mobileoffice: Unable to get data from keychain, error = Error Domain=Citrix Code=-25300 "The item cannot be found." UserInfo={NSLocalizedDescription=The item cannot be found.} 2023-06-03T15:21:59.701+0800 移动办公[CTXMAMCoreFramework:WARNING:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:7d03]-:-[CTXMAMDataStorage getAttributes]: ConfigManagerPerAppVault.com.qme.mobileoffice: Failed to get vault attributes. Error: Error Domain=Citrix Code=-25300 "The item cannot be found." UserInfo={NSLocalizedDescription=The item cannot be found.} 2023-06-03T15:21:59.701+0800 移动办公[CTXMAMCoreFramework:WARNING:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:7d03]-:-[CTXMAMDataStorage p_internalSaveDataTokeychainWithError:]: ConfigManagerPerAppVault.com.qme.mobileoffice: Failed to get data from keychain, this is most likely because we have none, the error was:(null) 2023-06-03T15:21:59.702+0800 移动办公[CTXMAMCoreFramework:INFO:com.citrix.mamsdk.ConfigManagerCWASharedVault:1703]-:-[CTXMAMDataStorage p_saveDataAsyncWithCompletionBlock:]_block_invoke: Synchronization successful for ConfigManagerCWASharedVault with 0 items and version# 0. 2023-06-03T15:21:59.706+0800 移动办公[CTXMAMCoreFramework:INFO:com.citrix.mamsdk.ConfigManagerAuthVault:4f07]-:-[CTXMAMDataStorage p_saveDataAsyncWithCompletionBlock:]_block_invoke: Synchronization successful for ConfigManagerAuthVault with 1 items and version# 20. 2023-06-03T15:21:59.706+0800 移动办公[CTXMAMCoreFramework:INFO:com.citrix.mamsdk.ConfigManagerPublicSharedVault:c807]-:-[CTXMAMDataStorage p_saveDataAsyncWithCompletionBlock:]_block_invoke: Synchronization successful for ConfigManagerPublicSharedVault with 0 items and version# 0. 202023-06-03 15:21:59.708 M3[52541:3410759] Exec: evalling: try{cordova.require('cordova/exec').nativeEvalAndFetch(function(){cordova.fireDocumentEvent('active');})}catch(e){console.log('exception nativeEvalAndFetch : '+ 2023-06-03 15:21:59.712 M3[52541:3410759] -[CDVWKWebViewEngine webView:didStartProvisionalNavigation:]__file:///private/var/containers/Bundle/Application/93E021EE-477E-4547-9D0B-9CFB9E0D8B4B/M3.app/m3datauprage.html?webviewId=F45F62A4-1612-4055-8260-16E223060B60 2023-06-03 15:21:59.712 M3[52541:3410759] IAB.close() called but it was already closed. 23-06-03T15:21:59.707+0800 移动办公[CTXMAMCoreFramework:ERROR:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:ad07]-:-[CTXMAMDataStorage p_saveData:withError:]: ConfigManagerPerAppVault.com.qme.mobileoffice: Unable to save data, error = Error Domain=Citrix Code=-25299 "The item already exists." UserInfo={NSLocalizedDescription=The item already exists.} 2023-06-03T15:21:59.707+0800 移动办公[CTXMAMCoreFramework:ERROR:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:ad07]-:-[CTXMAMDataStorage p_internalSaveDataTokeychainWithError:]: ConfigManagerPerAppVault.com.qme.mobileoffice: Unable to save data with error Error Domain=CTXMAMDataStorageError Code=90005 "An error occurred on one of the underlying systems." UserInfo={NSLocalizedDescription=An error occurred on one of the underlying systems., NSUnderlyingError=0x28291a250 {Error Domain=Citrix Code=-25299 "The item already exists." UserInfo={NSLocalizedDescription=The item already exists.}}} 2023-06-03T15:21:59.707+0800 移动办公[CTXMAMCoreFramework:ERROR:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:ad07]-:-[CTXMAMDataStorage p_checkSaveDataFailureError:]: Failed to synchronize ConfigManagerPerAppVault.com.qme.mobileoffice data with vault, error:Error Domain=CTXMAMDataStorageError Code=90005 "An error occurred on one of the underlying systems." UserInfo={NSLocalizedDescription=An error occurred on one of the underlying systems., NSUnderlyingError=0x28291a250 {Error Domain=Citrix Code=-25299 "The item already exists." UserInfo={NSLocalizedDescription=The item already exists.}}} 2023-06-03T15:21:59.707+0800 移动办公[CTXMAMCoreFramework:ERROR:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:ad07]-:-[CTXMAMDataStorage p_checkErrorAfterSaveDataAsync:]: ConfigManagerPerAppVault.com.qme.mobileoffice: Unable to load data from vault with error Error Domain=CTXMAMDataStorageError Code=90005 "An error occurred on one of the underlying systems." UserInfo={NSLocalizedDescription=An error occurred on one of the underlying systems., NSUnderlyingError=0x28291a250 {Error Domain=Citrix Code=-25299 "The item already exists." UserInfo={NSLocalizedDescription=The item already exists.}}} 2023-06-03T15:21:59.707+0800 移动办公[CTXMAMCoreFramework:INFO:com.citrix.mamsdk.ConfigManagerSharedVault:2003]-:-[CTXMAMDataStorage p_saveDataAsyncWithCompletionBlock:]_block_invoke: Synchronization successful for ConfigManagerSharedVault with 27 items and version# 942. 2023-06-03T15:21:59.707+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]A:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.707+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]A:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.707+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]A:-[CTXMAMContainment blockBackup]: Applying iCloud/iTunes backup policy to file:///var/mobile/Containers/Data/Application/7E98991C-DD99-4DCE-888F-5B2E87F7DAAE/Documents/. Backup allowed. 2023-06-03T15:21:59.707+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]A:-[CTXMAMContainment blockBackup]: Applying iCloud/iTunes backup policy to file:///var/mobile/Containers/Data/Application/7E98991C-DD99-4DCE-888F-5B2E87F7DAAE/Library/. Backup allowed. 2023-06-03T15:21:59.708+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]A:-[CTXMAMContainment applicationDidBecomeActive:]: Life Event applicationDidBecomeActive: Exit. 2023-06-03T15:21:59.708+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]A:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.708+0800 移动办公[CTXMAMLocalAuth:INFO:com.apple.main-thread:103]A:-[CTXMAMLocalAuth handleDidBecomeActive]: App Info is not available yet. 2023-06-03T15:21:59.708+0800 移动办公[CTXMAMCompliance:INFO:com.apple.main-thread:103]A:-[CTXMAMCompliance startComplianceCheck]: No hub info available.
2023-06-03T15:21:59.709+0800 移动办公[CTXMAMCoreFramework:IN2023-06-03 15:21:59.732 M3[52541:3410759] -[CDVWKWebViewEngine webView:decidePolicyForNavigationResponse:decisionHandler:]__file:///private/var/containers/Bundle/Application/93E021EE-477E-4547-9D0B-9CFB9E0D8B4B/M3.app/m3datauprage.html?webviewId=F45F62A4-1612-4055-8260-16E223060B60
FO:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:7d03]-:-[CTXMAMDataStorage p_saveDataAsyncWithCompletionBlock:]_block_invoke: Synchronization successful for ConfigManagerPerAppVault.com.qme.mobileoffice with 0 items and version# 0. 2023-06-03T15:21:59.740+0800 移动办公[CTXMAMCoreFramework:INFO:com.apple.main-thread:103]A:-[CTXMAMDataStorage saveDataToKeychainAsyncWithCompletionBlock:]: No changes to be synchronized, dispatching completion block with no error. 2023-06-03T15:21:59.740+0800 移动办公[CTXMAMCoreFramework:INFO:com.apple.main-thread:103]A:-[CTXMAMDataStorage saveDataToKeychainAsyncWithCompletionBlock:]: No changes to be synchronized, dispatching completion block with no error. 2023-06-03T15:21:59.740+0800 移动办公[CTXMAMCoreFramework:INFO:com.apple.main-thread:103]A:-[CTXMAMDataStorage saveDataToKeychainAsyncWithCompletionBlock:]: No changes to be synchronized, dispatching completion block with no error. 2023-06-03T15:21:59.740+0800 移动办公[CTXMAMCoreFramework:INFO:com.apple.main-thread:103]A:-[CTXMAMDataStorage saveDataToKeychainAsyncWithCompletionBlock:]: No changes to be synchronized, dispatching completion block with no error. 2023-06-03T15:21:59.740+0800 移动办公[CTXMAMCoreFramework:INFO:com.apple.main-thread:103]A:-[CTXMAMDataStorage saveDataToKeychainAsyncWithCompletionBlock:]: No changes to be synchronized, dispatching completion block with no error. 2023-06-03T15:21:59.740+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]A:-[CTXMAMContainment applicationWillResignActive:]: Life Event applicationWillResignActive: Enter. 2023-06-03T15:21:59.741+0800 移动办公[CTXMAMCoreFramework:ERROR:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:c807]-:-[CTXMAMDataStorage p_internalSaveDataTokeychainWithError:]: There was an error getting the data. Error: (null) 2023-06-03T15:21:59.744+0800 移动办公[CTXMAMCoreFramework:INFO:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:c807]-:-[CTXMAMDataStorage p_saveDataAsyncWithCompletionBlock:]_block_invoke: Synchronization successful for ConfigManagerPerAppVault.com.qme.mobileoffice with 3 items and version# 4. 2023-06-03T15:21:59.744+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]A:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.744+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]A:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.744+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]A:-[CTXMAMContainment willResignActive]: Obscure Screen policy set to NO, will not conceal screen 2023-06-03T15:21:59.744+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]A:-[CTXMAMContainment applicationWillResignActive:]: Life Event applicationWillResignActive: Exit. 2023-06-03T15:21:59.758+0800 移动办公[CTXMAMCoreFramework:INFO:com.citrix.mamsdk.ConfigManagerSharedVault:1603]-:-[CTXMAMDataStorage p_saveDataAsyncWithCompletionBlock:]_block_invoke: Synchronization successful for ConfigManagerSharedVault with 27 items and version# 943. 2023-06-03T15:21:59.809+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxInitWithFrame:configuration:]: ctxInitWithFrame: {{0, 0}, {414, 896}}, <WKWebViewConfiguration: 0x1045289d0; processPool = <WKProcessPool: 0x104429400; configuration = <_WKProcessPoolConfiguration: 0x281276580>>; preferences = <WKPreferences: 0x280c6abc0>> 2023-06-03T15:21:59.810+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:59.810+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxInitWithFrame:configuration:]: ctxInitWithFrame - checkIfPoliciesDictateWKWebViewHookingSupport returned NO 2023-06-03 15:21:59.848 M3[52541:3410759] Swizzling - The method dropInteraction:performDrop: was already transitioned once. nager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.810+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) registerForPoliciesAvailableToReinitializeWKWebView:]: Waiting for policies to be available to set WK config. 2023-06-03T15:21:59.814+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: delegate: <CDVWKWebViewUIDelegate: 0x28256ab20>, self.navigationDelegate: (null), self.delegateProxy: (null), wkwebview: <CDVWKWebView: 0x105840200; frame = (0 0; 414 896); opaque = NO; layer = <CALayer: 0x28273ba80>> 2023-06-03T15:21:59.814+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:59.814+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: Setting navigationDelegate to <CDVWKWebViewUIDelegate: 0x28256ab20> 2023-06-03T15:21:59.815+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: delegate: <CMPPrivacyProtocolWebViewController: 0x119008800>, self.navigationDelegate: <CDVWKWebViewUIDelegate: 0x28256ab20>, self.delegateProxy: (null), wkwebview: <CDVWKWebView: 0x105840200; frame = (0 0; 414 896); opaque = NO; layer = <CALayer: 0x28273ba80>> 2023-06-03T15:21:59.816+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:59.816+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: Setting navigationDelegate to <CMPPrivacyProtocolWebViewController: 0x119008800> 2023-06-03T15:21:59.825+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:59.825+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxLoadRequest:]: ctxLoadRequest: http://***/?webviewId=***, WKWebViewVPNSupported:0 2023-06-03T15:21:59.846+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: delegate: <CMPPrivacyProtocolWebViewController: 0x119008800>, self.navigationDelegate: <CMPPrivacyProtocolWebViewController: 0x119008800>, self.delegateProxy: (null), wkwebview: <CDVWKWebView: 0x105840200; frame = (0 0; 414 896); opaque = NO; autoresize = W+H; backgroundColor = UIExtendedGrayColorSpace 1 1; layer = <CALayer: 0x28273ba80>> 2023-06-03T15:21:59.846+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:+[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport]: +[WKWebView(ctx) checkIfPoliciesDictateWKWebViewHookingSupport] - Network access policy is 1 2023-06-03T15:21:59.846+0800 移动办公[CTXMAMNetwork:INFO:com.apple.main-thread:103]I:-[WKWebView(ctx) ctxSetNavigationDelegate:]: Setting navigationDelegate to <CMPPrivacyProtocolWebViewController: 0x119008800> 2023-06-03T15:21:59.846+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.846+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.846+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.846+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.846+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.848+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.848+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.848+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.848+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.848+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.848+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:21:59.849+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]I:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:22:00.489+0800 移动办公[CTXMAMCoreFramework:INFO:com.apple.main-thread:103]B:-[CTXMAMApplicationLifecycle updateCurrentApplicationState]: Application state changed from 0 to 2 2023-06-03T15:22:00.489+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]B:-[CTXMAMContainment applicationDidEnterBackground:]: Life Event didEnterBackground: Enter. 2023-06-03T15:22:00.490+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]B:-[CTXMAMConfigManager xmsAppInfo]: xmsAppInfo is nil. 2023-06-03T15:22:00.490+0800 移动办公[CTXMAMCoreFramework:WARNING:com.apple.main-thread:103]B:-[CTXMAMConfigManager xmsPolicyInfo]: AppInfo unavailable. 2023-06-03T15:22:00.490+0800 移动办公[CTXMAMContainment:INFO:com.apple.main-thread:103]B:-[CTXMAMContainment didEnterBackground]: Obscure Screen policy set to NO, will not conceal screen`
@wingsrao From the logs you attached I saw network mode in MAM policy was set to 'unrestricted', so Citrix MAM SDK won't intercept any network request either from URL loading system, or WKWebView.
Have you tried using WKWebview to load bundle resource without MAMSDK integrated? And 1 more thing, if you want WKWebView can handle the customer scheme request, you need to implement your own class which confirm to protocol WKURLSchemeHandler, just as you tried in previous comments:
when i used WKURLHandler to intercept the custom protocol to load file from sandbox, wkwebview can display the html file from sandbox
@makunterry thanks for reply
1,'unrestricted' was setted to test if the mam sdk intercept network,but it not work.
2,using WKWebview to load bundle resource is work ,but not work in sandbox. APP can load bundle resource and sandbox resource without (MAMSDK integrated and mdx config to secure hub).
3,i tested custom protocol by WKURLSchemeHandler to load resource from sandbox, it can work well.
4,APP used WKBrowsingContextController to intercept, it's base framework for app, so cant change to use WKURLSchemeHandler easily.
ps:
[CTXMAMCoreFramework:ERROR:com.citrix.mamsdk.ConfigManagerPerAppVault.com.qme.mobileoffice:ad07]-:-[CTXMAMDataStorage p_checkErrorAfterSaveDataAsync:]: ConfigManagerPerAppVault.com.qme.mobileoffice: Unable to load data from vault with error Error Domain=CTXMAMDataStorageError Code=90005 "An error occurred on one of the underlying systems." UserInfo={NSLocalizedDescription=An error occurred on one of the underlying systems., NSUnderlyingError=0x28291a250 {Error Domain=Citrix Code=-25299 "The item already exists." UserInfo={NSLocalizedDescription=The item already exists.}}}
waht this log mean?
App used custom protocol to intercept http requests,so app can load html file from sandbox. [ex. like : [NSURLProtocol registerClass:[CustomURLProtocol class]]; ]
but when i integrated MAM sdk ,the native part run well.but the wkwebview load html file from sandbox cant display, wkwebview display the about:blank page. before load , logs can prove the html file is exists.
code: