Files
tiptoi-sync/client/capacitor.config.ts
T
arnef 0188d5210e Add Capacitor Android project and native Tiptoi plugin
Checked-in android/ Capacitor project plus the native TiptoiPlugin
(Kotlin): SAF directory picker for the pen, listing/copying/deleting
.gme files on the pen, and downloading GME/cover files into
app-private storage.
2026-08-12 11:54:39 +02:00

20 lines
502 B
TypeScript

import type { CapacitorConfig } from '@capacitor/cli'
// DEV_URL aktiviert den Capacitor Live-Reload gegen den Vite-Dev-Server.
// Beispiel: DEV_URL=http://192.168.1.42:5173 bun run cap:android
const devUrl = process.env.DEV_URL
const config: CapacitorConfig = {
appId: 'com.tiptoisync.app',
appName: 'TipToi Sync',
webDir: 'dist',
server: devUrl
? { url: devUrl, cleartext: true }
: { androidScheme: 'https' },
android: {
allowMixedContent: true,
},
}
export default config