Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

455 B
Raw Blame
/**
 * Default Deep Link Service - Generic implementation with minimal returns
 */

import type { DeepLinkService } from './types'

export class DefaultDeepLinkService implements DeepLinkService {
  async onOpenUrl(handler: (urls: string[]) => void): Promise<() => void> {
    console.log('onOpenUrl called with handler:', typeof handler)
    return () => {
      // No-op unlisten
    }
  }

  async getCurrent(): Promise<string[]> {
    return []
  }
}