From 2e83ade978262f72f79af881910c21eeeb3b39a8 Mon Sep 17 00:00:00 2001 From: seshachalamyv Date: Fri, 19 May 2017 16:06:04 +0530 Subject: [PATCH] docs(): fix method name in example (#1585) data.wasPressed should be change as data.wasTapped --- src/@ionic-native/plugins/fcm/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/fcm/index.ts b/src/@ionic-native/plugins/fcm/index.ts index 053e492ef..e6610d334 100644 --- a/src/@ionic-native/plugins/fcm/index.ts +++ b/src/@ionic-native/plugins/fcm/index.ts @@ -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");