@gphone/sdk
    Preparing search index...

    Function useNavigation

    • OS Service Hook for phone navigation (opening apps, returning home, closing phone shell).

      Returns {
          closePhone: () => void;
          currentApp: Writable<RunningApp>;
          goHome: () => void;
          openApp: (appName: string, props?: Record<string, unknown>) => void;
      }

      • closePhone: () => void
      • currentApp: Writable<RunningApp>

        Whatever is on screen. home is the shell, not an app, and is never resident.

      • goHome: () => void
      • openApp: (appName: string, props?: Record<string, unknown>) => void