2021-09-26 08:07:24 +00:00
|
|
|
import { CapacitorConfig } from '@capacitor/cli';
|
|
|
|
|
|
|
|
const config: CapacitorConfig = {
|
2021-09-30 04:42:03 +00:00
|
|
|
appId: 'com.logseq.app',
|
|
|
|
appName: 'Logseq',
|
|
|
|
bundledWebRuntime: false,
|
|
|
|
webDir: 'public',
|
|
|
|
plugins: {
|
|
|
|
SplashScreen: {
|
2022-04-12 12:17:54 +00:00
|
|
|
launchShowDuration: 500,
|
2021-09-30 06:03:50 +00:00
|
|
|
launchAutoHide: false,
|
|
|
|
androidScaleType: "CENTER_CROP",
|
2021-11-27 14:27:52 +00:00
|
|
|
splashImmersive: false,
|
2021-09-30 06:22:21 +00:00
|
|
|
backgroundColor: "#002b36"
|
2021-09-30 04:42:03 +00:00
|
|
|
},
|
2022-04-29 03:19:44 +00:00
|
|
|
|
|
|
|
Keyboard: {
|
|
|
|
resize: "none"
|
|
|
|
}
|
2021-11-29 15:15:29 +00:00
|
|
|
},
|
|
|
|
ios: {
|
|
|
|
scheme: "Logseq"
|
2021-09-30 04:42:03 +00:00
|
|
|
}
|
|
|
|
// do not commit this into source control
|
|
|
|
// source: https://capacitorjs.com/docs/guides/live-reload
|
2021-12-01 02:41:01 +00:00
|
|
|
// , server: {
|
|
|
|
// url: process.env.LOGSEQ_APP_SERVER_URL,
|
|
|
|
// cleartext: true
|
|
|
|
// }
|
2021-09-26 08:07:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export = config;
|