Skip to content

Commit

Permalink
Add example file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sporiff committed Apr 20, 2024
1 parent 1e3ce87 commit 4b74bc1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/content/docs/sdk/android/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ If you're using [Maven](https://maven.apache.org/), add the following to your `b

```groovy title="build.gradle"
dependencies {
implementation 'com.adjust.sdk:adjust-android:4.33.3'
implementation 'com.adjust.sdk:adjust-android:$ANDROID_VERSION'
implementation 'com.android.installreferrer:installreferrer:2.2'
// Add the following if you're using the Adjust SDK inside web views on your app
implementation 'com.adjust.sdk:adjust-android-webbridge:4.33.3'
implementation 'com.adjust.sdk:adjust-android-webbridge:$ANDROID_VERSION'
}
```

Expand Down Expand Up @@ -158,7 +158,7 @@ The Adjust SDK supports the [Meta Install Referrer](https://developers.facebook.
</MinorVersion>

1. Find your Meta app ID in your [App Dashboard](https://developers.facebook.com/apps). See Meta's [App Dashboard documentation](https://developers.facebook.com/docs/development/create-an-app/app-dashboard) for more information.
2. Pass your App ID as a __string__ argument to the `AdjustConfig.setFbAppId` method.
2. Pass your App ID as a **string** argument to the `AdjustConfig.setFbAppId` method.

<Tabs>
<Tab title="Kotlin" sync="kotlin">
Expand All @@ -185,8 +185,8 @@ Adjust.onCreate(config);

The following information is required to initialize the Adjust SDK:

- `appToken`: Your [Adjust app token](https://help.adjust.com/en/article/app-settings#view-your-app-token).
- `environment`: The environment your app is running in. Set this to `AdjustConfig.ENVIRONMENT_SANDBOX` to test your app locally.
- `appToken`: Your [Adjust app token](https://help.adjust.com/en/article/app-settings#view-your-app-token).
- `environment`: The environment your app is running in. Set this to `AdjustConfig.ENVIRONMENT_SANDBOX` to test your app locally.

The recommended way to initialize the Adjust SDK is inside a global Android [Application class](http://developer.android.com/reference/android/app/Application.html). If you haven't already set this up for your app, follow these steps:

Expand Down

0 comments on commit 4b74bc1

Please sign in to comment.