Skip to content

Commit 2f226ad

Browse files
author
Cobrowse.io Bot
committed
v3.2.0
1 parent 10ed4ef commit 2f226ad

File tree

37 files changed

+73
-63
lines changed

37 files changed

+73
-63
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [3.2.0](#) (2025-02-19)
6+
7+
8+
### Features
9+
10+
* Add setDeviceToken to `CobrowseIO` to register an APNS token with a device. ([#147](#)) ([79f6774](#))
11+
* add support to arrows and rectangles drawings ([#146](#)) ([68e94c1](#))
12+
513
### [3.1.2](#) (2025-02-11)
614

715
### [3.1.1](#) (2025-02-11)
@@ -31,6 +39,8 @@ All notable changes to this project will be documented in this file. See [standa
3139
* Updated the minimum support Cobrowse API version to 1.21.0
3240
* The built-in intercom integration support has been removed. To continue to support cobrowse Intercom integrations in your apps please set an Intercom user property called `CobrowseID` to the `CobrowseIO.instance.deviceId` value.
3341
* `customData` is now restricted to string values only
42+
* `CobrowseIORedacted` and `CobrowseIOUnredacted` now use `UIView` generic constraint for the array of views passed.
43+
* No longer automatically register device push notification token. New `CobrowseIO.setDeiviceToken` that can be used to associate a device within the cobrowse dashboard with a push token.
3444

3545
- No need to annotate dictionary as `[String : Object]
3646
- removed `k` prefix as it is an older Obj-C convention

CobrowseIO.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 = 'CobrowseIO'
3-
s.version = '3.1.2'
3+
s.version = '3.2.0'
44
s.summary = 'CobrowseIO SDK'
55
s.description = 'CobrowseIO SDK. See cobrowse.io for more information.'
66
s.license = 'Proprietary'

CobrowseSDK.framework/CobrowseSDK

-2.56 KB
Binary file not shown.

CobrowseSDK.framework/Headers/CobrowseIO.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ static NSString* _Nonnull const CBIODeviceNameKey = @"device_name";
128128
/// @param callback A callback containing the created session, or an error.
129129
-(nonnull instancetype) getSession: (nonnull NSString*) idOrCode callback: (nullable CBErrorSessionBlock)callback;
130130

131-
132131
/// Gets the current screenshare session. This may be a session waiting to start, the currently active session,
133132
/// or may be nil if no session has been created.
134133
/// @return The current session
@@ -142,13 +141,14 @@ static NSString* _Nonnull const CBIODeviceNameKey = @"device_name";
142141

143142
@interface CobrowseIO (Push)
144143

144+
/// Associate a APNS token with this device to be seen within the Cobrowse dashboard
145+
+(void) setDeviceToken:(nonnull NSData *)token API_UNAVAILABLE(macos);
146+
145147
/// Tests whether a push notification was generated by Cobrowse.
146148
+(BOOL) isCobrowseNotification: (nonnull NSDictionary*) userInfo;
147149

148150
/// Call this when your push handler recieves a push notification. Non-cobrowse push
149-
/// notifications will be ignored. Note that we will intercept push notifications
150-
/// automatically, so you should not need to use this method if using standard push
151-
/// channels.
151+
/// notifications will be ignored.
152152
+(void) onPushNotification: (nonnull NSDictionary*) userInfo;
153153

154154
@end

CobrowseSDK.framework/Headers/CobrowseIORedacted.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
@protocol CobrowseIORedacted <NSObject>
77

88
/// Return the list of UIView subclasses to redact
9-
-(nonnull NSArray*) redactedViews;
9+
-(nonnull NSArray<UIView *>*) redactedViews;
1010

1111
@end

CobrowseSDK.framework/Headers/CobrowseIOUnredacted.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
@protocol CobrowseIOUnredacted <NSObject>
77

88
/// Return the list of UIView subclasses to unredact
9-
-(nonnull NSArray*) unredactedViews;
9+
-(nonnull NSArray<UIView *>*) unredactedViews;
1010

1111
@end

CobrowseSDK.framework/Info.plist

0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)