mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
docs(): fix method name in example (#1585)
data.wasPressed should be change as data.wasTapped
This commit is contained in:
parent
08bf57f488
commit
2e83ade978
@ -38,7 +38,7 @@ export interface NotificationData {
|
|||||||
* })
|
* })
|
||||||
*
|
*
|
||||||
* fcm.onNotification().subscribe(data=>{
|
* fcm.onNotification().subscribe(data=>{
|
||||||
* if(data.wasPressed){
|
* if(data.wasTapped){
|
||||||
* console.log("Received in background");
|
* console.log("Received in background");
|
||||||
* } else {
|
* } else {
|
||||||
* console.log("Received in foreground");
|
* console.log("Received in foreground");
|
||||||
|
Loading…
Reference in New Issue
Block a user