Keep the native status bar outside the web view and replace the startup geolocation watcher with a silent permission check plus an explicit location action.
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;
|