diff --git a/src/lib/interface.ts b/src/lib/interface.ts index df41b2aa..ae8e9b22 100644 --- a/src/lib/interface.ts +++ b/src/lib/interface.ts @@ -119,7 +119,7 @@ export class MobileDeviceInterface extends DeviceInterface { } async removeAllRawDatabasePayloads(): Promise { const keys = await this.getAllDatabaseKeys(); - return AsyncStorage.multiRemove(keys.map(key => this.keyForPayloadId(key))); + return AsyncStorage.multiRemove(keys); } getKeychainValue(): Promise { return Keychain.getKeys();