From 29954510b78a13bf21ae769b09acef4cc978e7ff Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Fri, 19 Jul 2024 08:29:26 +0200 Subject: [PATCH] #1088 revert to fragment activity, restoring auth for vaults, disabling predictive back --- android/app/src/main/AndroidManifest.xml | 7 ++++++- .../src/main/kotlin/deckers/thibault/aves/MainActivity.kt | 5 +++-- .../deckers/thibault/aves/channel/calls/AnalysisHandler.kt | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 114582d4a..5f596ade3 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -102,12 +102,17 @@ + Unit) : MethodChannel.MethodCallHandler { +class AnalysisHandler(private val activity: FlutterFragmentActivity, private val onAnalysisCompleted: () -> Unit) : MethodChannel.MethodCallHandler { private val ioScope = CoroutineScope(SupervisorJob() + Dispatchers.IO) override fun onMethodCall(call: MethodCall, result: MethodChannel.Result) {