RailyardAnalytics (Swift package, iOS/macOS/tvOS/watchOS) and railyard-analytics-kotlin (Android/JVM, stdlib only): capture, screen, identify with the anonymous-id link, alias, groups, super properties, feature flags, batched delivery with retry on network errors, 429 and 5xx, bounded queue, persisted ids and reset. Swift: 6 XCTest cases; Kotlin: 9 checks including a real HTTP round trip, runnable offline with the Kotlin compiler bundled in Gradle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
436 B
Swift
15 lines
436 B
Swift
// swift-tools-version:5.9
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "RailyardAnalytics",
|
|
platforms: [.iOS(.v15), .macOS(.v12), .tvOS(.v15), .watchOS(.v8)],
|
|
products: [
|
|
.library(name: "RailyardAnalytics", targets: ["RailyardAnalytics"]),
|
|
],
|
|
targets: [
|
|
.target(name: "RailyardAnalytics"),
|
|
.testTarget(name: "RailyardAnalyticsTests", dependencies: ["RailyardAnalytics"]),
|
|
]
|
|
)
|