Skip to content

Commit

Permalink
release: 5.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
repro-sdk-bot committed Dec 6, 2021
1 parent 6cccef2 commit 7903a86
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Repro.podspec
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
16 changes: 8 additions & 8 deletions Repro.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,33 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7_armv7s</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Repro.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>armv7s</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7_armv7s</string>
<key>LibraryPath</key>
<string>Repro.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
<string>armv7s</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 @@ -6,6 +6,16 @@

#import <Foundation/Foundation.h>


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
Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,22 @@ NS_SWIFT_NAME(set(silverEggProdKey:));
error:(NSError * _Nullable * _Nullable)error
NS_SWIFT_NAME(getNewsFeeds(_:));

+ (nullable NSArray<RPRNewsFeedEntry *> *)getNewsFeeds:(uint64_t)limit
campaignType:(RPRCampaignType)campaignType
error:(NSError * _Nullable * _Nullable)error
NS_SWIFT_NAME(getNewsFeeds(_:campaignType:));

+ (nullable NSArray<RPRNewsFeedEntry *> *)getNewsFeeds:(uint64_t)limit
offsetID:(uint64_t)offsetID
error:(NSError * _Nullable * _Nullable)error
NS_SWIFT_NAME(getNewsFeeds(_:offsetID:));

+ (nullable NSArray<RPRNewsFeedEntry *> *)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<RPRNewsFeedEntry *> *)newsFeeds error:(NSError * _Nullable * _Nullable)error
NS_SWIFT_NAME(updateNewsFeeds(_:));

Expand Down
Binary file not shown.
Binary file modified Repro.xcframework/ios-arm64_armv7_armv7s/Repro.framework/Repro
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@

#import <Foundation/Foundation.h>


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
Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,22 @@ NS_SWIFT_NAME(set(silverEggProdKey:));
error:(NSError * _Nullable * _Nullable)error
NS_SWIFT_NAME(getNewsFeeds(_:));

+ (nullable NSArray<RPRNewsFeedEntry *> *)getNewsFeeds:(uint64_t)limit
campaignType:(RPRCampaignType)campaignType
error:(NSError * _Nullable * _Nullable)error
NS_SWIFT_NAME(getNewsFeeds(_:campaignType:));

+ (nullable NSArray<RPRNewsFeedEntry *> *)getNewsFeeds:(uint64_t)limit
offsetID:(uint64_t)offsetID
error:(NSError * _Nullable * _Nullable)error
NS_SWIFT_NAME(getNewsFeeds(_:offsetID:));

+ (nullable NSArray<RPRNewsFeedEntry *> *)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<RPRNewsFeedEntry *> *)newsFeeds error:(NSError * _Nullable * _Nullable)error
NS_SWIFT_NAME(updateNewsFeeds(_:));

Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 7903a86

Please sign in to comment.