Docs
iOS SDK
Add the Swift Package, start with your public key, then shake or call show().
Add the Swift Package, then start with your public key. Shake or call show() to open the report sheet.
1. Get your public key
After you join and create a project, open Install widget in the app and copy your public key (pk_…).
2. Add the snippet
Replace the placeholder key with yours:
// Package.swift / Xcode → Add Package
// https://github.com/closeloop/closeloop-ios
import Saidloop
Saidloop.start(key: "pk_…")
Saidloop.identify(userId: "user_123", appVersion: "1.0.0")
// Saidloop.show() // or enable shake3. Send a test report
Open your app, trigger the report UI, and send a short message. It should land in your Saidloop inbox within a few seconds.