Skip to content
This repository was archived by the owner on Jul 22, 2020. It is now read-only.

Commit 5388f34

Browse files
committed
prepare for 4.0.0
1 parent cdbc38c commit 5388f34

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

IterableSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "IterableSDK"
19-
s.version = "3.1.1"
19+
s.version = "4.0.0"
2020
s.summary = "Iterable's official SDK for iOS"
2121

2222
s.description = <<-DESC

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![CocoaPods](https://img.shields.io/cocoapods/v/IterableSDK.svg?style=flat)](https://cocoapods.org/pods/IterableSDK)
22
[![License](https://img.shields.io/cocoapods/l/IterableSDK.svg?style=flat)](https://opensource.org/licenses/MIT)
3-
[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/IterableSDK.svg?style=flat)](http://cocoadocs.org/docsets/IterableSDK/3.1.1/)
3+
[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/IterableSDK.svg?style=flat)](http://cocoadocs.org/docsets/IterableSDK/4.0.0/)
44

55
# Iterable iOS SDK
66

@@ -67,7 +67,8 @@ In the `Artifacts` directory, you can find the compiled static library and heade
6767

6868
# Using the SDK
6969

70-
1. Once you know the email of the user, **create a shared instance of an `IterableAPI`**
70+
1. Once you know the email or userId of the user, **create a shared instance of an `IterableAPI`**
71+
* If you are initializing using a userId, an existing user must already exist for that userId
7172
* use `[IterableAPI sharedInstanceWithApiKey:(NSString *)apiKey andEmail:(NSString *)email launchOptions:(NSDictionary *)launchOptions]` to create an `IterableAPI`
7273
* The `apiKey` should correspond to the API key of your project in Iterable. If you'd like, you can specify a different `apiKey` depending on whether you're building in `DEBUG` or `PRODUCTION`, and point the SDK to the relevant Iterable project.
7374
* Ideally, you will call this from inside `application:didFinishLaunchingWithOptions:` and pass in `launchOptions`. This will let the SDK automatically track a push open for you if the application was launched from a remote Iterable push notification.

0 commit comments

Comments
 (0)