pushwoosh-react-native-plugin 6.1.16 → 6.1.18

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pushwoosh-react-native-plugin",
3
- "version": "6.1.16",
3
+ "version": "6.1.18",
4
4
  "description": "This plugin allows you to send and receive push notifications. Powered by Pushwoosh (www.pushwoosh.com).",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = "pushwoosh-react-native-plugin"
3
- s.version = "6.1.16"
3
+ s.version = "6.1.18"
4
4
  s.summary = "React Native Pushwoosh Push Notifications module"
5
5
  s.requires_arc = true
6
6
  s.author = 'Pushwoosh'
@@ -37,11 +37,9 @@ android {
37
37
  }
38
38
 
39
39
  ext {
40
- pushwoosh = "6.6.2"
40
+ pushwoosh = "6.6.7"
41
41
  }
42
42
 
43
- evaluationDependsOn(':app')
44
-
45
43
  dependencies {
46
44
  implementation 'com.facebook.react:react-native:+'
47
45
  implementation "com.pushwoosh:pushwoosh:${pushwoosh}"
@@ -18,7 +18,7 @@
18
18
 
19
19
  #endif
20
20
 
21
- #define PUSHWOOSH_VERSION @"6.4.5"
21
+ #define PUSHWOOSH_VERSION @"6.4.8"
22
22
 
23
23
 
24
24
  @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy;
@@ -63,20 +63,42 @@ Tells the delegate that the user has pressed on the push notification banner.
63
63
 
64
64
  @protocol PWPurchaseDelegate <NSObject>
65
65
 
66
- //list of products
67
- -(void)onPWInAppPurchaseHelperProducts:(NSArray<SKProduct *>* _Nullable)products;
66
+ @optional
67
+ /**
68
+ Tells the delegate that the application received the array of products
69
+
70
+ @param products Array of SKProduct instances.
71
+ */
72
+ - (void)onPWInAppPurchaseHelperProducts:(NSArray<SKProduct *>* _Nullable)products;
68
73
 
69
- //payment complete
70
- -(void)onPWInAppPurchaseHelperPaymentComplete:(NSString* _Nullable)identifier;
74
+ /**
75
+ Tells the delegate that the transaction is in queue, user has been charged.
76
+
77
+ @param identifier Identifier agreed upon with the store.
78
+ */
79
+ - (void)onPWInAppPurchaseHelperPaymentComplete:(NSString* _Nullable)identifier;
71
80
 
72
- //payment failed
73
- -(void)onPWInAppPurchaseHelperPaymentFailedProductIdentifier:(NSString* _Nullable)identifier error:(NSError* _Nullable)error;
81
+ /**
82
+ Tells the delegate that the transaction was cancelled or failed before being added to the server queue.
83
+
84
+ @param identifier The unique server-provided identifier.
85
+ @param error The transaction failed.
86
+ */
87
+ - (void)onPWInAppPurchaseHelperPaymentFailedProductIdentifier:(NSString* _Nullable)identifier error:(NSError* _Nullable)error;
74
88
 
75
- //promoted In-App purchase
76
- -(void)onPWInAppPurchaseHelperCallPromotedPurchase:(NSString* _Nullable)identifier;
89
+ /**
90
+ Tells the delegate that a user initiates an IAP buy from the App Store
91
+
92
+ @param identifier Product identifier
93
+ */
94
+ - (void)onPWInAppPurchaseHelperCallPromotedPurchase:(NSString* _Nullable)identifier;
77
95
 
78
- //Tells the observer that an error occurred while restoring transactions.
79
- -(void)onPWInAppPurchaseHelperRestoreCompletedTransactionsFailed:(NSError * _Nullable)error;
96
+ /**
97
+ Tells the delegate that an error occurred while restoring transactions.
98
+
99
+ @param error Error transaction.
100
+ */
101
+ - (void)onPWInAppPurchaseHelperRestoreCompletedTransactionsFailed:(NSError * _Nullable)error;
80
102
 
81
103
  @end
82
104
 
Binary file