Skip to content

1681-engine / mobile / MobileConfigOptions

Interface: MobileConfigOptions ​

Defined in: src/mobile/capacitor.ts:51

Options for capacitorConfig: what differs between games.

Properties ​

appId ​

ts
appId: string;

Defined in: src/mobile/capacitor.ts:53

Reverse-domain id, as the stores know it ("com.example.mygame").


appName ​

ts
appName: string;

Defined in: src/mobile/capacitor.ts:54


backgroundColor? ​

ts
optional backgroundColor?: string;

Defined in: src/mobile/capacitor.ts:58

Behind the web view while it loads, and under the safe-area bands (default black).


debug? ​

ts
optional debug?: boolean;

Defined in: src/mobile/capacitor.ts:60

Let Chrome's and Safari's inspectors attach (default false: on for a debug build only).


extra? ​

ts
optional extra?: Record<string, unknown>;

Defined in: src/mobile/capacitor.ts:62

Anything else, laid over the defaults (plugins, server, …).


webDir? ​

ts
optional webDir?: string;

Defined in: src/mobile/capacitor.ts:56

The built web, relative to the project (default 'dist').

Released under the MIT License.