Swiftpack.co -  Kumulos/KumulosSdkSwift as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Kumulos/KumulosSdkSwift
Official Swift SDK for integrating Kumulos services with your mobile apps
.package(url: "https://github.com/Kumulos/KumulosSdkSwift.git", from: "8.11.1")

Kumulos Swift SDK Carthage compatible

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.

Get Started with CocoaPods

Add the following line to your app's target in your Podfile:

pod 'KumulosSdkSwift', '~> 8.11.1'

Run pod install to install your dependencies.

Get Started with Carthage

Add the following line to your Cartfile:

github "Kumulos/KumulosSdkSwift" ~> 8.11.1

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:

  • SystemConfiguration.framework
  • MessageUI.framework (for iOS projects)
  • libc++
  • libz

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 under Static/

Get Started with Swift Package Manager

In Xcode add a package dependency by selecting:

File > Swift Packages > Add Package Dependency

Choose this repository URL for the package repository and 8.11.1 for the version where prompted. You can then follow the integration steps below or read the full Kumulos Swift integration guide for more information.

Initializing and using the SDK

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.

Contributing

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 support@kumulos.com.

License

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.

Requirements

  • iOS9+
  • Swift5.0

Swift Version Support

Swift Version SDK Version
3.0 2.x
4.2 4.x
5.0 5.x, 6.x, 7.x, 8.x

GitHub

link
Stars: 6
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Dependencies

Release Notes

More robust closing of sessions
2 weeks ago
  • iOS13+ gives less time for a background task to finish, hence, close session after a smaller timeout

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API