Hello,

I'm currently setting up silent push in an cordova & ionic 3 app for fetching location in background on demand.

When a push is received the following is logge in xCode, but the console.logs and a firebase api method in the 'push-notification' event is not fired in the background when a cordova client receives a silent push notification.

config: https://imgur.com/a/9E8mg

Logs (xcode):

2017-12-06 12:26:31.421061+0100 Flare BETA[4714:413098] [PW] [D] -[PushNotification] Notification opened: { foreground = 0; ios = { aps = { "content-available" = 1; }; p = ":A"; }; onStart = 0; } <cencored>[PW] [I] -[PWRequestManager] x | Pushwoosh request: | Url: https://<cencored>.api.pushwoosh.com/json/1.3/pushStat

| Payload: {"request":{"device_type":1,"hash":":A","application":"<cencored>","userId":"<cencored","v":"5.4.0","hwid":"<cencored>"}}

| Status: "200 no error"

| Response: {"status_code":200,"status_message":"OK","response":null} x

<cencored> [PW] [D] -[PWDataManagerCommon] sendStats completed

asked 06 Dec '17, 11:35
huahax's gravatar image

huahax
12

edited 06 Dec '17, 11:49

Hello,

As far as I know, you have already created a ticket in our support system.

Regards, Ivan

permanent link
answered 07 Dec '17, 08:51
iskoritzky's gravatar image

iskoritzky
3778

True, I can probably share the answer here after i talk to support.

permanent link
answered 07 Dec '17, 11:52
huahax's gravatar image

huahax
12

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×188
×140
×91
×2

question asked: 06 Dec '17, 11:35

question was seen: 81 times

last updated: 07 Dec '17, 11:52