๐Ÿ“ฆ mlynch / capacitor-remote-offline-example

๐Ÿ“„ capacitor.config.ts ยท 22 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22import { CapacitorConfig } from '@capacitor/cli';

const config: CapacitorConfig = {
  
  "appId": "com.capacitorjs.example.remote",
  "appName": "capacitor-remote-offline-example",
  "bundledWebRuntime": false,
  "webDir": "dist",
  "server": {
    "url": process.env.NODE_ENV === 'development' ? 'http://localhost:3000/' : "https://capacitor-remote-offline-example-web-app.vercel.app/"
  },
  "plugins": {
    "SplashScreen": {
      "launchShowDuration": 0
    }
  },
  ios: {
    limitsNavigationsToAppBoundDomains: true
  }
};

export default config;