|
1 | | -# CrossDK 2.0.0 |
| 1 | +# CrossDK 2.1.0 |
2 | 2 |
|
3 | 3 |  |
4 | 4 | [](#kotlin-support) |
@@ -63,7 +63,7 @@ repositories { |
63 | 63 |
|
64 | 64 | ```groovy |
65 | 65 | dependencies { |
66 | | - implementation 'com.adikteev:crossdk-android:2.0.0' |
| 66 | + implementation 'com.adikteev:crossdk-android:2.1.0' |
67 | 67 | } |
68 | 68 | ``` |
69 | 69 |
|
@@ -487,6 +487,41 @@ promotion is not properly dismissed you can call the method `.destroy()` availab |
487 | 487 | CrossDKView's in your `.onDestroy()` or `.onDetach()` lifecycle methods in order to to clean the |
488 | 488 | view |
489 | 489 |
|
| 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 | + |
490 | 525 | ## Proguard: |
491 | 526 |
|
492 | 527 | If you are using R8 the shrinking and obfuscation rules are included automatically. In other cases |
|
0 commit comments