Skip to content

Commit

Permalink
Pushwoosh Cordova Plugin 8.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins CI committed May 16, 2022
1 parent 020f4df commit 67b6fe7
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 22 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ Cross-Platform push notifications by Pushwoosh for Cordova / PhoneGap
Using npm (requires cordova 7.0+):

```
cordova plugin add pushwoosh-cordova-plugin@8.3.3
cordova plugin add pushwoosh-cordova-plugin@8.3.4
```

Using git:

```
cordova plugin add https://github.com/Pushwoosh/pushwoosh-phonegap-plugin.git#8.3.3
cordova plugin add https://github.com/Pushwoosh/pushwoosh-phonegap-plugin.git#8.3.4
```

#### Phonegap

Using npm (requires phonegap 7.1+):

```
cordova plugin add pushwoosh-cordova-plugin@8.3.3
cordova plugin add pushwoosh-cordova-plugin@8.3.4
```

### Guide
Expand Down
2 changes: 1 addition & 1 deletion README_PGB.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Cross-Platform push notifications by Pushwoosh for PhoneGap
Using npm (requires cordova 5.0+):

```
cordova plugin add pushwoosh-pgb-plugin@8.3.3
cordova plugin add pushwoosh-pgb-plugin@8.3.4
```

### Guide
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pushwoosh-cordova-plugin",
"version": "8.3.3",
"version": "8.3.4",
"description": "\n This plugin allows you to send and receive push notifications. Powered by Pushwoosh (www.pushwoosh.com).\n ",
"main":"www/PushNotification.js",
"typings":"types/index.d.ts",
Expand Down
16 changes: 8 additions & 8 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="pushwoosh-cordova-plugin" version="8.3.3">
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="pushwoosh-cordova-plugin" version="8.3.4">

<name>Pushwoosh</name>

Expand Down Expand Up @@ -77,13 +77,13 @@
<framework src="com.android.support.constraint:constraint-layout:1.0.2" />
<framework src="com.github.bumptech.glide:glide:4.7.1" />
<framework src="org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.60" />
<framework src="com.pushwoosh:pushwoosh:6.4.4"/>
<framework src="com.pushwoosh:pushwoosh-amazon:6.4.4"/>
<framework src="com.pushwoosh:pushwoosh-firebase:6.4.4"/>
<framework src="com.pushwoosh:pushwoosh-badge:6.4.4"/>
<framework src="com.pushwoosh:pushwoosh-inbox:6.4.4"/>
<framework src="com.pushwoosh:pushwoosh-inbox-ui:6.4.4"/>
<framework src="com.pushwoosh:pushwoosh-huawei:6.4.4"/>
<framework src="com.pushwoosh:pushwoosh:6.5.2"/>
<framework src="com.pushwoosh:pushwoosh-amazon:6.5.2"/>
<framework src="com.pushwoosh:pushwoosh-firebase:6.5.2"/>
<framework src="com.pushwoosh:pushwoosh-badge:6.5.2"/>
<framework src="com.pushwoosh:pushwoosh-inbox:6.5.2"/>
<framework src="com.pushwoosh:pushwoosh-inbox-ui:6.5.2"/>
<framework src="com.pushwoosh:pushwoosh-huawei:6.5.2"/>
</platform>

<!-- ios -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)handleNotificationRequest:(UNNotificationRequest *)request contentHandler:(void (^)(UNNotificationContent *))contentHandler;

/**
Example:
@code
- (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent * _Nonnull))contentHandler {
self.contentHandler = contentHandler;
self.bestAttemptContent = [request.content mutableCopy];
[[PWNotificationExtensionManager sharedManager] handleNotificationRequest:request withAppGroups:@"group.com.example_domain.example_app_name."];
}
@endcode
*/
- (void)handleNotificationRequest:(UNNotificationRequest *)request withAppGroups:(NSString * _Nullable)appGroupsName;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -385,14 +385,6 @@ typedef void (^PushwooshErrorHandler)(NSError *error);
*/
- (void)sendAppOpen;

/**
Sends current badge value to server. Called internally by SDK Runtime when `UIApplication` `setApplicationBadgeNumber:` is set. This function is used for "auto-incremeting" badges to work.
This way Pushwoosh server can know what current badge value is set for the application.
@param badge Current badge value.
*/
- (void)sendBadges:(NSInteger)badge __API_AVAILABLE(macos(10.10), ios(8.0));

+ (NSString *)pushwooshVersion;

#if TARGET_OS_IOS
Expand Down
7 changes: 6 additions & 1 deletion src/ios/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#endif

#define PUSHWOOSH_VERSION @"6.3.5"
#define PUSHWOOSH_VERSION @"6.4.2"


@class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy;
Expand Down Expand Up @@ -81,6 +81,11 @@ Tells the delegate that the user has pressed on the push notification banner.
*/
@property (nonatomic, readonly) NSUInteger badge;

/**
Extension badge number of the push message.
*/
@property (nonatomic, readonly) NSUInteger badgeExtension;

/**
Remote URL or deeplink from the push message.
*/
Expand Down
Binary file modified src/ios/Pushwoosh.framework/Versions/A/libPushwoosh.a
Binary file not shown.

0 comments on commit 67b6fe7

Please sign in to comment.