Skip to content

Commit

Permalink
Move to SDK 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Taylor committed Dec 28, 2022
1 parent 3ee83b1 commit f5204f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions API-PROTECTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Approov tokens will then be added automatically to any requests to that domain (

Note that this will also add a public key certicate pin for connections to the domain to ensure that no Man-in-the-Middle attacks on your app's communication are possible. Please read [Managing Pins](https://approov.io/docs/latest/approov-usage-documentation/#public-key-pinning-configuration) to understand this in more detail.

> **NOTE:** By default a symmetric account key is used to sign the Approov token (HS256 algorithm), so that all API domains will share the same signing secret. Alternatively, it is possible to use a [keyset key](https://approov.io/docs/latest/approov-usage-documentation/#managing-key-sets) which may differ for each API domain and for which a wide range of different signing algorithms and key types are available. This requires you to first [add a new key](https://approov.io/docs/latest/approov-usage-documentation/#adding-a-new-key), and then specify it when [adding each API domain](https://approov.io/docs/latest/approov-usage-documentation/#keyset-key-api-addition). Note that this will have impact how you verify the token on your API backend.
## REGISTERING APPS
In order for Approov to recognize the app as being valid it needs to be registered with the service. Change the directory to the top level of your app project and then register the app with Approov:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Secondly, add the dependency in your app's `build.gradle`:

```
dependencies {
implementation 'com.github.approov:approov-service-retrofit:3.0.5'
implementation 'com.github.approov:approov-service-retrofit:3.1.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion SHAPES-EXAMPLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The `approov-service-retrofit` dependency needs to be added as follows to the `a
Note that in this case the dependency has been added with the tag `main-SNAPSHOT`. For your projects we recommend you add a dependency to a specific version.

```
implementation 'com.github.approov:approov-service-retrofit:3.0.5'
implementation 'com.github.approov:approov-service-retrofit:3.1.0'
```

Make sure you do a Gradle sync (by selecting `Sync Now` in the banner at the top of the modified `.gradle` file) after making these changes.
Expand Down

0 comments on commit f5204f2

Please sign in to comment.