Skip to content

Commit

Permalink
Pushwoosh iOS SDK 6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins CI committed Apr 27, 2021
1 parent c5763f1 commit 04424f6
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 144 deletions.
25 changes: 0 additions & 25 deletions Documentation/PWLoadingView.md

This file was deleted.

17 changes: 0 additions & 17 deletions Documentation/PWNotificationCenterDelegateProxy.md

This file was deleted.

26 changes: 4 additions & 22 deletions Documentation/PWRichMediaStyle.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@

# <a name="heading"></a>class PWRichMediaStyle : NSObject
'PWRichMediaStyle' class allows customizing the appearance of Rich Media pages.
Custom Rich Media loading view. It is shown while Rich Media is loading. 'PWRichMediaStyle' class allows customizing the appearance of Rich Media pages.
## Members

<table>
<tr>
<td><a href="#1ad1133b42aac44d81046fa6ad478005b1">@property UIColor *backgroundColor</a></td>
</tr>
<tr>
<td><a href="#1a0ac5cd12a0eeee733ac5d4c8bdee0e31">@property id&lt;PWRichMediaStyleAnimationDelegate&gt; animationDelegate</a></td>
</tr>
<tr>
<td><a href="#1a0777e36a1dabc089cf68447bc1abbc23">@property PWRichMediaLoadingViewBlock loadingViewBlock</a></td>
</tr>
<tr>
<td><a href="#1a460c0c46605926ec378acb7c3bb4b932">@property NSTimeInterval closeButtonPresentingDelay</a></td>
</tr>
Expand All @@ -31,32 +25,20 @@
----------


#### <a name="1ad1133b42aac44d81046fa6ad478005b1"></a>@property UIColor \*backgroundColor
Background color of Rich Media pages.

----------


#### <a name="1a0ac5cd12a0eeee733ac5d4c8bdee0e31"></a>@property id&lt;<a href="PWRichMediaStyleAnimationDelegate-p.md">PWRichMediaStyleAnimationDelegate</a>&gt; animationDelegate
Delegate to manage Rich Media presenting animation.
Background color of Rich Media pages. Delegate to manage Rich Media presenting animation.

----------


#### <a name="1a0777e36a1dabc089cf68447bc1abbc23"></a>@property PWRichMediaLoadingViewBlock loadingViewBlock
#### <a name="1a460c0c46605926ec378acb7c3bb4b932"></a>@property NSTimeInterval closeButtonPresentingDelay
Block to customize Rich Media loading view.<br/>Example:
```Objective-C
style.loadingViewBlock = ^PWLoadingView *{
return [[[NSBundle mainBundle] loadNibNamed:@"LoadingView" owner:self options:nil] lastObject];
};
```


----------


#### <a name="1a460c0c46605926ec378acb7c3bb4b932"></a>@property NSTimeInterval closeButtonPresentingDelay
Delay of the close button presenting in seconds.
Delay of the close button presenting in seconds.

----------

Expand Down
25 changes: 1 addition & 24 deletions Documentation/PWRichMediaStyleAnimationDelegate-p.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@

# <a name="heading"></a>protocol PWRichMediaStyleAnimationDelegate&lt;NSObject&gt;
Interface for Rich Media Custom Animation.
## Members

<table>
<tr>
<td><a href="#1a5a05fe4332a8fc4d3d27fa0dcefafcaf">- (void)runPresentingAnimationWithContentView:(UIView *)contentView parentView:(UIView *)parentView completion:(dispatch_block_t)completion</a></td>
</tr>
<tr>
<td><a href="#1abedb0a2a61bff863820dd4d170b7ec74">- (void)runDismissingAnimationWithContentView:(UIView *)contentView parentView:(UIView *)parentView completion:(dispatch_block_t)completion</a></td>
</tr>
</table>


----------


#### <a name="1a5a05fe4332a8fc4d3d27fa0dcefafcaf"></a>- (void)runPresentingAnimationWithContentView:(UIView \*)contentView parentView:(UIView \*)parentView completion:(dispatch\_block\_t)completion
This method can be used to animate Rich Media presenting view.

----------


