Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Adaptysdk Ios | 327 | 1 | 4 days ago | 75 | November 09, 2022 | mit | Swift | |||
iOS SDK for growing mobile in-app purchases | ||||||||||
Apphudsdk | 147 | 2 months ago | 80 | February 22, 2023 | 1 | mit | Swift | |||
Build, Measure and Grow iOS subscription business | ||||||||||
React Native Sdk | 118 | 2 | 3 days ago | 46 | March 17, 2023 | TypeScript | ||||
React Native SDK for cross-platform in-app purchase and subscription infrastructure, revenue analytics, engagement automation, and integrations | ||||||||||
Android Sdk | 113 | 3 days ago | 50 | March 15, 2023 | 5 | Kotlin | ||||
Android SDK for cross-platform in-app purchase and subscription infrastructure, revenue analytics, engagement automation, and integrations | ||||||||||
Flutter Sdk | 85 | 3 days ago | 3 | mit | Dart | |||||
Flutter SDK for cross-platform in-app purchase and subscription infrastructure, revenue analytics, engagement automation, and integrations | ||||||||||
Adaptysdk Flutter | 56 | 8 days ago | mit | Dart | ||||||
SDK for growing mobile in-app purchases | ||||||||||
Adaptysdk Android | 51 | a month ago | 2 | mit | Kotlin | |||||
SDK for growing mobile in-app purchases | ||||||||||
Nami Apple | 46 | 8 days ago | 50 | April 20, 2022 | other | Objective-C | ||||
Easy Apple subscriptions & in-app purchases, with powerful built-in paywalls and A/B testing. | ||||||||||
Unity Sdk | 42 | a year ago | 2 | apache-2.0 | C# | |||||
Add support for deltaDNA's platform to your Unity games. | ||||||||||
Aftership Sdk Ruby | 32 | 15 | 6 months ago | 15 | February 26, 2021 | other | Ruby | |||
The ruby gem SDK of AfterShip API |
Adapty SDK is an open-source framework that makes implementing in-app subscriptions for iOS fast and easy. It’s 100% open-source, native, and lightweight.
Adapty handles everything, from free trials to refunds, in a simple, developer-friendly SDK.
// Your app’s code
import Adapty
Adapty.activate("YOUR_APP_KEY")
// Make a purchase, Adapty handles the rest
Adapty.makePurchase(product: product) { [weak self] result in
switch result {
case let .success(profile):
// check access level
case let .failure(error):
// handle error
}
}
This is a demo applications for Adapty. Before running the app, you will need to configure the project.
Ask questions, participate in discussions about Adapty-related topics, become a part of our community for iOS app developers and marketers. Learn how to monetize your app, ask questions, post jobs, read industry news and analytics. Ad free.
In your AppDelegate
class:
import Adapty
And add the following to application(_:didFinishLaunchingWithOptions:):
Adapty.activate("PUBLIC_SDK_KEY", customerUserId: "YOUR_USER_ID")
The Adapty iOS SDK allows you to remotely configure the products that will be displayed in your app. This way you don't have to hardcode the products and can dynamically change offers or run A/B tests without having to release a new version of the app.
To fetch the paywall, you have to call .getPaywall()
method:
Adapty.getPaywall("YOUR_PAYWALL_ID") { result in
switch result {
case let .success(paywall):
// the requested paywall
case let .failure(error):
// handle the error
}
}
Once you have the paywall, you can query the product array that corresponds to it:
Adapty.getPaywallProducts(paywall: paywall) { result in
switch result {
case let .success(products):
// the requested products array
case let .failure(error):
// handle the error
}
}
To make the purchase, you have to call .makePurchase()
method:
let product = products.first
Adapty.makePurchase(product: product) { result in
switch result {
case let .success(profile):
// successful purchase
case let .failure(error):
// handle the error
}
}
With the Adapty iOS App SDK you don't have to hardcode product IDs to check the subscription status. You just have to verify that the user has an active access level. To do this, you have to call .getProfile()
method:
Adapty.getProfile { result in
if let profile = try? result.get(),
profile.accessLevels["premium"]?.isActive ?? false {
// grant access to premium features
}
}
Adapty creates an internal profile ID for every user. But if you have your own authentification system, you should set your own Customer User ID. You can find the users by the Customer User ID in Profiles. It can be used in the server-side API and then sent to all integrations.
Adapty SDK supports AppsFlyer, Adjust, Branch, Facebook Ads, and Apple Search Ads.
You can set optional attributes such as email, phone number, etc, to the user of your app. You can then use attributes to create user segments or just view them in CRM.
Adapty sends all subscription events to analytical services, such as Amplitude, Mixpanel, and AppMetrica.
So do we! Feel free to star the repo ⭐️⭐️⭐️ and make our developers happy!
Adapty is available under the MIT license. Click here for details.