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
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/index.md
+12-3
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,11 @@ redirect_from:
7
7
8
8
With Analytics-Swift, you can send data from iOS, tvOS, iPadOS, WatchOS, macOS and Linux applications to any analytics or marketing tool without having to learn, test, or implement a new API every time. Analytics-Swift enables you to process and track the history of a payload, while Segment controls the API and prevents unintended operations. Analytics-Swift also offers default implementations to help you maintain destinations and integrations.
9
9
10
-
> info ""
11
-
> Analytics-Swift is in public beta and currently supports [these destinations](https://github.com/segmentio/analytics-swift/tree/main/Examples/destination_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.
10
+
If you’re migrating to Analytics-Swift from a different mobile library, you can skip to the [migration guide](/docs/connections/sources/catalog/libraries/mobile/swift-ios/migration/).
12
11
12
+
> info ""
13
+
> Analytics-Swift currently supports [these destinations](#supported-destinations), with more to follow.
13
14
14
-
If you’re migrating to Analytics-Swift from a different mobile library, you can skip to the [migration guide](/docs/connections/sources/catalog/libraries/mobile/swift-ios/migration/).
15
15
16
16
## Getting Started
17
17
To get started with the Analytics-Swift mobile library:
@@ -399,5 +399,14 @@ let idfaPlugin = IDFACollection()
399
399
analytics.add(plugin: idfaPlugin)
400
400
```
401
401
402
+
## Supported Destinations
403
+
Segment supports these destinations for Analytics Swift, with more to come:
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 is in public beta and currently supports [these destinations](https://github.com/segmentio/analytics-swift/tree/main/Examples/destination_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-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).
Our Mobile SDKs are the best way to simplify your iOS, Android, and Xamarin app tracking. We recommend them over server-side sources as the default installation for any mobile app.
> Pilot releases of the [Analytics-Swift](https://github.com/segmentio/analytics-swift) and [Analytics-Kotlin](https://github.com/segmentio/analytics-kotlin) libraries are available. This library is governed by [Segment’s First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/), and should not be used in production scenarios.
Copy file name to clipboardexpand all lines: src/getting-started/06-testing-debugging.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ The Latency view shows the end-to-end P95 latency during the time period you sel
125
125
126
126
127
127
<divclass="double">
128
-
{% include components/reference-button.html href="/getting-started/05-data-to-destinations/" newtab="false" icon="symbols/arrow-left.svg" title="Sending data to Destinations" description="Unlock the power fo Segment with Destinations" variant="related" subtitle="back" %}
128
+
{% include components/reference-button.html href="/getting-started/05-data-to-destinations/" newtab="false" icon="symbols/arrow-left.svg" title="Sending data to Destinations" description="Unlock the power of Segment with Destinations" variant="related" subtitle="back" %}
129
129
130
130
{% include components/reference-button.html href="/getting-started/whats-next/" newtab="false" icon="symbols/arrow-right.svg" title="What's next?" description="Learn about what you can do next with Segment" variant="related" subtitle="next" %}
0 commit comments