Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Commit

Permalink
Readme adjust to reflect the new argument in the onMessageReceived in…
Browse files Browse the repository at this point in the history
… android.
  • Loading branch information
pzlatanov committed Jan 21, 2016
1 parent f999648 commit abd0cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ The code for the Push Plugin for NativeScript.
var settings = {
// Android settings
senderID: '<ENTER_YOUR_PROJECT_NUMBER>', // Android: Required setting with the sender/project number
notificationCallbackAndroid: function(message) { // Android: Callback to invoke when a new push is received.
notificationCallbackAndroid: function(message, pushNotificationObject) { // Android: Callback to invoke when a new push is received.
alert(JSON.stringify(message));
},

Expand Down

0 comments on commit abd0cae

Please sign in to comment.