Skip to content

Commit 7ee13c4

Browse files
fixed. unable to select folders
1 parent eddc997 commit 7ee13c4

File tree

5 files changed

+11
-663
lines changed

5 files changed

+11
-663
lines changed

android/app/capacitor.build.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ dependencies {
1818
implementation "androidx.documentfile:documentfile:1.0.1"
1919
implementation "org.nanohttpd:nanohttpd:+"
2020
implementation "androidx.documentfile:documentfile:1.0.1"
21+
implementation "commons-io:commons-io:2.11.0"
22+
implementation "com.sshtools:maverick-synergy-client:3.1.2"
23+
implementation "com.sshtools:maverick-bc:3.1.2"
2124
implementation "androidx.core:core:1.6.0"
2225
implementation "androidx.core:core-google-shortcuts:1.0.0"
2326
}

android/app/src/main/java/com/foxdebug/acode/MainActivity.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ class MainActivity : BridgeActivity(){
3030
}
3131

3232
override fun onCreate(savedInstanceState: Bundle?) {
33-
//register plugins
34-
registerPlugin(Sftp::class.java)
33+
//register plugins before calling super
3534
registerPlugin(NativeLayer::class.java)
3635

3736

38-
//register plugins before calling super
3937
super.onCreate(savedInstanceState)
4038
activityRef = WeakReference(this)
4139
}

0 commit comments

Comments
 (0)