chore: fix mobile device interface
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -156,8 +156,6 @@ const MobileWebAppContents = ({ destroyAndReload }: { destroyAndReload: () => vo
|
||||
this.messageSender = messageSender
|
||||
}
|
||||
|
||||
setApplication() {}
|
||||
|
||||
askReactNativeToInvokeInterfaceMethod(functionName, args) {
|
||||
return this.messageSender.askReactNativeToInvokeInterfaceMethod(functionName, args)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user