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
🕓 3 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: 2 days ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Release Notes

Release-9_0_0
3 days ago

Features

  • Added support for starting Live Activities from a push. For more information, see here.
  • Added code signatures to our Swrve SDKs XCFrameworks.
  • Added API for retrieving Swrve Device Id.
  • Increased minimum SwrveSDK support version from iOS 10 to iOS 12.
  • Removed numerous deprecated APIs. Please see our upgrade guide for more information.
  • The Swrve SDK does not support direct source integration.
  • The Swrve SDK will no longer request the push permission by default. Please see our upgrade guide for more information.

Note If your integration previously relied on the Swrve SDK to request push permission upon install then please set "Swrve.session.start" in the Swrveconfig.pushNotificationPermissionsEvents API

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