diff --git a/app/build.gradle b/app/build.gradle index 27e3752..acbd47e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -62,6 +62,7 @@ dependencies { implementation 'androidx.compose.foundation:foundation-layout:1.9.4' implementation 'androidx.compose.ui:ui' implementation 'androidx.compose.ui:ui-tooling-preview' + implementation('de.webid-solutions:android_document_scanner:20.3.0') debugImplementation 'androidx.compose.ui:ui-tooling' diff --git a/app/src/main/java/de/webidsolutions/metaplugindemo/MainActivity.kt b/app/src/main/java/de/webidsolutions/metaplugindemo/MainActivity.kt index 040a624..a869510 100644 --- a/app/src/main/java/de/webidsolutions/metaplugindemo/MainActivity.kt +++ b/app/src/main/java/de/webidsolutions/metaplugindemo/MainActivity.kt @@ -229,7 +229,7 @@ internal class MainActivity : ComponentActivity val failReason: ProductPluginErrorResult<*>? = pluginResult.error // Successful plugin execution if (failReason == null) { - writeLog(getString(R.string.product_journey_finished_successfully) + "\n") + showResult(getString(R.string.product_journey_finished_successfully) + "\n") result = getString(R.string.success) if (resultInfo != null) { result += " $resultInfo" @@ -238,7 +238,7 @@ internal class MainActivity : ComponentActivity showResult(result) } else { // failure case - writeLog(getString(R.string.product_journey_finished_with_failure)) + showResult(getString(R.string.product_journey_finished_with_failure)) if (failReason.specificResult != null) { val specificResult: IEPluginError? = failReason.specificResult as IEPluginError? diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 0f259b1..d5b39cf 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -18,7 +18,4 @@ Die Product Journey wurde erfolgreich abgeschlossen Die Product Journey endete mit Misserfolg: "Erfolg: " - Theme auswählen: - Theme mit Compose - Theme mit XML \ No newline at end of file diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index a80756b..771cb3e 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -18,7 +18,4 @@ La Product Journey se ha completado correctamente La Product Journey terminó con un error: "Éxito: " - Elige un tema - Theming with Compose - Theming with XML \ No newline at end of file diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 78e50cd..dca42cc 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -18,7 +18,4 @@ La Product Journey a été terminée avec succès La Product Journey s’est terminée par une erreur : "Succès : " - Choisir le thème - Theming with Compose - Theming with XML \ No newline at end of file diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index a95aef5..b01f1f4 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -17,8 +17,5 @@ Avvio non riuscito:\n La Product Journey è stata completata con successo La Product Journey si è conclusa con un errore: - "Successo: " - Scegli il tema - Theming with Compose - Theming with XML + "Successo: "+ \ No newline at end of file diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 7875da0..e7577cd 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -18,7 +18,5 @@ De Product Journey is met succes voltooid De Product Journey is met een fout beëindigd: "Success: " - Thema kiezen - Theming with Compose - Theming with XML + \ No newline at end of file diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 0e48b7d..02f121e 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -18,7 +18,5 @@ Product Journey została pomyślnie zakończona Product Journey zakończyła się błędem: "Sukces: " - Wybierz motyw - Theming with Compose - Theming with XML + \ No newline at end of file diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml index f5e2a9a..0c80b8f 100644 --- a/app/src/main/res/values-ro/strings.xml +++ b/app/src/main/res/values-ro/strings.xml @@ -18,7 +18,4 @@ Product Journey a fost finalizată cu succes Product Journey s-a încheiat cu eroare: "Succes: " - Alege tema - Theming with Compose - Theming with XML \ No newline at end of file diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 345bb15..8940f47 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -18,7 +18,5 @@ Product Journey başarıyla tamamlandı Product Journey bir hatayla sonuçlandı: "Success: " - Tema seç - Theming with Compose - Theming with XML + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d3d83e1..51e7092 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -17,7 +17,4 @@ Product Journey finished successfully Product journey finished with failure: "Success: " - Choose A Theme: - Theming with Compose - Theming with XML \ No newline at end of file