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

Commit

Permalink
release: 2.1.0 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
atarafi authored Apr 20, 2023
1 parent b2a9e1b commit 6d45888
Showing 1 changed file with 37 additions and 2 deletions.
39 changes: 37 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -63,7 +63,7 @@ repositories {

```groovy
dependencies {
implementation 'com.adikteev:crossdk-android:2.0.0'
implementation 'com.adikteev:crossdk-android:2.1.0'
}
```

Expand Down Expand Up @@ -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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<activity android:hardwareAccelerated="true" />
</manifest>
```

## Proguard:

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

0 comments on commit 6d45888

Please sign in to comment.