diff --git a/Repro.podspec b/Repro.podspec index 143f8de..e02487c 100644 --- a/Repro.podspec +++ b/Repro.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Repro' - s.version = '5.7.1' + s.version = '5.8.0' s.summary = 'Repro is a mobile analytics tool that lets you have much deeper understanding of your users.' s.homepage = 'https://repro.io/' s.license = { diff --git a/Repro.xcframework/Info.plist b/Repro.xcframework/Info.plist index dd717e6..3fe7e23 100644 --- a/Repro.xcframework/Info.plist +++ b/Repro.xcframework/Info.plist @@ -6,33 +6,33 @@ LibraryIdentifier - ios-arm64_armv7_armv7s + ios-arm64_i386_x86_64-simulator LibraryPath Repro.framework SupportedArchitectures arm64 - armv7 - armv7s + i386 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator LibraryIdentifier - ios-arm64_i386_x86_64-simulator + ios-arm64_armv7_armv7s LibraryPath Repro.framework SupportedArchitectures arm64 - i386 - x86_64 + armv7 + armv7s SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Headers/RPRNewsFeedEntry.h b/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Headers/RPRNewsFeedEntry.h index 3a6fa58..038779b 100644 --- a/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Headers/RPRNewsFeedEntry.h +++ b/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Headers/RPRNewsFeedEntry.h @@ -6,6 +6,16 @@ #import + +typedef NS_ENUM(NSUInteger, RPRCampaignType) { + RPRCampaignTypeUnknown NS_SWIFT_NAME(unknown) = 0, + + RPRCampaignTypePushNotification NS_SWIFT_NAME(pushNotification) = (1 << 0), + RPRCampaignTypeInAppMessage NS_SWIFT_NAME(inAppMessage) = (1 << 1), + RPRCampaignTypeWebMessage NS_SWIFT_NAME(webMessage) = (1 << 2), + RPRCampaignTypeAll NS_SWIFT_NAME(all) = (1 << 3), +}; + NS_ASSUME_NONNULL_BEGIN @interface RPRNewsFeedEntry : NSObject @@ -15,6 +25,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly) NSString *title; @property (nonatomic, readonly) NSString *summary; @property (nonatomic, readonly) NSString *body; +@property (nonatomic, readonly) RPRCampaignType campaignType; @property (nonatomic, readonly, nullable) NSURL *linkUrl; @property (nonatomic, readonly, nullable) NSURL *imageUrl; @property (nonatomic, readonly) NSDate *deliveredAt; diff --git a/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Headers/Repro.h b/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Headers/Repro.h index 2ef8316..c2026c8 100644 --- a/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Headers/Repro.h +++ b/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Headers/Repro.h @@ -144,11 +144,22 @@ NS_SWIFT_NAME(set(silverEggProdKey:)); error:(NSError * _Nullable * _Nullable)error NS_SWIFT_NAME(getNewsFeeds(_:)); ++ (nullable NSArray *)getNewsFeeds:(uint64_t)limit + campaignType:(RPRCampaignType)campaignType + error:(NSError * _Nullable * _Nullable)error +NS_SWIFT_NAME(getNewsFeeds(_:campaignType:)); + + (nullable NSArray *)getNewsFeeds:(uint64_t)limit offsetID:(uint64_t)offsetID error:(NSError * _Nullable * _Nullable)error NS_SWIFT_NAME(getNewsFeeds(_:offsetID:)); ++ (nullable NSArray *)getNewsFeeds:(uint64_t)limit + offsetID:(uint64_t)offsetID + campaignType:(RPRCampaignType)campaignType + error:(NSError * _Nullable * _Nullable)error +NS_SWIFT_NAME(getNewsFeeds(_:offsetID:campaignType:)); + + (BOOL)updateNewsFeeds:(nonnull NSArray *)newsFeeds error:(NSError * _Nullable * _Nullable)error NS_SWIFT_NAME(updateNewsFeeds(_:)); diff --git a/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Info.plist b/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Info.plist index d02c839..84b4a51 100644 Binary files a/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Info.plist and b/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Info.plist differ diff --git a/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Repro b/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Repro index c8d6b74..9f99056 100644 Binary files a/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Repro and b/Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Repro differ diff --git a/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/RPRNewsFeedEntry.h b/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/RPRNewsFeedEntry.h index 3a6fa58..038779b 100644 --- a/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/RPRNewsFeedEntry.h +++ b/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/RPRNewsFeedEntry.h @@ -6,6 +6,16 @@ #import + +typedef NS_ENUM(NSUInteger, RPRCampaignType) { + RPRCampaignTypeUnknown NS_SWIFT_NAME(unknown) = 0, + + RPRCampaignTypePushNotification NS_SWIFT_NAME(pushNotification) = (1 << 0), + RPRCampaignTypeInAppMessage NS_SWIFT_NAME(inAppMessage) = (1 << 1), + RPRCampaignTypeWebMessage NS_SWIFT_NAME(webMessage) = (1 << 2), + RPRCampaignTypeAll NS_SWIFT_NAME(all) = (1 << 3), +}; + NS_ASSUME_NONNULL_BEGIN @interface RPRNewsFeedEntry : NSObject @@ -15,6 +25,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly) NSString *title; @property (nonatomic, readonly) NSString *summary; @property (nonatomic, readonly) NSString *body; +@property (nonatomic, readonly) RPRCampaignType campaignType; @property (nonatomic, readonly, nullable) NSURL *linkUrl; @property (nonatomic, readonly, nullable) NSURL *imageUrl; @property (nonatomic, readonly) NSDate *deliveredAt; diff --git a/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/Repro.h b/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/Repro.h index 2ef8316..c2026c8 100644 --- a/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/Repro.h +++ b/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Headers/Repro.h @@ -144,11 +144,22 @@ NS_SWIFT_NAME(set(silverEggProdKey:)); error:(NSError * _Nullable * _Nullable)error NS_SWIFT_NAME(getNewsFeeds(_:)); ++ (nullable NSArray *)getNewsFeeds:(uint64_t)limit + campaignType:(RPRCampaignType)campaignType + error:(NSError * _Nullable * _Nullable)error +NS_SWIFT_NAME(getNewsFeeds(_:campaignType:)); + + (nullable NSArray *)getNewsFeeds:(uint64_t)limit offsetID:(uint64_t)offsetID error:(NSError * _Nullable * _Nullable)error NS_SWIFT_NAME(getNewsFeeds(_:offsetID:)); ++ (nullable NSArray *)getNewsFeeds:(uint64_t)limit + offsetID:(uint64_t)offsetID + campaignType:(RPRCampaignType)campaignType + error:(NSError * _Nullable * _Nullable)error +NS_SWIFT_NAME(getNewsFeeds(_:offsetID:campaignType:)); + + (BOOL)updateNewsFeeds:(nonnull NSArray *)newsFeeds error:(NSError * _Nullable * _Nullable)error NS_SWIFT_NAME(updateNewsFeeds(_:)); diff --git a/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Info.plist b/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Info.plist index d202afe..20ccddd 100644 Binary files a/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Info.plist and b/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Info.plist differ diff --git a/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Repro b/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Repro index 099e266..86a4375 100644 Binary files a/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Repro and b/Repro.xcframework/ios-arm64_i386_x86_64-simulator/Repro.framework/Repro differ