You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* first edits
* first edits
* [netlify-build]
* updated link
* [netlify-build] updated link
* [netlify-build] make link work in preview
* link fix take 2
* removed supported destinations from kotlin server
* [netlify-build] removed supported destinations from kotlin server
* Update index.md
* Update migration.md
* Update migration.md
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md
+11-3
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ redirect_from:
8
8
With Analytics-Kotlin, you can send data using Kotlin applications to any analytics or marketing tool without having to learn, test, or implement a new API every time. Analytics-Kotlin enables you to process and track the history of a payload, while Segment controls the API and prevents unintended operations.
9
9
10
10
> info ""
11
-
> Analytics Kotlin is in public beta and currently supports [these destinations](https://github.com/segmentio/analytics-kotlin/tree/main/samples/kotlin-android-app-destinations/src/main/java/com/segment/analytics/destinations/plugins){:target="_blank"} with Segment actively adding more to the list. If you don't see your destination, you can [build your own](#build-your-own-destination). <br>Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
11
+
> Segment supports [these destinations](#supported-destinations) with more to come. If you don't see your destination, you can [build your own](#build-your-own-destination).
12
12
13
13
> success ""
14
14
> You can choose to set up your Analytics Kotlin source on [mobile](/docs/connections/sources/catalog/libraries/mobile/kotlin-android) or on the [server](/docs/connections/sources/catalog/libraries/server/kotlin). Segment doesn’t support device-mode destinations on the server-side.
@@ -42,7 +42,7 @@ To get started with the Analytics-Kotlin mobile library:
42
42
43
43
```java
44
44
// Create an analytics client with the given application context and Segment write key.
45
-
// NOTE: in android, application context is required to pass as the second parameter.
45
+
// NOTE: in android, application context is required to pass as the second parameter.
46
46
Analytics("YOUR_WRITE_KEY", applicationContext) {
47
47
// Automatically track Lifecycle events
48
48
trackApplicationLifecycleEvents = true
@@ -85,7 +85,7 @@ To get started with the Analytics-Kotlin mobile library:
85
85
```
86
86
87
87
5. Enable Java 8+ API desugaring.
88
-
88
+
89
89
The SDK internally uses a number of Java 8 language APIs through desugaring. Make sure your project either [enables desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring)) or requires a minimum API level of 26.
90
90
91
91
## Tracking Methods
@@ -447,5 +447,13 @@ Segment recommends you to test your destination implementation end-to-end. Send
447
447
## Compatibility
448
448
If you use a Java codebase, please refer to the [Java Compatibility docs](https://github.com/segmentio/analytics-kotlin/blob/main/JAVA_COMPAT.md){:target="_blank"} for sample uses.
449
449
450
+
## Supported Destinations
451
+
Segment currently supports these destinations for Analytics Kotlin and is actively adding more:
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/mobile/kotlin-android/migration.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ strat: kotlin
4
4
---
5
5
6
6
> info ""
7
-
> Analytics-Kotlin is in pubic beta and currently supports [these destinations](https://github.com/segmentio/analytics-kotlin/tree/main/samples/kotlin-android-app-destinations/src/main/java/com/segment/analytics/destinations/plugins){:target="_blank"} with Segment actively adding more to the list. Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
7
+
> Analytics-Kotlin supports [these destinations](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/#supported-destinations) with more to come.
8
8
9
9
If you’re using a different library such as Analytics-Android, follow these steps to migrate to the Analytics-Kotlin library:
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/mobile/swift-ios/migration.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ strat: swift
4
4
---
5
5
6
6
> info ""
7
-
> Analytics-Swift currently supports [these destinations](/docs/connections/sources/catalog/libraries/mobile/swift-ios/#supported-destinations) with Segment actively adding more to the list.
7
+
> Analytics-Swift supports [these destinations](/docs/connections/sources/catalog/libraries/mobile/swift-ios/#supported-destinations) with more to come.
8
8
9
9
If you’re using a different mobile library such as Analytics-iOS, follow these steps to migrate to the Analytics-Swift library:
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/server/kotlin/index.md
+2-4
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,8 @@ redirect_from:
6
6
7
7
With Analytics-Kotlin, you can send data using Kotlin applications to any analytics or marketing tool without having to learn, test, or implement a new API every time. Analytics-Kotlin enables you to process and track the history of a payload, while Segment controls the API and prevents unintended operations.
8
8
9
-
> info ""
10
-
> Analytics-Kotlin is in public beta and currently supports [these destinations](https://github.com/segmentio/analytics-kotlin/tree/main/samples/kotlin-android-app-destinations/src/main/java/com/segment/analytics/destinations/plugins){:target="_blank"} with Segment actively adding more to the list. If you don't see your destination, you can [build your own](/docs/connections/sources/catalog/libraries/mobile/kotlin-android#build-your-own-destination). Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
11
-
12
9
> success ""
13
-
> You can choose to set up your Analytics Kotlin source on [mobile](/docs/connections/sources/catalog/libraries/mobile/kotlin-android) or on the [server](/docs/connections/sources/catalog/libraries/server/kotlin). Segment doesn’t support device-mode destinations on the server-side.
10
+
> You can choose to set up your Analytics Kotlin source on [mobile](/docs/connections/sources/catalog/libraries/mobile/kotlin-android) or on the server. Segment doesn’t support device-mode destinations on the server-side.
14
11
15
12
If you’re migrating to Analytics-Kotlin from a different mobile library, you can skip to the [migration guide](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/migration/).
16
13
@@ -398,5 +395,6 @@ analytics.flush("SomePlugin")
398
395
{% endcodeexampletab %}
399
396
{% endcodeexample %}
400
397
398
+
401
399
## Changelog
402
400
[View the Analytics-Kotlin changelog on GitHub](https://github.com/segmentio/analytics-kotlin/releases).
0 commit comments