#### <a name="1abedb0a2a61bff863820dd4d170b7ec74"></a>- (void)runDismissingAnimationWithContentView:(UIView \*)contentView parentView:(UIView \*)parentView completion:(dispatch\_block\_t)completion
This method can be used to animate Rich Media dismissing view.
Interface for Rich Media Custom Animation.
2 changes: 1 addition & 1 deletion Documentation/PWTagsBuilder.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# <a name="heading"></a>class PWTagsBuilder : NSObject
PWTagsBuilder class encapsulates the methods for creating tags parameters for sending them to the server.
PWNotificationCenterDelegateProxy class handles notifications on iOS 10 and forwards methods of UNUserNotificationCenterDelegate to all added delegates. Returns UNUserNotificationCenterDelegate that handles foreground push notifications on iOS10 Adds extra UNUserNotificationCenterDelegate that handles foreground push notifications on iOS10. PWTagsBuilder class encapsulates the methods for creating tags parameters for sending them to the server.
## Members

<table>
Expand Down
38 changes: 1 addition & 37 deletions Documentation/Pushwoosh.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ Pushwoosh class offers access to the singleton-instance of the push manager resp
<tr>
<td><a href="#1ad413d699dc59ac2b19ac88a23c4f2993">- (void)setUser:(NSString *)userId email:(NSString *)email completion:(void(^)(NSError *error))completion</a></td>
</tr>
<tr>
<td><a href="#1a4f879982c931d7caaee7379a43256737">- (void)setUser:(NSString *)userId email:(NSString *)email</a></td>
</tr>
<tr>
<td><a href="#1a8dbe726012aa780a7318073e3ea0b722">- (void)setEmails:(NSArray *)emails completion:(void(^)(NSError *error))completion</a></td>
</tr>
Expand All @@ -118,9 +115,6 @@ Pushwoosh class offers access to the singleton-instance of the push manager resp
<tr>
<td><a href="#1a91c67cf46fb878df0db97260de08819e">- (void)mergeUserId:(NSString *)oldUserId to:(NSString *)newUserId doMerge:(BOOL)doMerge completion:(void(^)(NSError *error))completion</a></td>
</tr>
<tr>
<td><a href="#1a3f901c955da060f6cbd695a127997dfc">- (BOOL)handleOpenURL:(NSURL *)url</a></td>
</tr>
</table>


Expand All @@ -145,7 +139,7 @@ Returns push notification payload if the app was started in response to push not
----------


#### <a name="1a42e773c001914bf76ed49a4e2828100a"></a>@property <a href="PWNotificationCenterDelegateProxy.md">PWNotificationCenterDelegateProxy</a> \*notificationCenterDelegateProxy
#### <a name="1a42e773c001914bf76ed49a4e2828100a"></a>@property PWNotificationCenterDelegateProxy \*notificationCenterDelegateProxy
Proxy contains UNUserNotificationCenterDelegate objects.

----------
Expand Down Expand Up @@ -435,23 +429,6 @@ Set User indentifier. This could be Facebook ID, username or email, or any other
----------
#### <a name="1a4f879982c931d7caaee7379a43256737"></a>- (void)setUser:(NSString \*)userId email:(NSString \*)email
Set User indentifier. This could be Facebook ID, username or email, or any other user ID. This allows data and events to be matched across multiple user devices.<br/><br/><br/><strong>Parameters</strong><br/>
<table>
<tr>
<td><strong>userId</strong></td>
<td>user identifier </td>
</tr>
<tr>
<td><strong>email</strong></td>
<td>user's email string </td>
</tr>
</table>
----------
#### <a name="1a8dbe726012aa780a7318073e3ea0b722"></a>- (void)setEmails:(NSArray \*)emails completion:(void(^)(NSError \*error))completion
Register emails list associated to the current user. If setEmails succeeds competion is called with nil argument. If setEmails fails completion is called with error.<br/><br/><br/><strong>Parameters</strong><br/>
<table>
Expand Down Expand Up @@ -524,16 +501,3 @@ Move all events from oldUserId to newUserId if doMerge is true. If doMerge is fa
<td>callback </td>
</tr>
</table>
----------
#### <a name="1a3f901c955da060f6cbd695a127997dfc"></a>- (BOOL)handleOpenURL:(NSURL \*)url
Process URL of some deep link. Primarly used for register test devices.<br/><br/><br/><strong>Parameters</strong><br/>
<table>
<tr>
<td><strong>url</strong></td>
<td>Deep Link URL </td>
</tr>
</table>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
//

#import <Foundation/Foundation.h>

#if TARGET_OS_IOS || TARGET_OS_WATCH
#import <UIKit/UIKit.h>
#endif

FOUNDATION_EXPORT NSTimeInterval const PWRichMediaStyleDefaultAnimationDuration;

