Kumulos provides tools to build and host backend storage for apps, send push notifications, view audience and behavior analytics, and report on adoption, engagement and performance.
Select an installation method below to get started.
Add the following line to your app's target in your Podfile
:
pod 'KumulosSdkSwift', '~> 10.0.0'
Run pod install
to install your dependencies.
Add the following line to your Cartfile
:
github "Kumulos/KumulosSdkSwift" ~> 10.0.0
Run carthage update
to install your dependencies then follow the Carthage integration steps to link the framework with your project.
Also link your project against:
And add the -ObjC
linker flag to 'Other Linker Flags' under 'Build Settings'.
N.B. make sure to link the dynamic
KSCrash.framework
from the Carthage build, and not the one underStatic/
In Xcode add a package dependency by selecting:
File > Swift Packages > Add Package Dependency
Choose this repository URL for the package repository and 9.2.5
for the version where prompted. You can then follow the integration steps below or read the full Kumulos Swift integration guide for more information.
After installation, you can now import & initialize the SDK with:
import KumulosSDK
let builder = KSConfigBuilder(apiKey: "your-api-key", secretKey: "your-secret-key")
Kumulos.initialize(config: builder.build())
For more information on integrating the Swift SDK with your project, please see the Kumulos Swift integration guide.
Pull requests are welcome for any improvements you might wish to make. If it's something big and you're not sure about it yet, we'd be happy to discuss it first. You can either file an issue or drop us a line to [email protected].
This project is licensed under the MIT license with portions licensed under the BSD 2-Clause license. See our LICENSE file and individual source files for more information.
Swift Version | SDK Version |
---|---|
3.0 | 2.x |
4.2 | 4.x |
5.0 | 5.x, 6.x, 7.x, 8.x, 9.x |
link |
Stars: 9 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics