Skip to content

Commit 2534e04

Browse files
authored
Merge pull request #1841 from segmentio/kotlin-swift-fixes
kotlin-swift fixes
2 parents dea1d8d + 6129432 commit 2534e04

File tree

7 files changed

+24
-17
lines changed

7 files changed

+24
-17
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repo: analytics-android
1111
Analytics for Android only supports any Android device running API 14 (Android 4.0) and higher. This includes Amazon Fire devices.
1212

1313
> info "Analytics-Kotlin public beta"
14-
> The Analytics-Kotlin library is in public beta. You can use Analytics-Kotlin for [mobile](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/index/) or [server](/docs/connections/sources/catalog/libraries/server/kotlin/index/) applications. If you’d like to migrate to Analytics-Kotlin, see the [migration guide](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/migration/). This library is governed by Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/).
14+
> The Analytics-Kotlin library is in public beta. You can use Analytics-Kotlin for [mobile](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/index/) or [server](/docs/connections/sources/catalog/libraries/server/kotlin/index/) applications. If you’d like to migrate to Analytics-Kotlin, see the [migration guide](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/migration/). Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
1515
1616
> success ""
1717
> In addition to the documentation here, you can also [read the Javadocs for all versions of Analytics-Android on Javadoc.io](https://javadoc.io/doc/com.segment.analytics.android/analytics/latest/index.html).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ With Analytics for iOS, you can send your data to analytics or marketing tool, w
1515
1616

1717
> info "Analytics-Swift Public Beta"
18-
> The [Analytics-Swift](/docs/connections/sources/catalog/libraries/mobile/swift-ios/) library is in public beta. If you’d like to migrate to Analytics-Swift, see the [migration guide](/docs/connections/sources/catalog/libraries/mobile/swift-ios/migration/). This library is governed by Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/).
18+
> The [Analytics-Swift](/docs/connections/sources/catalog/libraries/mobile/swift-ios/) library is in public beta. If you’d like to migrate to Analytics-Swift, see the [migration guide](/docs/connections/sources/catalog/libraries/mobile/swift-ios/migration/). Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
1919
2020
## Analytics-iOS and Unique Identifiers
2121

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ title: Analytics for Kotlin (Android)
33
strat: kotlin
44
---
55

6-
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.
6+
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.
77

88
> info ""
9-
> Analytics Kotlin is in 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.
9+
> 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. Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
1010
1111
> success ""
1212
> You can choose to set up your Analytics Kotlin source on [mobile](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/index/) or on the [server](/docs/connections/sources/catalog/libraries/server/kotlin/index/). Segment doesn’t support device-mode destinations on the server-side.
1313
14-
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/).
14+
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/).
1515

1616

1717
## Getting Started
1818

19-
To get started with the Analytics Kotlin mobile library:
19+
To get started with the Analytics-Kotlin mobile library:
2020

2121
1. Create a Source in Segment.
2222
1. Go to **Connections > Sources > Add Source**.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ title: Analytics for Kotlin Migration Guide
33
strat: kotlin
44
---
55

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.
8+
69
If you’re using a different library such as Analytics-Android, follow these steps to migrate to the Analytics-Kotlin library:
710

811
> success ""

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ title: 'Analytics for Swift'
33
strat: swift
44
---
55

6-
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.
6+
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.
77

88
> info ""
9-
> Analytics Swift 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.
9+
> 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.
1010
11-
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/).
11+
12+
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/).
1213

1314
## Getting Started
14-
To get started with the Analytics Swift mobile library:
15+
To get started with the Analytics-Swift mobile library:
1516

1617
1. Create a Source in Segment.
1718
1. Go to **Connections > Sources > Add Source**.
@@ -26,7 +27,7 @@ To get started with the Analytics Swift mobile library:
2627

2728
After installing the package, you can reference Analytics Swift by importing Segment's Analytics package with `import Segment`.
2829

29-
3. Initialize and configure the Analytics Swift client.
30+
3. Initialize and configure the Analytics-Swift client.
3031
For example, in a lifecycle method such as `didFinishLaunchingWithOptions` in iOS:
3132

3233
```swift
@@ -58,7 +59,7 @@ To get started with the Analytics Swift mobile library:
5859
> Configuration options such as IDFA collection and automatic screen tracking are found in Segment’s [Plugin Examples repo](https://github.com/segmentio/analytics-example-plugins/tree/main/plugins/swift){:target="_blank"}.
5960

6061
## Tracking Methods
61-
Once you’ve installed the Analytics Swift library, you can start collecting data through Segment’s tracking methods:
62+
Once you’ve installed the Analytics-Swift library, you can start collecting data through Segment’s tracking methods:
6263
- [Identify](#identify)
6364
- [Track](#track)
6465
- [Screen](#screen)

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ title: Analytics for Swift Migration Guide
33
strat: swift
44
---
55

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.
8+
69
If you’re using a different mobile library such as Analytics-iOS, follow these steps to migrate to the Analytics-Swift library:
710

8-
> info ""
11+
> success ""
912
> Segment no longer supports installing Analytics-Swift via Cocoapods.
1013
1114
1. Create a Swift Source in Segment.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
title: Analytics for Kotlin (Server)
33
---
44

5-
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.
5+
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.
66

77
> info ""
8-
> Analytics Kotlin is in 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.
8+
> 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. Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
99
1010
> success ""
1111
> You can choose to set up your Analytics Kotlin source on [mobile](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/index/) or on the [server](/docs/connections/sources/catalog/libraries/server/kotlin/index/). Segment doesn’t support device-mode destinations on the server-side.
1212
13-
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/).
13+
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/).
1414

1515

1616
## Getting Started
1717

18-
To get started with the Analytics Kotlin server library:
18+
To get started with the Analytics-Kotlin server library:
1919

2020
1. Create a Source in Segment.
2121
1. Go to **Connections > Sources > Add Source**.

0 commit comments

Comments
 (0)