Skip to Content
v0.8.0 · shippedNative iOS / Android / Flutter / Capacitor SDKs, A2A discovery, SOC 2 readiness, residency, BYO storage, BYOK. Read the changelog →
QuickstartiOS (Swift)

iOS quickstart

The MushiMushi Swift package ships shake-to-report, an SQLite-backed offline queue, automatic device-context capture, and an optional Sentry breadcrumb bridge.

Install

Swift Package Manager

In Xcode → File → Add Package Dependencies → enter:

https://github.com/kensaurus/mushi-mushi

Pick the MushiMushi target.

CocoaPods

Podfile
pod 'MushiMushi', '~> 0.8'

Initialize

AppDelegate.swift
import MushiMushi @main class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ app: UIApplication, didFinishLaunchingWithOptions options: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { Mushi.shared.configure( projectId: "YOUR_PROJECT_ID", apiKey: "YOUR_PUBLIC_API_KEY", enableShakeToReport: true ) return true } }

Submit a report programmatically

Mushi.shared.submitReport( description: "Pull-to-refresh spinner never stops on Wi-Fi switch.", severity: .high )

Sentry bridge (optional)

import Sentry SentrySDK.start { options in options.dsn = "YOUR_SENTRY_DSN" Mushi.shared.attachSentryBridge(options) // forwards Mushi reports as Sentry breadcrumbs }
Last updated on