Skip to content

Commit

Permalink
add install steps
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Sep 26, 2023
1 parent 07932d9 commit adcefcc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Migration from v2 to v3

## Setup v2

```kotlin
// app/build.gradle.kts
implementation("com.posthog.android:posthog:2.0.3")
```

```kotlin
import com.posthog.PostHog

Expand All @@ -19,6 +24,11 @@ PostHog.with(applicationContext).capture("event")

## Setup v3

```kotlin
// app/build.gradle.kts
implementation("com.posthog:posthog-android:3.0.0-alpha.1")
```

```kotlin
import com.posthog.PostHog
import com.posthog.android.PostHogAndroid
Expand Down

0 comments on commit adcefcc

Please sign in to comment.