From eadf048d5ebe0d4a8f26042e91240e999e7dedf4 Mon Sep 17 00:00:00 2001 From: Tommaso Casaburi Date: Tue, 14 Jul 2026 15:02:30 +0700 Subject: [PATCH] fix(android): support TypeScript 7 builds --- capacitor.config.json | 24 ++++++++++++++++++++++++ capacitor.config.ts | 28 ---------------------------- 2 files changed, 24 insertions(+), 28 deletions(-) create mode 100644 capacitor.config.json delete mode 100644 capacitor.config.ts diff --git a/capacitor.config.json b/capacitor.config.json new file mode 100644 index 00000000..813ab09a --- /dev/null +++ b/capacitor.config.json @@ -0,0 +1,24 @@ +{ + "appId": "fivechan.android", + "appName": "5chan", + "webDir": "build", + "plugins": { + "CapacitorHttp": { + "enabled": false + }, + "FileUploader": { + "enabled": true + }, + "StatusBar": { + "style": "Dark", + "backgroundColor": "#000000", + "overlay": false + }, + "EdgeToEdge": { + "backgroundColor": "#000000" + } + }, + "server": { + "androidScheme": "https" + } +} diff --git a/capacitor.config.ts b/capacitor.config.ts deleted file mode 100644 index 991794f8..00000000 --- a/capacitor.config.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { CapacitorConfig } from '@capacitor/cli'; - -const config: CapacitorConfig = { - appId: 'fivechan.android', - appName: '5chan', - webDir: 'build', - plugins: { - CapacitorHttp: { - enabled: false, - }, - FileUploader: { - enabled: true, - }, - StatusBar: { - style: 'Dark', - backgroundColor: '#000000', - overlay: false, - }, - EdgeToEdge: { - backgroundColor: '#000000', - }, - }, - server: { - androidScheme: 'https', - }, -}; - -export default config;