capacitor.config.ts 715 B

12345678910111213141516171819202122232425262728
  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: 3000,
  10. launchAutoHide: false,
  11. androidScaleType: "CENTER_CROP",
  12. splashImmersive: false,
  13. backgroundColor: "#002b36"
  14. },
  15. },
  16. ios: {
  17. scheme: "Logseq"
  18. }
  19. // do not commit this into source control
  20. // source: https://capacitorjs.com/docs/guides/live-reload
  21. // , server: {
  22. // url: process.env.LOGSEQ_APP_SERVER_URL,
  23. // cleartext: true
  24. // }
  25. };
  26. export = config;