### Capacitor Version Capacitor version: 7.0.1 ### Other API Details ```Shell ``` ### Platforms Affected - [x] iOS - [x] Android - [ ] Web ### Current Behavior ✅ Issues I'm facing with Appflow and Capacitor setup: ⚠️ iOS behavior - I have configured all the Appflow settings in Capacitor. - On iOS, hot reload works as expected without any issues. ⚠️ Android behavior - On Android, after 2–3 live updates, a white screen appears. - I tested the same build in a web view, and it works perfectly. - If I reinstall the app or clear the cache, it works fine again. ❗ The main issue: Without reinstalling or clearing the cache, live updates do not work properly, which breaks the intended update flow both ios and android. 🔐 OAuth session issue - After each live reload, users who are logged in via OAuth get logged out automatically. - This causes user experience problems, especially during frequent updates. ### Expected Behavior ✅ Expected Behavior: Live updates (via Appflow) should: - Work consistently on both iOS and Android. - Apply updates without showing a white screen on Android. - Work without requiring a reinstall or cache clear. OAuth sessions: - Users who are logged in via OAuth should remain logged in after live updates. - The session should persist across live reloads or hot updates. ### Project Reproduction This is private repo ### Additional Information Capacitor Config: ``` const config: CapacitorConfig = { appId: 'com.example.com', appName: 'Example App', webDir: 'build', server: { cleartext: false, androidScheme: 'https', iosScheme: 'https', hostname: 'localhost', }, plugins: { PushNotifications: { presentationOptions: ['badge', 'sound', 'alert'], }, Keyboard: { resizeOnFullScreen: false, }, LiveUpdates: { appId: 'c1378345', channel: 'Staging', autoUpdateMethod: 'none', maxVersions: 2, }, }, android: { webContentsDebuggingEnabled: true, }, // loggingBehavior: 'debug', // @ts-ignore npmClient: 'npm', } export default config ``` Package.json ``` "dependencies": { "@auth0/auth0-react": "^2.3.0", "@capacitor/android": "^7.2.0", "@capacitor/app": "^7.0.1", "@capacitor/browser": "^7.0.1", "@capacitor/camera": "^7.0.1", "@capacitor/core": "^7.2.0", "@capacitor/device": "^7.0.1", "@capacitor/haptics": "7.0.1", "@capacitor/ios": "^7.2.0", "@capacitor/keyboard": "7.0.1", "@capacitor/live-updates": "^0.4.0", "@capacitor/push-notifications": "^7.0.1", "@capacitor/share": "^7.0.1", "@capacitor/splash-screen": "^7.0.1", "@capacitor/status-bar": "7.0.1", "@capawesome/capacitor-android-edge-to-edge-support": "^7.2.1", "@ionic/react": "^6.7.5", "@ionic/react-router": "^6.7.5", "@sentry/capacitor": "^1.4.0", "@sentry/react": "8.55.0", "@testing-library/jest-dom": "^5.11.9", "@testing-library/react": "^13.3.0", "@testing-library/user-event": "^12.6.3", "@types/jest": "^26.0.20", "@types/node": "^12.19.15", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", "@types/react-router": "^5.1.11", "@types/react-router-dom": "^5.1.7", "ajv": "^6.12.6", "ajv-keywords": "^3.5.2", "axios": "^1.2.2", "caniuse-lite": "^1.0.30001717", "firebase": "^9.15.0", "history": "^4.9.0", "ionicons": "^6.0.3", "moment": "^2.29.4", "qrcode": "^1.5.1", "react": "^18.2.0", "react-autosize-textarea": "^7.1.0", "react-dom": "^18.2.0", "react-hook-form": "^7.41.5", "react-jsbarcode": "^0.4.2", "react-router": "^5.2.0", "react-router-dom": "^5.2.0", "react-scripts": "^5.0.0", "swiper": "^8.4.5", "typescript": "^4.1.3", "web-vitals": "^0.2.4", "workbox-background-sync": "^5.1.4", "workbox-broadcast-update": "^5.1.4", "workbox-cacheable-response": "^5.1.4", "workbox-core": "^5.1.4", "workbox-expiration": "^5.1.4", "workbox-google-analytics": "^5.1.4", "workbox-navigation-preload": "^5.1.4", "workbox-precaching": "^5.1.4", "workbox-range-requests": "^5.1.4", "workbox-routing": "^5.1.4", "workbox-strategies": "^5.1.4", "workbox-streams": "^5.1.4" }, ```