Skip to content

Commit

Permalink
Better spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Taylor committed Aug 18, 2021
1 parent 5eaf742 commit c468327
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This quickstart provides the basic steps for integrating Approov into your app.

To follow this guide you should have received an onboarding email for a trial or paid Approov account.

## ADDING APPROOVSERVICE DEPENDENCY
## ADDING APPROOV SERVICE DEPENDENCY
The Approov integration is available via [`jitpack`](https://jitpack.io). This allows inclusion into the project by simply specifying a dependency in the `gradle` files for the app.

Firstly, `jitpack` needs to be added to the end the `repositories` section in the `build.gradle` file at the top root level of the project:
Expand Down Expand Up @@ -47,7 +47,7 @@ Note that the minimum SDK version you can use with the Approov package is 21 (An

Please [read this](https://approov.io/docs/latest/approov-usage-documentation/#targetting-android-11-and-above) section of the reference documentation if targetting Android 11 (API level 30) or above.

## INITIALIZING APPROOVSERVICE
## INITIALIZING APPROOV SERVICE
In order to use the `ApproovService` you must initialize it when your app is created, usually in the `onCreate` method:

```kotlin
Expand All @@ -69,7 +69,7 @@ The `<enter-your-config-string-here>` is a custom string that configures your Ap

This initializes Approov when the app is first created. A companion object allows other parts of the app to access the singleton Approov instance. All calls to `ApproovService` and the SDK itself are thread safe.

## USING APPROOVSERVICE
## USING APPROOV SERVICE
You can then modify your code that obtains a `RetrofitInstance` to make API calls as follows:

```kotlin
Expand Down

0 comments on commit c468327

Please sign in to comment.