Swiftpack.co - Swrve/swrve-ios-sdk as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Swrve.
Swrve/swrve-ios-sdk v4.1.1
Swrve iOS SDK
⭐️ 16
🕓 2 years ago
iOS tvOS
.package(url: "https://github.com/Swrve/swrve-ios-sdk.git", from: "v4.1.1")

CircleCI

What is Swrve

Swrve is a single integrated platform delivering everything you need to drive mobile engagement and create valuable consumer relationships on mobile.
This native iOS SDK will enable your app to use all of these features.

Getting started

Have a look at the quick integration guide at http://docs.swrve.com/developer-documentation/integration/ios/

Installing using CocoaPods

Add the following line to your Podfile

pod ‘SwrveSDK’

Installing using Carthage (iOS 8+)

You can use Carthage to install Swrve by adding it to your Cartfile Note SwrveSDK version > 8.0 depends on SDWebImage. SDWebImage.xcframework is included in the root of our SwrveFramework project. Use this or add SDWebImage to your cartflie as shown below.

github "Swrve/swrve-ios-sdk"
github "SDWebImage" "~> 5.0"

Installing using Swift Package Manager (Xcode 12+)

For installing Swift packages, please see the [Apple Developer Docs](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app Requirements)

Requirements

Xcode (latest)

The SDK supports iOS 10+ and the latest version of Xcode (Xcode 10.1, as the time of writing). The SDK will handle older versions of the OS with a dummy SDK.

Sample Projects

  • The samples folder contains several sample projects that include integration instructions and demonstrate best practices.
  • Replace the -1 and <API_key> arguments found in the project's AppDelegate file with the AppID with the API Key provided by Swrve.
  • Run on your device or on the emulator.

Contributing

We would love to see your contributions! Follow these steps:

  1. Fork this repository.
  2. Create a branch (git checkout -b my_awesome_feature)
  3. Commit your changes (git commit -m "Awesome feature")
  4. Push to the branch (git push origin my_awesome_feature)
  5. Open a Pull Request.

License

© Copyright Swrve Mobile Inc or its licensors. Distributed under the Apache 2.0 License.

GitHub

link
Stars: 16
Last commit: 6 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Release Notes

release-8_9_0
6 weeks ago

Features

  • Added support for Live Activities. The SwrveSDK now provides two APIs for starting and resuming the tracking of your live activities: startLiveActivityTracking<T: ActivityAttributes>(activityId: String, activity: Activity<T>) resumeLiveActivityTracking<T: ActivityAttributes>(ofType activityType: Activity<T>.Type) For more information, see: Integration guide.

Fixes

  • Resolved an issue to ensure that events are correctly requeued when a HTTP 429 error occurs.
  • Fixed an issue that prevents in-app messages from displaying when they contain multiline text and cannot support personalization without fallback text.

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