Keep the iOS status bar outside the Capacitor web view and replace startup geolocation watching with silent permission checks plus an explicit location action. Verified by full unit, App Store readiness, Qodana, production build, Capacitor sync, and Playwright mobile suites.
20 lines
364 B
TypeScript
20 lines
364 B
TypeScript
import type { CapacitorConfig } from "@capacitor/cli";
|
|
|
|
const config: CapacitorConfig = {
|
|
appId: "io.truckwash.twa",
|
|
appName: "Truck Wash",
|
|
webDir: "dist",
|
|
server: {
|
|
androidScheme: "https",
|
|
},
|
|
plugins: {
|
|
StatusBar: {
|
|
overlaysWebView: false,
|
|
style: "LIGHT",
|
|
backgroundColor: "#FFFFFFFF",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|