Skip to content

Commit

Permalink
Marigold iOS SDK 16.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CarnivalBot committed Apr 24, 2024
1 parent 2c12ac7 commit c4ee539
Show file tree
Hide file tree
Showing 24 changed files with 77 additions and 391 deletions.
2 changes: 1 addition & 1 deletion Marigold-Extension.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Marigold-Extension'
s.version = '15.2.0'
s.version = '16.0.0'
s.summary = 'Marigold iOS SDK for integrating with https://mobile.sailthru.com messaging and analytics service.'
s.author = {
'Marigold' => 'support@sailthru.com'
Expand Down
2 changes: 1 addition & 1 deletion Marigold.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Marigold'
s.version = '15.2.0'
s.version = '16.0.0'
s.summary = 'Marigold iOS SDK for integrating with https://mobile.sailthru.com messaging and analytics service.'
s.author = {
'Marigold' => 'support@sailthru.com'
Expand Down
10 changes: 5 additions & 5 deletions Marigold.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,32 @@
<key>BinaryPath</key>
<string>Marigold.framework/Marigold</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>Marigold.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>Marigold.framework/Marigold</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Marigold.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)enableAutoAnalytics:(NSArray<NSString *> *)enableArray;

/** @name Custom Attributes */

/**
* Asyncronously sets a MARAttributes object with Sailthru Mobile.
*
* @param attributes A nonnull MARAttributes object with the desired attributes set.
* @param block The block returned from the asynchronous call. May contain an error.
*/
- (void)setAttributes:(MARAttributes *)attributes withResponse:(nullable void(^)(NSError *__nullable error))block __deprecated_msg("use setProfileVars:withResponse: instead");

/**
* Asyncronously removes a value for a given key.
*
* @param key The string value of the key.
* @param block The block returned from the asynchronous call. May contain an error.
**/
- (void)removeAttributeWithKey:(NSString *)key withResponse:(nullable void(^)(NSError *__nullable error))block __deprecated_msg("use setProfileVars:withResponse: instead");

/**
* Asyncronously clears the Attribute data from the device.
* Use this method to clear the device attributes after user logout.
*
* @param block The block returned from the asynchronous call. May contain an error.
**/

- (void)clearAttributesWithResponse:(nullable void(^)(NSError *__nullable error))block __deprecated_msg("use setProfileVars:withResponse: instead");

/** @name Sailthru Link Handling */

/**
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,17 @@
#import <CoreLocation/CoreLocation.h>
#import <UserNotifications/UserNotifications.h>
#import "MARMessageStream.h"
#import "MARAttributes.h"
#import "MARLogger.h"
#import "MARPurchase.h"
#import "MARNotificationCategory.h"
#import "EngageBySailthru.h"

NS_ASSUME_NONNULL_BEGIN

#define MAR_VERSION @"15.2.0"
#define MAR_VERSION @"16.0.0"
FOUNDATION_EXPORT double MARSDKVersionNumber;
FOUNDATION_EXPORT const unsigned char MARSDKVersionString[];

typedef NS_OPTIONS(NSUInteger, MARDeviceDataType) {
MARDeviceDataTypeMessageStream = 1 << 1,
MARDeviceDataTypeEvents = 1 << 2
};

typedef NS_ENUM(NSUInteger, MARPushAuthorizationOption) {
MARPushAuthorizationOptionNoRequest, // This option will not request any push authorization permissions for the device. Note that a push token will still be requested. No prompt is required.
MARPushAuthorizationOptionProvisional, // This option will request provisional push authorization, allowing push notifications to be sent to the notification center. No prompt is required. Available iOS 12+, defaults to MARPushAuthorizationOptionNoRequest behaviour for earlier versions.
Expand Down Expand Up @@ -84,17 +78,6 @@ extern NSString * const MARAutoAnalyticsSourceAll;
*/
- (void)setLogger:(id<MARLogger>)logger;

/** @name Custom Attributes */

/**
* Asyncronously clears any of the Message Stream or Event data from the device.
* Use this method to clear the device attributes after user logout.
*
* @param types A bitwise OR collection of MARDeviceDataType dictating which sets of data to clear.
* @param block The block returned from the asynchronous call. May contain an error.
**/
- (void)clearDeviceData:(MARDeviceDataType)types withResponse:(nullable void(^)(NSError *__nullable error))block __deprecated_msg("use EngageBySailthru clearEventsWithResponse: or MARMessageStream clearMessagesWithResponse: instead");

/** @name Badges */

/**
Expand Down
Binary file modified Marigold.xcframework/ios-arm64/Marigold.framework/Info.plist
Binary file not shown.
Binary file modified Marigold.xcframework/ios-arm64/Marigold.framework/Marigold
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)enableAutoAnalytics:(NSArray<NSString *> *)enableArray;

/** @name Custom Attributes */

/**
* Asyncronously sets a MARAttributes object with Sailthru Mobile.
*
* @param attributes A nonnull MARAttributes object with the desired attributes set.
* @param block The block returned from the asynchronous call. May contain an error.
*/
- (void)setAttributes:(MARAttributes *)attributes withResponse:(nullable void(^)(NSError *__nullable error))block __deprecated_msg("use setProfileVars:withResponse: instead");

/**
* Asyncronously removes a value for a given key.
*
* @param key The string value of the key.
* @param block The block returned from the asynchronous call. May contain an error.
**/
- (void)removeAttributeWithKey:(NSString *)key withResponse:(nullable void(^)(NSError *__nullable error))block __deprecated_msg("use setProfileVars:withResponse: instead");

/**
* Asyncronously clears the Attribute data from the device.
* Use this method to clear the device attributes after user logout.
*
* @param block The block returned from the asynchronous call. May contain an error.
**/

- (void)clearAttributesWithResponse:(nullable void(^)(NSError *__nullable error))block __deprecated_msg("use setProfileVars:withResponse: instead");

/** @name Sailthru Link Handling */

/**
Expand Down

This file was deleted.

Loading

0 comments on commit c4ee539

Please sign in to comment.