refactor(mobile): use ios file-sync as lib

This commit is contained in:
Andelf
2022-09-16 15:54:16 +08:00
parent a2ef3c5800
commit 2a73019b34
17 changed files with 28 additions and 1505 deletions

View File

@@ -18,6 +18,7 @@ dependencies {
implementation project(':capacitor-share')
implementation project(':capacitor-splash-screen')
implementation project(':capacitor-status-bar')
implementation project(':logseq-capacitor-file-sync')
implementation project(':capacitor-voice-recorder')
implementation project(':send-intent')

View File

@@ -1,25 +0,0 @@
{
"appId": "com.logseq.app",
"appName": "Logseq",
"bundledWebRuntime": false,
"webDir": "public",
"plugins": {
"SplashScreen": {
"launchShowDuration": 500,
"launchAutoHide": false,
"androidScaleType": "CENTER_CROP",
"splashImmersive": false,
"backgroundColor": "#002b36"
},
"Keyboard": {
"resize": "none"
}
},
"ios": {
"scheme": "Logseq"
},
"server": {
"url": "http://192.168.199.241:3001",
"cleartext": true
}
}

View File

@@ -35,6 +35,10 @@
"pkg": "@capacitor/status-bar",
"classpath": "com.capacitorjs.plugins.statusbar.StatusBarPlugin"
},
{
"pkg": "@logseq/capacitor-file-sync",
"classpath": "com.logseq.app.FileSyncPlugin"
},
{
"pkg": "capacitor-voice-recorder",
"classpath": "com.tchvu3.capacitorvoicerecorder.VoiceRecorder"

View File

@@ -29,6 +29,9 @@ project(':capacitor-splash-screen').projectDir = new File('../node_modules/@capa
include ':capacitor-status-bar'
project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android')
include ':logseq-capacitor-file-sync'
project(':logseq-capacitor-file-sync').projectDir = new File('../node_modules/@logseq/capacitor-file-sync/android')
include ':capacitor-voice-recorder'
project(':capacitor-voice-recorder').projectDir = new File('../node_modules/capacitor-voice-recorder/android')