Skip to content

Commit 0c1efad

Browse files
committed
Fixes #77 Fix notification:clicked callback not executed on some cases
1 parent 298461d commit 0c1efad

15 files changed

+679
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pushbots-cordova-plugin",
3-
"version": "1.5.14",
3+
"version": "1.5.15",
44
"description": "PushBots plugin for phonegap/Cordova.",
55
"cordova": {
66
"id": "pushbots-cordova-plugin",

plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
id="pushbots-cordova-plugin"
5-
version="1.5.14">
5+
version="1.5.15">
66

77
<name>Pushbots</name>
88

1.25 KB
Loading
2.37 KB
Loading
3.49 KB
Loading

src/ios/libs/Pushbots.framework/Headers/Pushbots.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/*!
1313
@class
14-
PushBots SDK v2.1.2
14+
PushBots SDK v2.3.1
1515
@abstract
1616
The primary interface for integrating PushBots with your app.
1717
@@ -43,6 +43,11 @@ typedef NS_ENUM(NSUInteger, PBLogLevel) {
4343

4444
typedef void (^PushBotsReceivedNotification)(NSDictionary * result);
4545
typedef void (^PushBotsOpenedNotification)(NSDictionary * result);
46+
typedef void (^PushBotsRegistered)(NSString * userid);
47+
48+
+ (void) onRegistered:(PushBotsRegistered)rCallback;
49+
50+
4651
/*!
4752
@method
4853
@@ -138,6 +143,8 @@ Show prompt to register with remote notifications.
138143
@param callback callback block to get device data as NSDictionary
139144
*/
140145
+ (void) getDevice:(void (^)(NSDictionary *device, NSError *error))callback;
146+
+ (void) checkInApp:(void (^)(NSArray *inappmessages, NSError *error))callback;
147+
+(void) inAppNotificationOpenedWithId:(NSString *) inapp_id;
141148

142149
/*!
143150
@method
@@ -264,6 +271,9 @@ This method will toggle debug mode on the device, visit sandbox section in dashb
264271
265272
*/
266273
+ (void) toggleNotifications:(BOOL)subscribed;
274+
+ (BOOL)showTakeoverNotificationWithObject:(NSDictionary *) notification;
275+
+ (void)showTakeoverNotificationWith:(NSDictionary *) notification;
276+
+ (BOOL) validateInAppMessage:(NSDictionary *) message;
267277

268278
+ (void) trackPushNotificationOpenedWithLaunchOptions:(NSDictionary *) launchOptions;
269279
+ (void) trackPushNotificationOpenedWithPayload:(NSDictionary *) payload;
2.34 MB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
framework module Pushbots {
2+
umbrella header "Pushbots.h"
3+
export *
4+
module * { export * }
5+
}
5.37 MB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
A

0 commit comments

Comments
 (0)