Skip to content

Commit

Permalink
Merge pull request #4 from absmartly/feature/DASH-1093/proguard-docs
Browse files Browse the repository at this point in the history
Adding proguard information in README.md
  • Loading branch information
hermeswaldemarin committed Nov 9, 2023
2 parents 22f99dd + d5b1f1b commit f538b50
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -46,6 +46,14 @@ To install the ABSmartly SDK, place the following in your `pom.xml` and replace
#### Android 6.0 or earlier
When targeting Android 6.0 or earlier, the default Java Security Provider will not work. Using [Conscrypt](https://github.com/google/conscrypt) is recommended. Follow these [instructions](https://github.com/google/conscrypt/blob/master/README.md) to install it as dependency.

#### Proguard rules
ProGuard is a command-line tool that reduces app size by shrinking bytecode and obfuscates the names of classes, fields and methods.
It’s an ideal fit for developers working with Java or Kotlin who are primarily interested in an Android optimizer.
If you are using [Proguard](https://github.com/Guardsquare/proguard), you will need to add the following rule to your Proguard configuration file.
This prevent proguard to change data classes used by the SDK and the missing of this rule will result in problems in the serialization/deserialization of the data.
```proguard
-keep public class com.absmartly.sdk.json.** { *; }
```

## Getting Started

Expand Down

0 comments on commit f538b50

Please sign in to comment.