Skip to content

Commit abdb1f1

Browse files
authored
Merge pull request #41 from segmentio/repo-sync
repo sync
2 parents ab38221 + abad40e commit abdb1f1

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md

+4
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,10 @@ val yourPlugin = SomePlugin()
329329
analytics.add(yourPlugin)
330330
```
331331

332+
### Example projects using Analytics-Kotlin
333+
See how different platforms and languages use Analytics-Kotlin in different [example projects](https://github.com/segmentio/analytics-kotlin/tree/main/samples).
334+
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.
335+
332336
## Utility Methods
333337
The Analytics-Kotlin utility methods help you work with plugins from the analytics timeline. They include:
334338
- [Add](#add)

src/connections/sources/catalog/libraries/mobile/kotlin-android/migration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ If you’re using a different library such as Analytics-Android, follow these st
5656

5757
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.
5858

59-
<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.
59+
<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.
6060

6161
<br> Before example:
6262
```swift

src/connections/sources/catalog/libraries/server/kotlin/index.md

+4
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,10 @@ val yourPlugin = SomePlugin()
313313
analytics.add(yourPlugin)
314314
```
315315

316+
### Example projects using Analytics-Kotlin
317+
See how different platforms and languages use Analytics-Kotlin in different [example projects](https://github.com/segmentio/analytics-kotlin/tree/main/samples).
318+
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.
319+
316320
## Utility Methods
317321
The Analytics-Kotlin utility methods help you work with plugins from the analytics timeline. They include:
318322
- [Add](#add)

0 commit comments

Comments
 (0)