mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +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=>{
|
||||
* if(data.wasPressed){
|
||||
* if(data.wasTapped){
|
||||
* console.log("Received in background");
|
||||
* } else {
|
||||
* console.log("Received in foreground");
|
||||
|
Loading…
Reference in New Issue
Block a user