1.4 KiB
1.4 KiB
Score mobile SDKs (public distribution)
Public, auth-free distribution of the Score mobile tracker SDKs for iOS and Android — the mobile counterpart of the web @3halves-labs/score-tracker.
Install — 0.1.0 (no token / login required)
iOS — Swift Package Manager (git URL)
// Package.swift
dependencies: [ .package(url: "https://git.3halves-labs.com/3HL-SCORE/public-sdks-score.git", from: "0.1.0") ]
// target: .product(name: "ScoreTracker", package: "public-sdks-score")
iOS — CocoaPods
pod 'ScoreTracker',
:podspec => 'https://git.3halves-labs.com/3HL-SCORE/public-sdks-score/raw/branch/main/ScoreTracker.podspec'
iOS — direct XCFramework
Download ScoreTrackerKit.xcframework.zip from the mobile-v0.1.0 release and drag it into Xcode.
Android — Gradle
repositories { maven { url = uri("https://git.3halves-labs.com/api/packages/3HL-SCORE/maven") } } // public
dependencies { implementation("com.threehalveslabs.scoretracker:shared-android:0.1.0") }
Docs
Full integration guide (init, consent, Auth0, offline/flush, event catalogue): INTEGRATION.md.
SDK source lives in 3 Halves Labs' platform repo; this repo hosts the consumable artifacts. Versions tagged 0.1.0 (SPM) / mobile-v0.1.0 (release asset).