Amply is in-app orchestration for mobile apps: growth, product, and marketing teams decide which experience each user gets, and when — from a dashboard, without a new release or ongoing engineering work. Engineering integrates the SDK once; the team runs the experiments from then on.
Amply SDK for mobile app engagement, campaign management, and analytics.
- iOS 14.0+
- Xcode 15.0+
- Swift 5.9+
Add AmplySDK to your project via Xcode:
- File → Add Package Dependencies
- Enter:
https://github.com/amply-tools/amply-sdk-ios.git - Select version rule (e.g., "Up to Next Major Version")
Or add to your Package.swift:
dependencies: [
.package(url: "https://github.com/amply-tools/amply-sdk-ios.git", from: "0.1.7")
]Then add to your target:
.target(
name: "YourApp",
dependencies: ["AmplySDK"]
)Add to your Podfile:
pod 'AmplySDK', '~> 0.1.7'Then run:
pod install- Download
AmplySDK.xcframework.zipfrom the latest release - Extract the XCFramework
- Drag
AmplySDK.xcframeworkinto your Xcode project - In your target's "Frameworks, Libraries, and Embedded Content", ensure it's set to "Embed & Sign"
import AmplySDK
// Initialize the SDK (typically in AppDelegate or App init)
AmplySDK.shared.initialize(
appId: "your-app-id",
apiKey: "your-api-key"
)
// Track custom events
AmplySDK.shared.track(
event: "button_clicked",
properties: ["button_id": "purchase", "screen": "home"]
)
// Set user properties
AmplySDK.shared.setUserProperty(key: "subscription_tier", value: "premium")
// Get active campaigns
AmplySDK.shared.getCampaigns { campaigns in
for campaign in campaigns {
print("Campaign: \(campaign.name)")
}
}- Event Tracking - Track user actions and custom events
- Campaign Management - Target users with personalized campaigns
- User Properties - Store and manage user attributes
- Session Management - Automatic session tracking
- Deep Linking - Handle campaign-triggered deep links
- Rate & Review - Prompt users to rate your app
For detailed documentation, visit Amply Documentation.
AmplySDK is available under the Apache 2.0 license. See the LICENSE file for details.