docs(): fix method name in example (#1585)

data.wasPressed
should be change as data.wasTapped
This commit is contained in:
seshachalamyv 2017-05-19 16:06:04 +05:30 committed by Ibby Hadeed
parent 08bf57f488
commit 2e83ade978

View File

@ -38,7 +38,7 @@ export interface NotificationData {
* })
*
* fcm.onNotification().subscribe(data=>{
* if(data.wasPressed){
* if(data.wasTapped){
* console.log("Received in background");
* } else {
* console.log("Received in foreground");