Skip to content

Commit 81d85a6

Browse files
Release 13.0.0
1 parent 7d1072d commit 81d85a6

File tree

138 files changed

+1544
-165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+1544
-165
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions

Intercom.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Intercom'
3-
s.version = '12.4.3'
3+
s.version = '13.0.0'
44
s.summary = 'The Intercom iOS SDK, for integrating Intercom into your iOS application.'
55
s.license = { :type => "Apache 2.0", :file => "LICENSE" }
66
s.authors = {"Brian Boyle"=>"[email protected]", "Mike McNamara"=>"[email protected]", "Katherine Brennan"=>"[email protected]", "Himanshi Goyal"=>"[email protected]", "Niamh Coleman"=>"[email protected]"}

Intercom.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_x86_64-simulator</string>
9+
<string>ios-arm64</string>
1010
<key>LibraryPath</key>
1111
<string>Intercom.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15-
<string>x86_64</string>
1615
</array>
1716
<key>SupportedPlatform</key>
1817
<string>ios</string>
19-
<key>SupportedPlatformVariant</key>
20-
<string>simulator</string>
2118
</dict>
2219
<dict>
2320
<key>LibraryIdentifier</key>
24-
<string>ios-arm64</string>
21+
<string>ios-arm64_x86_64-simulator</string>
2522
<key>LibraryPath</key>
2623
<string>Intercom.framework</string>
2724
<key>SupportedArchitectures</key>
2825
<array>
2926
<string>arm64</string>
27+
<string>x86_64</string>
3028
</array>
3129
<key>SupportedPlatform</key>
3230
<string>ios</string>
31+
<key>SupportedPlatformVariant</key>
32+
<string>simulator</string>
3333
</dict>
3434
</array>
3535
<key>CFBundlePackageType</key>

Intercom.xcframework/ios-arm64/Intercom.framework/Headers/Intercom.h

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,6 @@ NS_ASSUME_NONNULL_BEGIN
6868
*/
6969
+ (void)loginUnidentifiedUserWithSuccess:(void(^ __nullable)(void))success failure:(void(^ __nullable)(NSError *_Nonnull error))failure NS_REFINED_FOR_SWIFT;
7070

71-
/*!
72-
If you call registerUnidentifiedUser, all activity will be tracked anonymously. If you choose to subsequently
73-
identify that user, all that anonymous activity will be merged into the identified user. This means that you
74-
will no longer see the anonymous user in Intercom, but rather the identified one.
75-
76-
We recommend this is called from within the application delegate's didFinishLaunchingWithOptions: method.
77-
78-
@note You must call one of the user login methods in order to start communicating with Intercom.
79-
*/
80-
+ (void)registerUnidentifiedUser __attribute((deprecated("'+[Intercom registerUnidentifiedUser]' is deprecated. 'Use +[Intercom loginUnidentifiedUserWithSuccess:failure:]' instead.")));
81-
8271
//=========================================================================================================
8372
/*! @name Working with identified users */
8473
//=========================================================================================================
@@ -103,30 +92,6 @@ NS_ASSUME_NONNULL_BEGIN
10392
*/
10493
+ (void)loginUserWithUserAttributes:(ICMUserAttributes *)userAttributes success:(void(^ __nullable)(void))success failure:(void(^ __nullable)(NSError *_Nonnull error))failure NS_REFINED_FOR_SWIFT;
10594

106-
/*!
107-
Login as a user just with their userId and email.
108-
109-
@param userId A unique identifier for your user.
110-
@param email Your user's email address.
111-
@note You must call one of the user registration methods in order to start communicating with Intercom.
112-
*/
113-
+ (void)registerUserWithUserId:(NSString *)userId email:(NSString *)email __attribute((deprecated("'+[Intercom registerUserWithUserId:email:]' is deprecated. 'Use +[Intercom loginUserWithUserAttributes:success:failure:]' instead.")));
114-
115-
/*!
116-
Login as a user just with their userId.
117-
@param userId A unique identifier for your user.
118-
@note You must call one of the user registration methods in order to start communicating with Intercom.
119-
*/
120-
+ (void)registerUserWithUserId:(NSString *)userId __attribute((deprecated("'+[Intercom registerUserWithUserId:]' is deprecated. 'Use +[Intercom loginUserWithUserAttributes:success:failure:]' instead.")));
121-
122-
/*!
123-
Login as a user with just their email address.
124-
125-
@param email Your user's email address.
126-
@note You must call one of the user registration methods in order to start communicating with Intercom.
127-
*/
128-
+ (void)registerUserWithEmail:(NSString *)email __attribute((deprecated("'+[Intercom registerUserWithEmail:]' is deprecated. 'Use +[Intercom loginUserWithUserAttributes:success:failure:]' instead.")));
129-
13095
//=========================================================================================================
13196
/*! @name Logging the user out */
13297
//=========================================================================================================
@@ -137,11 +102,6 @@ NS_ASSUME_NONNULL_BEGIN
137102
*/
138103
+ (void)logout;
139104

