From 6d45888b7c69819c756be2f56d1a03a67d6ea780 Mon Sep 17 00:00:00 2001 From: Ahmed TARAFI <103176694+atarafi@users.noreply.github.com> Date: Thu, 20 Apr 2023 17:10:08 +0200 Subject: [PATCH] release: 2.1.0 (#3) --- README.md | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 237095f..41f5b21 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# CrossDK 2.0.0 +# CrossDK 2.1.0 ![Android](https://img.shields.io/badge/Android-android-white) [![Kotlin](https://img.shields.io/badge/Kotlin-compatible-brightgreen)](#kotlin-support) @@ -63,7 +63,7 @@ repositories { ```groovy dependencies { - implementation 'com.adikteev:crossdk-android:2.0.0' + implementation 'com.adikteev:crossdk-android:2.1.0' } ``` @@ -487,6 +487,41 @@ promotion is not properly dismissed you can call the method `.destroy()` availab CrossDKView's in your `.onDestroy()` or `.onDetach()` lifecycle methods in order to to clean the view +## CrossDK Debug mode: + +You can enable debug mode on SDK in order to have logs in console, this can be done by setting the +logLevel in `CrossDKConfig` class: + +```kotlin +import com.adikteev.crossdk.CrossDKConfig + +CrossDKConfig.Setting.logLevel = CrossDKConfig.LOG.VERBOSE +``` + +- `LOG.VERBOSE`: for verbose logging +- `LOG.ERROR`: for error logging +- `LOG.NONE`: for disabling logger + +> We recommend setting up this config before initializing the SDK. + +## Soft keyboard management: + +The CrossDK content hides soft keyboard when displayed for the first time. +Please note that this behavior may not work on all keyboard configurations. It's always preferable +to handle the dismiss and display of the keyboard in application level. + +## Hardware acceleration: + +CrossDK needs hardware acceleration enabled in order to properly show animated content, so make sure +you have this activated in your AndroidManifest.xml: + +```Xml + + + + +``` + ## Proguard: If you are using R8 the shrinking and obfuscation rules are included automatically. In other cases