diff --git a/android/app/capacitor.build.gradle b/android/app/capacitor.build.gradle index d023f8ac12..de320937e6 100644 --- a/android/app/capacitor.build.gradle +++ b/android/app/capacitor.build.gradle @@ -11,9 +11,11 @@ apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle" dependencies { implementation project(':capacitor-app') implementation project(':capacitor-browser') + implementation project(':capacitor-camera') implementation project(':capacitor-clipboard') implementation project(':capacitor-haptics') implementation project(':capacitor-keyboard') + implementation project(':capacitor-preferences') implementation project(':capacitor-splash-screen') implementation project(':capacitor-status-bar') implementation project(':capgo-capacitor-crisp') diff --git a/android/capacitor.settings.gradle b/android/capacitor.settings.gradle index 9d8d764e58..93bbf1c9ed 100644 --- a/android/capacitor.settings.gradle +++ b/android/capacitor.settings.gradle @@ -8,6 +8,9 @@ project(':capacitor-app').projectDir = new File('../node_modules/.pnpm/@capacito include ':capacitor-browser' project(':capacitor-browser').projectDir = new File('../node_modules/.pnpm/@capacitor+browser@8.0.3_@capacitor+core@8.2.0/node_modules/@capacitor/browser/android') +include ':capacitor-camera' +project(':capacitor-camera').projectDir = new File('../node_modules/.pnpm/@capacitor+camera@8.2.0_@capacitor+core@8.2.0/node_modules/@capacitor/camera/android') + include ':capacitor-clipboard' project(':capacitor-clipboard').projectDir = new File('../node_modules/.pnpm/@capacitor+clipboard@8.0.1_@capacitor+core@8.2.0/node_modules/@capacitor/clipboard/android') @@ -17,6 +20,9 @@ project(':capacitor-haptics').projectDir = new File('../node_modules/.pnpm/@capa include ':capacitor-keyboard' project(':capacitor-keyboard').projectDir = new File('../node_modules/.pnpm/@capacitor+keyboard@8.0.3_@capacitor+core@8.2.0/node_modules/@capacitor/keyboard/android') +include ':capacitor-preferences' +project(':capacitor-preferences').projectDir = new File('../node_modules/.pnpm/@capacitor+preferences@8.0.1_@capacitor+core@8.2.0/node_modules/@capacitor/preferences/android') + include ':capacitor-splash-screen' project(':capacitor-splash-screen').projectDir = new File('../node_modules/.pnpm/@capacitor+splash-screen@8.0.1_@capacitor+core@8.2.0/node_modules/@capacitor/splash-screen/android') diff --git a/capacitor.config.ts b/capacitor.config.ts index 91a84133bf..6786e8f4f9 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -39,8 +39,13 @@ const config: CapacitorConfig = { publicKey: '-----BEGIN RSA PUBLIC KEY-----\nMIIBCgKCAQEAr0HzEca/1vuvWcJ8/xYB6tx0j4uJMzw/kT34GnjyMlRmLLUIO9sj\nroXaUGaNoqlOCx73b7Qgp10TLPOAVxmoHV9ZJ4BS9cMCl5mvzB4qIdl6FZLcl3g5\nk5Nkj4w22nskqbBqL7eqMXpk4DD9oWRclnaZC/lCpok1n2AWy4EMZrshemBQ6iXr\ncppo+WByPbqmh/GbHvJyRvkx4Rgt2LSBJBI3laP3eEDkujCq1ZH9qgcIE4MXO5xq\n7c6LsLjN5wkQiNPSPI81zAbqBThhqodKzwav0FwIE1pyiJeGk1nV5Ji5kUgpFNwY\nY78iDVq4OP2jPfWO4jXnnJtnGN7aeKDMEQIDAQAB\n-----END RSA PUBLIC KEY-----\n', }, + // CapacitorHttp OFF: its Android GET proxy (_capacitor_http_interceptor_) + // stalls under load, timing out every in-flight request (PEANUT-UI-R44). + // Requests go direct from the webview — CORS allows https://localhost and + // capacitor://, and auth rides the Authorization header from native + // Preferences (src/utils/auth-token.ts) instead of the plugin's cookie jar. CapacitorHttp: { - enabled: true, + enabled: false, }, CapacitorPasskey: { // shim patches navigator.credentials.create/get so browser WebAuthn code works natively. diff --git a/eslint.config.js b/eslint.config.js index 051b8f20b2..4a7aa6fb04 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -27,6 +27,8 @@ module.exports = [ 'public/**', 'src/content/**', 'android/**', + 'ios/**', + 'build/**', 'src/types/api.generated.ts', 'coverage/**', 'playwright-report/**', @@ -83,6 +85,8 @@ module.exports = [ 'react/prop-types': 'off', // Allow unescaped quotes — too noisy and prettier handles spacing 'react/no-unescaped-entities': 'off', + // `jsx`/`global` are styled-jsx's