Cordova-plugin-firebase: Data callback?

Created on 28 Jun 2016  ·  5Comments  ·  Source: arnesson/cordova-plugin-firebase

Is there a way to get the data/message from the notification to the app via a callback?

The normal flow for notifications are:

  1. App In Background/ App Off

    • Show Notification in toolbar

    • When notification is clicked, receive callback with data.

  2. App in Foreground:

    • Receive callback with data.

Most helpful comment

onNotificationOpen is implemented on android (its missing in the readme though)

All 5 comments

+1 ?

onNotificationOpen is implemented on android (its missing in the readme though)

thanks, just need it for iOS to close this ticket :p

see #36

made a first pass on this for ios. you can try it by installing the plugin from github master

integrated in 0.1.11

Was this page helpful?
0 / 5 - 0 ratings