pushwoosh-cordova-plugin 8.3.7 → 8.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +3 -3
  2. package/README_PGB.md +1 -1
  3. package/build-extras-pushwoosh.gradle +8 -0
  4. package/package.json +1 -1
  5. package/plugin.xml +20 -23
  6. package/src/ios/Pushwoosh.framework/Modules/module.modulemap +0 -6
  7. package/src/ios/Pushwoosh.framework/Versions/A/Headers/PWAppDelegate.h +0 -20
  8. package/src/ios/Pushwoosh.framework/Versions/A/Headers/PWGDPRManager.h +0 -46
  9. package/src/ios/Pushwoosh.framework/Versions/A/Headers/PWInAppManager.h +0 -174
  10. package/src/ios/Pushwoosh.framework/Versions/A/Headers/PWInbox.h +0 -147
  11. package/src/ios/Pushwoosh.framework/Versions/A/Headers/PWInlineInAppView.h +0 -26
  12. package/src/ios/Pushwoosh.framework/Versions/A/Headers/PWLog.h +0 -23
  13. package/src/ios/Pushwoosh.framework/Versions/A/Headers/PWMessaging.h +0 -20
  14. package/src/ios/Pushwoosh.framework/Versions/A/Headers/PWNotificationExtensionManager.h +0 -46
  15. package/src/ios/Pushwoosh.framework/Versions/A/Headers/PWRichMediaManager.h +0 -118
  16. package/src/ios/Pushwoosh.framework/Versions/A/Headers/PWRichMediaStyle.h +0 -122
  17. package/src/ios/Pushwoosh.framework/Versions/A/Headers/PushNotificationManager.h +0 -574
  18. package/src/ios/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h +0 -530
  19. package/src/ios/Pushwoosh.framework/Versions/A/libPushwoosh.a +0 -0
  20. package/src/ios/PushwooshInboxBundle.bundle/Info.plist +0 -0
  21. package/src/ios/PushwooshInboxBundle.bundle/PWIInboxAttachmentViewController.nib +0 -0
  22. package/src/ios/PushwooshInboxBundle.bundle/PWIInboxMessageViewCell.nib +0 -0
  23. package/src/ios/PushwooshInboxBundle.bundle/PWIInboxViewController.nib +0 -0
  24. package/src/ios/PushwooshInboxBundle.bundle/errorMessage@2x.png +0 -0
  25. package/src/ios/PushwooshInboxBundle.bundle/inbox_icon.png +0 -0
  26. package/src/ios/PushwooshInboxBundle.bundle/noMessage@2x.png +0 -0
  27. package/src/ios/PushwooshInboxBundle.bundle/unread.png +0 -0
  28. package/src/ios/PushwooshInboxUI.framework/Modules/module.modulemap +0 -6
  29. package/src/ios/PushwooshInboxUI.framework/Versions/A/Headers/PWIInboxStyle.h +0 -122
  30. package/src/ios/PushwooshInboxUI.framework/Versions/A/Headers/PWIInboxUI.h +0 -39
  31. package/src/ios/PushwooshInboxUI.framework/Versions/A/Headers/PushwooshInboxUI.h +0 -19
  32. package/src/ios/PushwooshInboxUI.framework/Versions/A/libPushwooshInboxUI.a +0 -0
