Swiftpack.co - BatchLabs/Batch-iOS-SDK as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by BatchLabs.
BatchLabs/Batch-iOS-SDK 1.18.0
Batch SDK for iOS
⭐️ 27
🕓 1 week ago
iOS
.package(url: "https://github.com/BatchLabs/Batch-iOS-SDK.git", from: "1.18.0")
Batch Logo

Batch iOS SDK

The Batch iOS SDK allows you to build meaningful communication experience in your iOS app through highly personalized push notifications & In-App messages.

Our 📕 setup documentation details the steps to take for an easy and successful integration.

Prerequisites

The Batch iOS SDK requires Xcode 12 and iOS 10.0 or higher.

Documentation

  • Setup guide: start your implementation here!
  • Help center: answers to most questions you may have during the integration
  • API reference: this documents each of the classes and methods in the Batch iOS SDK

You may also find this guide useful to review after integration to make sure you're ready to go live: How can I test the integration on iOS?

Releases

We support Cocoapods, Carthage and SPM. You can also integrate the Batch iOS SDK manually.

Building

Build instructions are detailed in BUILDING.md.

Contributing

Please refer to our contributing guidelines.

GitHub

link
Stars: 27
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

1.18.0
1 week ago

Compiles with Xcode 13.1 Batch requires Xcode 13 and iOS 10.0 or higher

Starting with this release, Batch can be installed as a XCFramework when using Carthage 0.38 and higher

Core

  • Added Universal Links support. If your application handles them, please declare your associated domains with [Batch setAssociatedDomains:];. If your site uses multiple subdomains (such as example.com, www.example.com, or support.example.com), each requires its own entry like in the Associated Domains Entitlement.

Events

  • Added NSURL type for the events data.
  • Batch now emits the BatchEventTrackerFinishedNotification NSNotification when the event tracker has finished sending events. This notification might be triggered multiple times in a row.
    Read BatchTrackingEventsDidFinishWithSuccessKey in the userInfo to know whether the operation succeeded or failed.

Attributes

  • Added NSURL type for the custom attributes.

Inbox

  • Batch will now cache notifications marked as read or deleted to avoid any synchronization issues.
  • Property isDeleted from a BatchInboxNotificationContent is now deprecated: see BatchInbox.h for more info.

Debug

  • Batch will now copy the installation ID to the clipboard when the application is foregrounded multiple times in a short timespan. This is enabled by default, you can disable it at any moment by using [Batch setEnablesFindMyInstallation:false].

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