140-
/*!
141-
@deprecated +[Intercom reset] is deprecated. Use +[Intercom logout] instead.
142-
*/
143-
+ (void)reset __attribute((deprecated("'+[Intercom reset]' is deprecated. 'Use +[Intercom logout]' instead.")));
144-
145105
//=========================================================================================================
146106
/** @name Updating the user */
147107
//=========================================================================================================
@@ -158,17 +118,6 @@ NS_ASSUME_NONNULL_BEGIN
158118
*/
159119
+ (void)updateUser:(ICMUserAttributes *)userAttributes success:(void(^ __nullable)(void))success failure:(void(^ __nullable)(NSError *_Nonnull error))failure NS_REFINED_FOR_SWIFT;
160120

161-
/*!
162-
You can send any data you like to Intercom. Typically our customers see a lot of value in sending data that
163-
relates to customer development, such as price plan, value of purchases, etc. Once these have been sent to
164-
Intercom you can then apply filters based on these attributes.
165-
166-
Details on attributes available to update can be found in ICMUserAttributes.
167-
168-
@param userAttributes The attributes to update the user with.
169-
*/
170-
+ (void)updateUser:(ICMUserAttributes *)userAttributes __attribute((deprecated("'+[Intercom updateUser:]' is deprecated. 'Use +[Intercom updateUser:success:failure:]' instead.")));
171-
172121
#pragma mark - Log Event
173122

174123
/*!
@@ -219,21 +168,6 @@ NS_ASSUME_NONNULL_BEGIN
219168
*/
220169
+ (void)presentMessageComposer:(nullable NSString *)initialMessage;
221170

222-
/*!
223-
Present the message composer.
224-
*/
225-
+ (void)presentMessageComposer __attribute((deprecated("'+[Intercom presentMessageComposer]' is deprecated. 'Use +[Intercom presentMessageComposer:initialMessage]' instead.")));
226-
227-
/*!
228-
Present the message composer with a message to pre-populate the composer.
229-
*/
230-
+ (void)presentMessageComposerWithInitialMessage:(NSString *)message __attribute((deprecated("'+[Intercom presentMessageComposerWithInitialMessage]' is deprecated. 'Use +[Intercom presentMessageComposer:initialMessage]' instead.")));
231-
232-
/*!
233-
Present the conversation list.
234-
*/
235-
+ (void)presentConversationList __attribute((deprecated("'+[Intercom presentConversationList]' is deprecated. 'Use +[Intercom presentMessenger]' instead.")));;
236-
237171
#pragma mark - Help Center UI
238172

239173
/*!
@@ -308,15 +242,6 @@ NS_ASSUME_NONNULL_BEGIN
308242
*/
309243
+ (void)setDeviceToken:(NSData *)deviceToken failure:(void(^ __nullable)(NSError * _Nullable error))failure;
310244

311-
/*!
312-
Set the device token for push notifications. Once the device token is set, the methods for receiving push
313-
notifications are safely swizzled so ones sent from Intercom can be intercepted. When a push notification from
314-
Intercom is received, Intercom for iOS will automatically launch the message from the notification.
315-
316-
@param deviceToken The device token provided in the `didRegisterForRemoteNotificationsWithDeviceToken` method.
317-
*/
318-
+ (void)setDeviceToken:(NSData *)deviceToken __attribute((deprecated("'+[Intercom setDeviceToken:]' is deprecated. 'Use +[Intercom setDeviceToken:failure:]' instead.")));
319-
320245
/*!
321246
Use this method to check if a push notification payload was sent by Intercom. Typically you should call
322247
+[Intercom handleIntercomPushNotification:] after checking this.
-2 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-2 Bytes
Binary file not shown.
-21.8 MB
Binary file not shown.
368 Bytes
736 Bytes

0 commit comments

Comments
 (0)