Skip to content
This repository was archived by the owner on Nov 28, 2023. It is now read-only.

Commit 6d45888

Browse files
authored
release: 2.1.0 (#3)
1 parent b2a9e1b commit 6d45888

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CrossDK 2.0.0
1+
# CrossDK 2.1.0
22

33
![Android](https://img.shields.io/badge/Android-android-white)
44
[![Kotlin](https://img.shields.io/badge/Kotlin-compatible-brightgreen)](#kotlin-support)
@@ -63,7 +63,7 @@ repositories {
6363

6464
```groovy
6565
dependencies {
66-
implementation 'com.adikteev:crossdk-android:2.0.0'
66+
implementation 'com.adikteev:crossdk-android:2.1.0'
6767
}
6868
```
6969

@@ -487,6 +487,41 @@ promotion is not properly dismissed you can call the method `.destroy()` availab
487487
CrossDKView's in your `.onDestroy()` or `.onDetach()` lifecycle methods in order to to clean the
488488
view
489489

490+
## CrossDK Debug mode:
491+
492+
You can enable debug mode on SDK in order to have logs in console, this can be done by setting the
493+
logLevel in `CrossDKConfig` class:
494+
495+
```kotlin
496+
import com.adikteev.crossdk.CrossDKConfig
497+
498+
CrossDKConfig.Setting.logLevel = CrossDKConfig.LOG.VERBOSE
499+
```
500+
501+
- `LOG.VERBOSE`: for verbose logging
502+
- `LOG.ERROR`: for error logging
503+
- `LOG.NONE`: for disabling logger
504+
505+
> We recommend setting up this config before initializing the SDK.
506+
507+
## Soft keyboard management:
508+
509+
The CrossDK content hides soft keyboard when displayed for the first time.
510+
Please note that this behavior may not work on all keyboard configurations. It's always preferable
511+
to handle the dismiss and display of the keyboard in application level.
512+
513+
## Hardware acceleration:
514+
515+
CrossDK needs hardware acceleration enabled in order to properly show animated content, so make sure
516+
you have this activated in your AndroidManifest.xml:
517+
518+
```Xml
519+
<?xml version="1.0" encoding="utf-8"?>
520+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
521+
<activity android:hardwareAccelerated="true" />
522+
</manifest>
523+
```
524+
490525
## Proguard:
491526

492527
If you are using R8 the shrinking and obfuscation rules are included automatically. In other cases

0 commit comments

Comments
 (0)