Repository navigation
Releases: pollini/MVPInstallIdentityKit
Releases · pollini/MVPInstallIdentityKit
Release list
1.0.0
First public release.
Tiny, dependency-free Swift package that tells you whether your app has been installed on this device before — even after it was deleted and reinstalled — by persisting an anonymous, self-generated identifier in the Keychain.
Highlights
InstallIdentifier.shared.resolve()returns a stableid,firstSeenDateandisFirstLaunchEver- Three accessibility modes:
.afterFirstUnlockThisDeviceOnly(default) — strictly device-local.afterFirstUnlockMigratable— carries over when a backup is restored onto a new device.afterFirstUnlockSynchronizable— additionally live-syncs via iCloud Keychain
- Injectable
KeychainStoringprotocol for deterministic unit tests - Ships a
PrivacyInfo.xcprivacy: no tracking, no collected data, no required-reason APIs - SwiftUI example app in
Example/for verifying behavior on a simulator or device
Requirements
iOS 13+ / macOS 11+, Swift 5.9+
Installation
.package(url: "https://github.com/pollini/MVPInstallIdentityKit.git", from: "1.0.0")