Expand All @@ -17,13 +20,14 @@ FOUNDATION_EXPORT NSTimeInterval const PWRichMediaStyleDefaultAnimationDuration;
/**
This method can be used to animate Rich Media presenting view.
*/
#if TARGET_OS_IOS || TARGET_OS_WATCH
- (void)runPresentingAnimationWithContentView:(UIView *)contentView parentView:(UIView *)parentView completion:(dispatch_block_t)completion;

/**
This method can be used to animate Rich Media dismissing view.
*/
- (void)runDismissingAnimationWithContentView:(UIView *)contentView parentView:(UIView *)parentView completion:(dispatch_block_t)completion;

#endif
@end

/**
Expand Down Expand Up @@ -52,17 +56,16 @@ FOUNDATION_EXPORT NSTimeInterval const PWRichMediaStyleDefaultAnimationDuration;
/**
Custom Rich Media loading view. It is shown while Rich Media is loading.
*/
#if TARGET_OS_IOS || TARGET_OS_WATCH
@interface PWLoadingView : UIView

@property (nonatomic) IBOutlet UIActivityIndicatorView *activityIndicatorView;
@property (nonatomic) IBOutlet UIButton *cancelLoadingButton;

@end


typedef PWLoadingView *(^PWRichMediaLoadingViewBlock)(void);


#endif
/**
'PWRichMediaStyle' class allows customizing the appearance of Rich Media pages.
*/
Expand All @@ -71,7 +74,11 @@ typedef PWLoadingView *(^PWRichMediaLoadingViewBlock)(void);
/**
Background color of Rich Media pages.
*/
#if TARGET_OS_IOS || TARGET_OS_WATCH
@property (nonatomic) UIColor *backgroundColor;
#elif TARGET_OS_OSX
@property (nonatomic) NSColor *backgroundColor;
#endif

/**
Delegate to manage Rich Media presenting animation.
Expand All @@ -88,8 +95,9 @@ typedef PWLoadingView *(^PWRichMediaLoadingViewBlock)(void);
};
@endcode
*/
#if TARGET_OS_IOS
@property (nonatomic) PWRichMediaLoadingViewBlock loadingViewBlock;

#endif
/**
Delay of the close button presenting in seconds.
*/
Expand Down
22 changes: 9 additions & 13 deletions Framework/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

#endif


#define PUSHWOOSH_VERSION @"6.1.1"
#define PUSHWOOSH_VERSION @"6.2.0"


@class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy;
Expand Down Expand Up @@ -391,15 +390,6 @@ Unregisters from push notifications.
*/
- (void)setUser:(NSString *)userId email:(NSString *)email completion:(void(^)(NSError * error))completion;

/**
Set User indentifier. This could be Facebook ID, username or email, or any other user ID.
This allows data and events to be matched across multiple user devices.
@param userId user identifier
@param email user's email string
*/
- (void)setUser:(NSString *)userId email:(NSString *)email;

/**
Register emails list associated to the current user.
If setEmails succeeds competion is called with nil argument. If setEmails fails completion is called with error.
Expand Down Expand Up @@ -445,15 +435,20 @@ Unregisters from push notifications.
@param url Deep Link URL
*/
#if TARGET_OS_IOS || TARGET_OS_WATCH
- (BOOL)handleOpenURL:(NSURL *)url;
#endif

@end

/**
`PWNotificationCenterDelegateProxy` class handles notifications on iOS 10 and forwards methods of UNUserNotificationCenterDelegate to all added delegates.
*/
#if TARGET_OS_IOS || TARGET_OS_WATCH
@interface PWNotificationCenterDelegateProxy : NSObject <UNUserNotificationCenterDelegate>

#elif TARGET_OS_OSX
@interface PWNotificationCenterDelegateProxy : NSObject <NSUserNotificationCenterDelegate>
#endif
/**
Returns UNUserNotificationCenterDelegate that handles foreground push notifications on iOS10
*/
Expand All @@ -466,8 +461,9 @@ Unregisters from push notifications.
/**
Adds extra UNUserNotificationCenterDelegate that handles foreground push notifications on iOS10.
*/
#if TARGET_OS_IOS || TARGET_OS_WATCH
- (void)addNotificationCenterDelegate:(id<UNUserNotificationCenterDelegate>)delegate;

#endif
@end


Expand Down
Binary file modified Framework/Pushwoosh.framework/Versions/A/Pushwoosh
Binary file not shown.
Binary file not shown.

0 comments on commit 04424f6

Please sign in to comment.