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.
This commit is contained in:
2026-08-12 11:54:39 +02:00
parent 30170436fa
commit 0188d5210e
58 changed files with 1353 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
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