@@ -1,118 +0,0 @@
1
- //
2
- // PWRichMediaManager.h
3
- // Pushwoosh SDK
4
- // (c) Pushwoosh 2018
5
- //
6
-
7
- #import <Foundation/Foundation.h>
8
-
9
- #if TARGET_OS_IOS
10
-
11
- #import "PWRichMediaStyle.h"
12
-
13
- #endif
14
-
15
- typedef NS_ENUM(NSUInteger, PWRichMediaSource) {
16
- /**
17
- RichMedia is presented from push notification.
18
- */
19
- PWRichMediaSourcePush,
20
-
21
- /**
22
- RichMedia is presented from In-App.
23
- */
24
- PWRichMediaSourceInApp
25
- };
26
-
27
-
28
- /*
29
- `PWRichMedia` class represents Rich Media page object.
30
- */
31
- @interface PWRichMedia: NSObject
32
-
33
- /**
34
- Rich Media presenter type.
35
- */
36
- @property (nonatomic, readonly) PWRichMediaSource source;
37
-
38
- /**
39
- Content of the Rich Media. For PWRichMediaSourceInApp it's equal to In-App code, for PWRichMediaSourcePush it's equal to Rich Media code.
40
- */
41
- @property (nonatomic, readonly) NSString *content;
42
-
43
- /**
44
- Payload of the associated push notification if source is equal to PWRichMediaSourcePush.
45
- */
46
- @property (nonatomic, readonly) NSDictionary *pushPayload;
47
-
48
- /**
49
- Checks if PWRichMediaSourceInApp is a required In-App. Always returns YES for PWRichMediaSourcePush.
50
- */
51
- @property (nonatomic, readonly, getter=isRequired) BOOL required;
52
-
53
- @end
54
-
55
-
56
- @class PWRichMediaManager;
57
-
58
- /**
59
- Interface for Rich Media presentation managing.
60
- */
61
- @protocol PWRichMediaPresentingDelegate <NSObject>
62
-
63
- @optional
64
-
65
- /**
66
- Checks the delegate whether the Rich Media should be displayed.
67
- */
68
- - (BOOL)richMediaManager:(PWRichMediaManager *)richMediaManager shouldPresentRichMedia:(PWRichMedia *)richMedia;
69
-
70
- /**
71
- Tells the delegate that Rich Media has been displayed.
72
- */
73
- - (void)richMediaManager:(PWRichMediaManager *)richMediaManager didPresentRichMedia:(PWRichMedia *)richMedia;
74
-
75
- /**
76
- Tells the delegate that Rich Media has been closed.
77
- */
78
- - (void)richMediaManager:(PWRichMediaManager *)richMediaManager didCloseRichMedia:(PWRichMedia *)richMedia;
79
-
80
- /**
81
- Tells the delegate that error during Rich Media presenting has been occured.
82
- */
83
- - (void)richMediaManager:(PWRichMediaManager *)richMediaManager presentingDidFailForRichMedia:(PWRichMedia *)richMedia withError:(NSError *)error;
84
-
85
- @end
86
-
87
-
88
- /*
89
- `PWRichMediaManager` class offers access to the singleton-instance of the manager responsible for Rich Media presentation.
90
- */
91
- @interface PWRichMediaManager : NSObject
92
-
93
- #if TARGET_OS_IPHONE
94
-
95
- /**
96
- Style for Rich Media presenting.
97
- */
98
- @property (nonatomic) PWRichMediaStyle *richMediaStyle;
99
-
100
- #endif
101
-
102
- /**
103
- Delegate for Rich Media presentation managing.
104
- */
105
- @property (nonatomic) id<PWRichMediaPresentingDelegate> delegate;
106
-
107
- /**
108
- A singleton object that represents the rich media manager.
109
- */
110
- + (instancetype)sharedManager;
111
-
112
- /**
113
- Presents the rich media object.
114
- */
115
- - (void)presentRichMedia:(PWRichMedia *)richMedia;
116
-
117
- @end
118
-
@@ -1,122 +0,0 @@
1
- //
2
- // PWRichMediaStyle.h
3
- // Pushwoosh SDK
4
- // (c) Pushwoosh 2018
5
- //
6
-
7
- #import <Foundation/Foundation.h>
8
-
9
- #if TARGET_OS_IOS || TARGET_OS_WATCH
10
- #import <UIKit/UIKit.h>
11
- #endif
12
-
13
- FOUNDATION_EXPORT NSTimeInterval const PWRichMediaStyleDefaultAnimationDuration;
14
-
15
- /**
16
- Interface for Rich Media Custom Animation.
17
- */
18
- @protocol PWRichMediaStyleAnimationDelegate <NSObject>
19
-
20
- /**
21
- This method can be used to animate Rich Media presenting view.
22
- */
23
- #if TARGET_OS_IOS || TARGET_OS_WATCH
24
- - (void)runPresentingAnimationWithContentView:(UIView *)contentView parentView:(UIView *)parentView completion:(dispatch_block_t)completion;
25
-
26
- /**
27
- This method can be used to animate Rich Media dismissing view.
28
- */
29
- - (void)runDismissingAnimationWithContentView:(UIView *)contentView parentView:(UIView *)parentView completion:(dispatch_block_t)completion;
30
- #endif
31
- @end
32
-
33
- /**
34
- Built-in Rich Media presenting animations.
35
-
36
- Example:
37
- @code
38
- style.animationDelegate = [PWRichMediaStyleSlideLeftAnimation new];
39
- @endcode
40
- */
41
- @interface PWRichMediaStyleSlideLeftAnimation : NSObject <PWRichMediaStyleAnimationDelegate>
42
- @end
43
-
44
- @interface PWRichMediaStyleSlideRightAnimation : NSObject <PWRichMediaStyleAnimationDelegate>
45
- @end
46
-
47
- @interface PWRichMediaStyleSlideTopAnimation : NSObject <PWRichMediaStyleAnimationDelegate>
48
- @end
49
-
50
- @interface PWRichMediaStyleSlideBottomAnimation : NSObject <PWRichMediaStyleAnimationDelegate>
51
- @end
52
-
53
- @interface PWRichMediaStyleCrossFadeAnimation : NSObject <PWRichMediaStyleAnimationDelegate>
54
- @end
55
-
56
- /**
57
- Custom Rich Media loading view. It is shown while Rich Media is loading.
58
- */
59
- #if TARGET_OS_IOS || TARGET_OS_WATCH
60
- @interface PWLoadingView : UIView
61
-
62
- @property (nonatomic) IBOutlet UIActivityIndicatorView *activityIndicatorView;
63
- @property (nonatomic) IBOutlet UIButton *cancelLoadingButton;
64
-
65
- @end
66
-
67
- typedef PWLoadingView *(^PWRichMediaLoadingViewBlock)(void);
68
- #endif
69
- /**
70
- 'PWRichMediaStyle' class allows customizing the appearance of Rich Media pages.
71
- */
72
- @interface PWRichMediaStyle : NSObject
73
-
74
- /**
75
- Background color of Rich Media pages.
76
- */
77
- #if TARGET_OS_IOS || TARGET_OS_WATCH
78
- @property (nonatomic) UIColor *backgroundColor;
79
- #elif TARGET_OS_OSX
80
- @property (nonatomic) NSColor *backgroundColor;
81
- #endif
82
-
83
- /**
84
- Delegate to manage Rich Media presenting animation.
85
- */
86
- @property (nonatomic) id<PWRichMediaStyleAnimationDelegate> animationDelegate;
87
-
88
- /**
89
- Block to customize Rich Media loading view.
90
-
91
- Example:
92
- @code
93
- style.loadingViewBlock = ^PWLoadingView *{
94
- return [[[NSBundle mainBundle] loadNibNamed:@"LoadingView" owner:self options:nil] lastObject];
95
- };
96
- @endcode
97
- */
98
- #if TARGET_OS_IOS
99
- @property (nonatomic) PWRichMediaLoadingViewBlock loadingViewBlock;
100
- #endif
101
- /**
102
- Delay of the close button presenting in seconds.
103
- */
104
- @property (nonatomic) NSTimeInterval closeButtonPresentingDelay;
105
-
106
- /**
107
- Should status bar to be hidden or not while Rich Media page is presented. Default is 'YES'.
108
- */
109
- @property (nonatomic) BOOL shouldHideStatusBar;
110
-
111
- /**
112
- A Boolean value that determines whether HTML5 videos play inline or use the native full-screen controller.
113
- */
114
- @property (nonatomic) NSNumber *allowsInlineMediaPlayback;
115
-
116
- /**
117
- A Boolean value that determines whether HTML5 videos can play automatically or require the user to start playing them.
118
- */
119
- @property (nonatomic) NSNumber *mediaPlaybackRequiresUserAction;
120
-
121
- @end
122
-