Skip to content

Commit

Permalink
- remove direct usage of OCCoreManager.shared.memoryConfiguration (AP…
Browse files Browse the repository at this point in the history
…I has been removed, memory configuration now directly managed by SDK's OCPlatform)
  • Loading branch information
felix-schwarz committed Nov 28, 2024
1 parent a71058e commit 4b7975f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion ios-sdk
Submodule ios-sdk updated 32 files
+0 −31 .github/workflows/build-and-analyze.yml
+0 −10 .github/workflows/pull-transifex.yml
+1 −11 .github/workflows/push-transifex.yml
+0 −1 ownCloudSDK/Authentication/OCAuthenticationMethod.h
+0 −8 ownCloudSDK/Authentication/OCAuthenticationMethod.m
+0 −2 ownCloudSDK/Authentication/OCAuthenticationMethodOAuth2.h
+2 −48 ownCloudSDK/Authentication/OCAuthenticationMethodOAuth2.m
+0 −24 ownCloudSDK/Authentication/OCAuthenticationMethodOpenIDConnect.m
+2 −2 ownCloudSDK/Bookmark/OCBookmark+DataItem.m
+5 −0 ownCloudSDK/Bookmark/OCBookmark.h
+69 −5 ownCloudSDK/Bookmark/OCBookmark.m
+0 −6 ownCloudSDK/Connection/OCConnection+Setup.m
+3 −3 ownCloudSDK/Connection/OCConnection+Upload.m
+1 −8 ownCloudSDK/Connection/OCConnection.m
+2 −2 ownCloudSDK/Core/ItemList/OCCore+ItemList.m
+3 −8 ownCloudSDK/Core/OCCore.h
+6 −6 ownCloudSDK/Core/OCCore.m
+1 −1 ownCloudSDK/Core/Resources/Manager/OCResourceManager.h
+4 −4 ownCloudSDK/Core/Resources/Manager/OCResourceManager.m
+10 −0 ownCloudSDK/Platforms/OCPlatform.h
+31 −0 ownCloudSDK/Platforms/OCPlatform.m
+18 −0 ownCloudSDK/Resource Management/OCBookmarkManager.m
+0 −1 ownCloudSDK/Resource Management/OCCoreManager.h
+0 −23 ownCloudSDK/Resource Management/OCCoreManager.m
+19,587 −9,039 ownCloudSDK/Resources/Localizable.xcstrings
+31 −1 ownCloudSDK/Settings/OCClassSettings.m
+5 −5 ownCloudSDK/Vaults/Database/OCDatabase.m
+7 −1 ownCloudSDK/Vaults/Database/SQLite/OCSQLiteDB.m
+6 −0 ownCloudSDK/Vaults/OCVault.h
+14 −0 ownCloudSDK/Vaults/OCVault.m
+125 −175 ownCloudUI/Certificate Metadata/OpenSSL license/OpenSSL.LICENSE
+2,349 −909 ownCloudUI/Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class DocumentActionViewController: FPUIActionExtensionViewController {
CollectionViewCellProvider.registerStandardImplementations()
CollectionViewSupplementaryCellProvider.registerStandardImplementations()

OCCoreManager.shared.memoryConfiguration = .minimum // Limit memory usage
OCHTTPPipelineManager.setupPersistentPipelines() // Set up HTTP pipelines

OCItem.registerIcons()
Expand Down
2 changes: 0 additions & 2 deletions ownCloud File Provider/FileProviderExtension.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ - (instancetype)init

NSDictionary *bundleInfoDict = [[NSBundle bundleForClass:[FileProviderExtension class]] infoDictionary];

OCCoreManager.sharedCoreManager.memoryConfiguration = OCCoreMemoryConfigurationMinimum;

OCAppIdentity.sharedAppIdentity.appIdentifierPrefix = bundleInfoDict[@"OCAppIdentifierPrefix"];
OCAppIdentity.sharedAppIdentity.keychainAccessGroupIdentifier = bundleInfoDict[@"OCKeychainAccessGroupIdentifier"];
OCAppIdentity.sharedAppIdentity.appGroupIdentifier = bundleInfoDict[@"OCAppGroupIdentifier"];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ class ShareExtensionViewController: EmbeddingViewController, Themeable {
ShareExtensionViewController._servicesHaveBeenSetup = true

// Setup services
OCCoreManager.shared.memoryConfiguration = .minimum // Limit memory usage
OCHTTPPipelineManager.setupPersistentPipelines() // Set up HTTP pipelines

if AppLockManager.supportedOnDevice {
Expand Down

0 comments on commit 4b7975f

Please sign in to comment.