IOSAD-202 ignores the complete impl for macOS

IOSAD-202
Andreas Buff 2 years ago
parent 22186c3fd9
commit bcb9303288

@ -148,9 +148,9 @@ static id<PEPPassphraseProviderProtocol> s_passphraseProvider = nil;
@return A URL pointing a pEp directory in the app container.
*/
#ifdef IS_IOS_BUILD
+ (NSURL *)createApplicationDirectoryiOS
{
#ifdef IS_IOS_BUILD
NSFileManager *fm = [NSFileManager defaultManager];
NSURL *containerUrl = [fm containerURLForSecurityApplicationGroupIdentifier:appGroupIdentifier];
NSLog(@"containerUrl '%@'", containerUrl);
@ -176,8 +176,8 @@ static id<PEPPassphraseProviderProtocol> s_passphraseProvider = nil;
}
return dirPath;
#endif
}
#endif
/**
Looks up the shared directory for pEp apps under iOS and makes sure it exists.
@ -191,10 +191,12 @@ static id<PEPPassphraseProviderProtocol> s_passphraseProvider = nil;
@return A URL pointing to as app-specific directory under the OS defined
application support directory for the current user.
*/
#ifdef IS_IOS_BUILD
+ (NSURL *)createApplicationDirectory
{
return [self createApplicationDirectoryiOS];
}
#endif
/**
Sets the directory that will be fed into the engine's per_machine_directory.

Loading…
Cancel
Save