Skip to content

Commit

Permalink
Merge pull request #16 from craigomatic/master
Browse files Browse the repository at this point in the history
Add missing event property to regInfo, switch to cordova/exec/proxy for the require statement
  • Loading branch information
sgrebnov committed Oct 15, 2015
2 parents 243df2f + 97baed0 commit c48be16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/windows8/NotificationHubProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ module.exports = {
regInfo.registrationId = result;
regInfo.channelUri = notificationChannel.uri;
regInfo.notificationHubPath = notificationHubPath;
regInfo.event = 'registerApplication';

success(regInfo);
}, fail);
Expand All @@ -83,4 +84,4 @@ module.exports = {

}

require("cordova/windows8/commandProxy").add("NotificationHub", module.exports);
require("cordova/exec/proxy").add("NotificationHub", module.exports);

0 comments on commit c48be16

Please sign in to comment.