Skip to content
This repository was archived by the owner on Sep 15, 2021. It is now read-only.

Commit dda9e80

Browse files
committed
fix(plugin:pushNotification): standardise $broadcast naming
1 parent 3566b7b commit dda9e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/push.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ angular.module('ngCordova.plugins.push', [])
77
return {
88
onNotification: function (notification) {
99
$rootScope.$apply(function () {
10-
$rootScope.$broadcast('pushNotificationReceived', notification);
10+
$rootScope.$broadcast('$cordovaPush:notificationReceived', notification);
1111
});
1212
},
1313

0 commit comments

Comments
 (0)