Skip to content

Commit b001bd7

Browse files
authored
Kotlin GA docs [DOC-443] (#248)
* 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
1 parent b8f4b1d commit b001bd7

File tree

5 files changed

+17
-9
lines changed

5 files changed

+17
-9
lines changed

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

+11-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ redirect_from:
88
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.
99

1010
> 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).
1212
1313
> success ""
1414
> 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:
4242
4343
```java
4444
// 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.
4646
Analytics("YOUR_WRITE_KEY", applicationContext) {
4747
// Automatically track Lifecycle events
4848
trackApplicationLifecycleEvents = true
@@ -85,7 +85,7 @@ To get started with the Analytics-Kotlin mobile library:
8585
```
8686
8787
5. Enable Java 8+ API desugaring.
88-
88+
8989
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.
9090
9191
## Tracking Methods
@@ -447,5 +447,13 @@ Segment recommends you to test your destination implementation end-to-end. Send
447447
## Compatibility
448448
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.
449449

450+
## Supported Destinations
451+
Segment currently supports these destinations for Analytics Kotlin and is actively adding more:
452+
* [Amplitude](https://github.com/segment-integrations/analytics-kotlin-amplitude)
453+
* [Appsflyer](https://github.com/segment-integrations/analytics-kotlin-appsflyer)
454+
* [Firebase](https://github.com/segment-integrations/analytics-kotlin-firebase)
455+
* [Mixpanel](https://github.com/segment-integrations/analytics-kotlin-mixpanel)
456+
457+
450458
## Changelog
451459
[View the Analytics-Kotlin changelog on GitHub](https://github.com/segmentio/analytics-kotlin/releases).

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ strat: kotlin
44
---
55

66
> 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.
88
99
If you’re using a different library such as Analytics-Android, follow these steps to migrate to the Analytics-Kotlin library:
1010

src/connections/sources/catalog/libraries/mobile/swift-ios/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ If you’re migrating to Analytics-Swift from a different mobile library, you ca
1212
> info ""
1313
> Analytics-Swift currently supports [these destinations](#supported-destinations), with more to follow.
1414
15+
1516
## Getting Started
1617
To get started with the Analytics-Swift mobile library:
1718

@@ -406,5 +407,6 @@ Segment supports these destinations for Analytics Swift, with more to come:
406407
* [Firebase](https://github.com/segment-integrations/analytics-swift-facebook-app-events)
407408
* [Mixpanel](https://github.com/segment-integrations/analytics-swift-mixpanel)
408409

410+
409411
## Changelog
410412
[View the Analytics-Swift changelog on GitHub](https://github.com/segmentio/analytics-swift/releases).

src/connections/sources/catalog/libraries/mobile/swift-ios/migration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ strat: swift
44
---
55

66
> 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.
88
99
If you’re using a different mobile library such as Analytics-iOS, follow these steps to migrate to the Analytics-Swift library:
1010

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@ redirect_from:
66

77
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.
88

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-
129
> 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.
1411
1512
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/).
1613

@@ -398,5 +395,6 @@ analytics.flush("SomePlugin")
398395
{% endcodeexampletab %}
399396
{% endcodeexample %}
400397

398+
401399
## Changelog
402400
[View the Analytics-Kotlin changelog on GitHub](https://github.com/segmentio/analytics-kotlin/releases).

0 commit comments

Comments
 (0)