summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src/context
diff options
context:
space:
mode:
Diffstat (limited to 'packages/app/src/context')
-rw-r--r--packages/app/src/context/platform.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/app/src/context/platform.tsx b/packages/app/src/context/platform.tsx
index b97f70fea..f6fb157f0 100644
--- a/packages/app/src/context/platform.tsx
+++ b/packages/app/src/context/platform.tsx
@@ -17,6 +17,12 @@ export type Platform = {
/** Restart the app */
restart(): Promise<void>
+ /** Navigate back in history */
+ back(): void
+
+ /** Navigate forward in history */
+ forward(): void
+
/** Send a system notification (optional deep link) */
notify(title: string, description?: string, href?: string): Promise<void>