Description
Using the latest plugin version 3.0.6, I have the iOS interactive push plugin wired up. When it comes in the user selects an action, but nothing happens (testing from the shade when the device is logged in).
This is the output from the log when the notification is received:
: Device Paused Event
: Device Paused Event - In GeoService
: Stopping Geolocation
: didReceiveNotification
: Notification received
: Msg: {"sound":"beep.caf","content-available":"1","alert":"Call Test iOS9 Push phonegap-build#104","category":"CALLS","badge":"1","eventCode":"C40946","identifier":"RESP",foreground:"0"}
Then after the app is activated the log reflects processing of the action:
: Push Notification: On Notificaiton Recieved Event
: {"sound":"beep.caf","content-available":"1","alert":"Call Test iOS9 Push phonegap-build#104","category":"CALLS","badge":"1","eventCode":"C40946","identifier":"RESP","foreground":"0"}
: Processing iOS Responding Push Action
: CallId 40946
: Device Resumed Event
: Setting local data
During testing the app was in memory and it was also tested with the app not in memory (coldstart), this is the log output:
: assertion failed: 12H143: libxpc.dylib + 71768 [C9F3C08A-8A3B-3849-A905-D24911240853]: 0x7d
: Apache Cordova native platform version 3.8.0 is starting.
: Multi-tasking -> Device: YES, App: YES
: Unlimited access to network resources
: [CDVTimer][statusbar] 25.731027ms
: [CDVTimer][file] 2.654016ms
: [CDVTimer][statusbar] 0.010014ms
: [CDVTimer][uniquedeviceid] 0.064969ms
: [CDVTimer][threedeetouch] 0.048041ms
: [CDVTimer][splashscreen] 9.157002ms
: [CDVTimer][TotalPluginStartup] 38.909018ms
: Notification received
In the coldstart scenario the notification is just gone, when the app is activated by the user the JavaScript callback is not called.