You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-6Lines changed: 16 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,22 +2,32 @@
2
2
3
3
This repository contains Batch's iOS Extension SDK.
4
4
5
-
It is a light version that only uses Extension-safe APIs. It provides Rich Push capabilities and other functionality.
5
+
It is a light version that only uses Extension-safe APIs for extension-specific features.
6
6
7
-
The project is written in Swift 5, but Objective-C projects are supported.
8
-
If you do not have Swift code in your app and do not want to bundle the Swift runtime on versions lower than iOS 12.2,
9
-
use Batch-iOS-SDK-Extension-ObjC.
7
+
The project is written in Swift, but can be used with Objective-C.
10
8
11
9
## Requirements
12
10
13
11
- iOS 10 and higher
14
-
- Xcode 11 and higher
12
+
- A Xcode version that supports Swift 5 and higher
13
+
14
+
## Integration
15
+
16
+
This extension should be added to your Notification Service Extension. If you don't have one, please see [our documentation](https://doc.batch.com/ios/sdk-integration/rich-notifications-setup).
17
+
18
+
You will also need to configure an app group shared by your extension and app. See our [tutorial here](https://doc.batch.com/ios/advanced/app-groups).
15
19
16
20
### Cocoapods
17
21
22
+
pod 'BatchExtension'
23
+
18
24
### Carthage
19
25
26
+
github "BatchLabs/Batch-iOS-SDK-Extension"
27
+
20
28
### Swift Package Manager
21
29
22
-
Add `https://github.com/BatchLabs/Batch-iOS-SDK-Extension.git` as a dependency, and add it to your Extension target.
30
+
_Requires Xcode 11_
31
+
32
+
Add https://github.com/BatchLabs/Batch-iOS-SDK-Extension.git as a dependency, and add it to your Extension target.
23
33
You do not need to add this package to your main target.
0 commit comments