Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@ val yourPlugin = SomePlugin()
analytics.add(yourPlugin)
```

### Example projects using Analytics-Kotlin
See how different platforms and languages use Analytics-Kotlin in different [example projects](https://github.com/segmentio/analytics-kotlin/tree/main/samples).
The example projects contain sample [plugins](https://github.com/segmentio/analytics-kotlin/tree/main/samples/kotlin-android-app/src/main/java/com/segment/analytics/next/plugins) and [destination plugins](https://github.com/segmentio/analytics-kotlin/tree/main/samples/kotlin-android-app-destinations/src/main/java/com/segment/analytics/destinations/plugins) you can utilize.

## Utility Methods
The Analytics-Kotlin utility methods help you work with plugins from the analytics timeline. They include:
- [Add](#add)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ If you’re using a different library such as Analytics-Android, follow these st

Middlewares are a powerful mechanism that can augment the events collected by the SDK. A middleware is a function that the Segment SDK invokes and can be used to monitor, modify, augment or reject events.

<br> As middlewares have the same function as [enrichment plugins](/docs/connections/sources/catalog/libraries/mobile/swift-ios/index#plugin-architecture), you need to write an enrichment plugin to add a middleware.
<br> As middlewares have the same function as [enrichment plugins](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/index/#plugin-architecture), you need to write an enrichment plugin to add a middleware.

<br> Before example:
```swift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@ val yourPlugin = SomePlugin()
analytics.add(yourPlugin)
```

### Example projects using Analytics-Kotlin
See how different platforms and languages use Analytics-Kotlin in different [example projects](https://github.com/segmentio/analytics-kotlin/tree/main/samples).
The example projects contain sample [plugins](https://github.com/segmentio/analytics-kotlin/tree/main/samples/kotlin-android-app/src/main/java/com/segment/analytics/next/plugins) and [destination plugins](https://github.com/segmentio/analytics-kotlin/tree/main/samples/kotlin-android-app-destinations/src/main/java/com/segment/analytics/destinations/plugins) you can utilize.

## Utility Methods
The Analytics-Kotlin utility methods help you work with plugins from the analytics timeline. They include:
- [Add](#add)
Expand Down