34 lines
1.4 KiB
Markdown
34 lines
1.4 KiB
Markdown
# 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)
|
|
```swift
|
|
// 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
|
|
```ruby
|
|
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](https://git.3halves-labs.com/3HL-SCORE/public-sdks-score/releases) and drag it into Xcode.
|
|
|
|
### Android — Gradle
|
|
```kotlin
|
|
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`](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).
|