refactor: native feature management (#2350)
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
MobileDeviceInterface,
|
||||
WebAppEvent,
|
||||
} from '@standardnotes/services'
|
||||
import { KeyboardService } from '../Keyboard/KeyboardService'
|
||||
|
||||
export interface WebApplicationInterface extends ApplicationInterface {
|
||||
notifyWebEvent(event: WebAppEvent, data?: unknown): void
|
||||
@@ -23,4 +24,5 @@ export interface WebApplicationInterface extends ApplicationInterface {
|
||||
addAndroidBackHandlerEventListener(listener: () => boolean): (() => void) | undefined
|
||||
setAndroidBackHandlerFallbackListener(listener: () => boolean): void
|
||||
generateUUID(): string
|
||||
get keyboardService(): KeyboardService
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user