feat: New one-click Home Server, now in Labs. Launch your own self-hosted server instance with just 1 click from the Preferences window. (#2341)

This commit is contained in:
Mo
2023-07-03 08:30:48 -05:00
committed by GitHub
parent d79e7b14b1
commit 96f42643a9
367 changed files with 5895 additions and 570 deletions

View File

@@ -3,13 +3,16 @@ import {
AppleIAPProductId,
AppleIAPReceipt,
ApplicationIdentifier,
ApplicationInterface,
DatabaseKeysLoadChunkResponse,
DatabaseLoadOptions,
Environment,
MobileDeviceInterface,
namespacedKey,
NamespacedRootKeyInKeychain,
Platform as SNPlatform,
RawKeychainValue,
RawStorageKey,
removeFromArray,
TransferPayload,
UuidString,
@@ -72,6 +75,19 @@ export class MobileDevice implements MobileDeviceInterface {
private colorSchemeService?: ColorSchemeObserverService,
) {}
async removeRawStorageValuesForIdentifier(identifier: string): Promise<void> {
await this.removeRawStorageValue(namespacedKey(identifier, RawStorageKey.SnjsVersion))
await this.removeRawStorageValue(namespacedKey(identifier, RawStorageKey.StorageObject))
}
setApplication(_application: ApplicationInterface): void {
throw new Error('Method not implemented.')
}
removeApplication(_application: ApplicationInterface): void {
throw new Error('Method not implemented.')
}
async authenticateWithU2F(authenticationOptionsJSONString: string): Promise<Record<string, unknown> | null> {
const { Fido2ApiModule } = NativeModules