capacitor.config.ts 772 B

1234567891011121314151617181920212223242526272829303132
  1. import { CapacitorConfig } from '@capacitor/cli';
  2. const config: CapacitorConfig = {
  3. appId: 'com.logseq.app',
  4. appName: 'Logseq',
  5. bundledWebRuntime: false,
  6. webDir: 'public',
  7. plugins: {
  8. SplashScreen: {
  9. launchShowDuration: 500,
  10. launchAutoHide: false,
  11. androidScaleType: "CENTER_CROP",
  12. splashImmersive: false,
  13. backgroundColor: "#002b36"
  14. },
  15. Keyboard: {
  16. resize: "none"
  17. }
  18. },
  19. ios: {
  20. scheme: "Logseq"
  21. }
  22. // do not commit this into source control
  23. // source: https://capacitorjs.com/docs/guides/live-reload
  24. // , server: {
  25. // url: process.env.LOGSEQ_APP_SERVER_URL,
  26. // cleartext: true
  27. // }
  28. };
  29. export = config;