chore: fix mobile device interface

This commit is contained in:
Mo
2023-07-03 09:08:27 -05:00
parent 96f42643a9
commit 27fc4be886
6 changed files with 13 additions and 18 deletions

View File

@@ -3,7 +3,6 @@ import {
AppleIAPProductId,
AppleIAPReceipt,
ApplicationIdentifier,
ApplicationInterface,
DatabaseKeysLoadChunkResponse,
DatabaseLoadOptions,
Environment,
@@ -80,14 +79,6 @@ export class MobileDevice implements MobileDeviceInterface {
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

View File

@@ -156,8 +156,6 @@ const MobileWebAppContents = ({ destroyAndReload }: { destroyAndReload: () => vo
this.messageSender = messageSender
}
setApplication() {}
askReactNativeToInvokeInterfaceMethod(functionName, args) {
return this.messageSender.askReactNativeToInvokeInterfaceMethod(functionName, args)
}