From 3c82adfd8e488e089ede20ce9f2f0a472796eb8e Mon Sep 17 00:00:00 2001 From: stayseesong Date: Fri, 10 Sep 2021 15:22:26 -0700 Subject: [PATCH] kotlin-swift small fixes --- .../catalog/libraries/mobile/android/index.md | 2 +- .../sources/catalog/libraries/mobile/ios/index.md | 2 +- .../libraries/mobile/kotlin-android/index.md | 8 ++++---- .../libraries/mobile/kotlin-android/migration.md | 3 +++ .../catalog/libraries/mobile/swift-ios/index.md | 13 +++++++------ .../catalog/libraries/mobile/swift-ios/migration.md | 5 ++++- .../catalog/libraries/server/kotlin/index.md | 8 ++++---- 7 files changed, 24 insertions(+), 17 deletions(-) diff --git a/src/connections/sources/catalog/libraries/mobile/android/index.md b/src/connections/sources/catalog/libraries/mobile/android/index.md index a41a580bea..617c1b7049 100644 --- a/src/connections/sources/catalog/libraries/mobile/android/index.md +++ b/src/connections/sources/catalog/libraries/mobile/android/index.md @@ -11,7 +11,7 @@ repo: analytics-android Analytics for Android only supports any Android device running API 14 (Android 4.0) and higher. This includes Amazon Fire devices. > info "Analytics-Kotlin public beta" -> 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/). +> 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. > success "" > 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). diff --git a/src/connections/sources/catalog/libraries/mobile/ios/index.md b/src/connections/sources/catalog/libraries/mobile/ios/index.md index 3014b753f1..9c22e539a6 100644 --- a/src/connections/sources/catalog/libraries/mobile/ios/index.md +++ b/src/connections/sources/catalog/libraries/mobile/ios/index.md @@ -15,7 +15,7 @@ With Analytics for iOS, you can send your data to analytics or marketing tool, w > info "Analytics-Swift Public Beta" -> 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/). +> 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. ## Analytics-iOS and Unique Identifiers diff --git a/src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md b/src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md index 8382f89771..c4a143cf2d 100644 --- a/src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md +++ b/src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md @@ -3,20 +3,20 @@ title: Analytics for Kotlin (Android) strat: kotlin --- -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. +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. > info "" -> 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. +> 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. > success "" > 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. -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/). +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/). ## Getting Started -To get started with the Analytics Kotlin mobile library: +To get started with the Analytics-Kotlin mobile library: 1. Create a Source in Segment. 1. Go to **Connections > Sources > Add Source**. diff --git a/src/connections/sources/catalog/libraries/mobile/kotlin-android/migration.md b/src/connections/sources/catalog/libraries/mobile/kotlin-android/migration.md index 086f9a9994..c604cb2873 100644 --- a/src/connections/sources/catalog/libraries/mobile/kotlin-android/migration.md +++ b/src/connections/sources/catalog/libraries/mobile/kotlin-android/migration.md @@ -3,6 +3,9 @@ title: Analytics for Kotlin Migration Guide strat: kotlin --- +> info "" +> 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. + If you’re using a different library such as Analytics-Android, follow these steps to migrate to the Analytics-Kotlin library: > success "" diff --git a/src/connections/sources/catalog/libraries/mobile/swift-ios/index.md b/src/connections/sources/catalog/libraries/mobile/swift-ios/index.md index d43d55242d..24a8ebb96d 100644 --- a/src/connections/sources/catalog/libraries/mobile/swift-ios/index.md +++ b/src/connections/sources/catalog/libraries/mobile/swift-ios/index.md @@ -3,15 +3,16 @@ title: 'Analytics for Swift' strat: swift --- -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. +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. > info "" -> 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. +> 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. -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/). + +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/). ## Getting Started -To get started with the Analytics Swift mobile library: +To get started with the Analytics-Swift mobile library: 1. Create a Source in Segment. 1. Go to **Connections > Sources > Add Source**. @@ -26,7 +27,7 @@ To get started with the Analytics Swift mobile library: After installing the package, you can reference Analytics Swift by importing Segment's Analytics package with `import Segment`. -3. Initialize and configure the Analytics Swift client. +3. Initialize and configure the Analytics-Swift client. For example, in a lifecycle method such as `didFinishLaunchingWithOptions` in iOS: ```swift @@ -58,7 +59,7 @@ To get started with the Analytics Swift mobile library: > 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"}. ## Tracking Methods -Once you’ve installed the Analytics Swift library, you can start collecting data through Segment’s tracking methods: +Once you’ve installed the Analytics-Swift library, you can start collecting data through Segment’s tracking methods: - [Identify](#identify) - [Track](#track) - [Screen](#screen) diff --git a/src/connections/sources/catalog/libraries/mobile/swift-ios/migration.md b/src/connections/sources/catalog/libraries/mobile/swift-ios/migration.md index c979036fb7..562cb59bc8 100644 --- a/src/connections/sources/catalog/libraries/mobile/swift-ios/migration.md +++ b/src/connections/sources/catalog/libraries/mobile/swift-ios/migration.md @@ -3,9 +3,12 @@ title: Analytics for Swift Migration Guide strat: swift --- +> info "" +> 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. + If you’re using a different mobile library such as Analytics-iOS, follow these steps to migrate to the Analytics-Swift library: -> info "" +> success "" > Segment no longer supports installing Analytics-Swift via Cocoapods. 1. Create a Swift Source in Segment. diff --git a/src/connections/sources/catalog/libraries/server/kotlin/index.md b/src/connections/sources/catalog/libraries/server/kotlin/index.md index 25e8f67958..2a912675a3 100644 --- a/src/connections/sources/catalog/libraries/server/kotlin/index.md +++ b/src/connections/sources/catalog/libraries/server/kotlin/index.md @@ -2,20 +2,20 @@ title: Analytics for Kotlin (Server) --- -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. +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. > info "" -> 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. +> 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. > success "" > 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. -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/). +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/). ## Getting Started -To get started with the Analytics Kotlin server library: +To get started with the Analytics-Kotlin server library: 1. Create a Source in Segment. 1. Go to **Connections > Sources > Add Source**.