Summary

We're having problems with IOS notifications taking some considerable time to come through, and when they come through the phone thinks they arrived up to 25 minutes before we see them.

Background

We've just setup a second PushWoosh app.

This second app has an identical backend feeding it as our first PushWoosh app which has been running for over a year. Indeed it is the same backend as our first app, not just identical :) We push similar information to two different apps from the same backend server. We just change the credentials over.

We are seeing notifications arrive on our first app as we expect, but notifications sent in exactly the same way for the second app (with different PushWoosh credentials for the different apps) can take some time to appear.

We've checked out logs on our server and it looks OK, we see the same OK responses from PushWoosh.

We have checked the PushWoosh Push History and it doesn't really say a great deal, we can see at a high level that we have sent X number of pushes and it says they are OK. However they don't necessarily appear on our phones or they suddenly turn up 30 minutes after they were sent. We can see a few pushes that say invalid token but no further details. It would be great to find out what these are.

Due to the nature of the data, we can go for hours without any pushes being sent which makes debugging difficult. If we send things from a test server to IOS apps that we have built and installed locally, it seems to work OK.

Technical Details

We are using the Cordova PushWoosh plugin 6.4.1 We are using IOS 8,9 and 10 for testing. The client code for receiving the notifications is identical across our two apps. Its been running for nearly a year so we think it should be fine.

We're going to setup a pre-production server to try this out so we have live data but in a test environment as we currently use test data in a test environment. We are wondering if Apple certificates are anything to do with this. They do seem to cause problems. This will be tomorrows activity, but we'd be interested if there are known problems sending out this evening around 1900GMT.

Also suggestions for better debugging welcomed as we're struggling to find any obvious errors.

Thanks Rob

asked 09 Feb, 20:00
rwillett's gravatar image

rwillett
2015

I think we are getting to the bottom of this issue.

We think it is to do with the auto generation of certificates and sandbox/production.

It is not clear to us how the Pushwoosh auto configuration of certificates is managed and do you need to do two auto configurations, one for sandbox and another separate one for production. We think you need to do both but whats confusing us is the main panel, it seems to indicate that it only does one environment either sandbox or production.

We managed to find the problem by creating a local build from Xcode, pushing it out to an iPhone and then sending a test pushwoosh down. Going to the Push History we could see an error, invalid certificate, which was progress as we had isolated the problem.

We then reconfigured using the auto configure system in PushWoosh to add in the Sandbox environment. We could then send a test notification out.

We then tried to send out a notification to everybody, those in production and those in testing and we got failures, invalid certificates.

It appears to use that auto configure ONLY works for a single environment, either SandBox or Production and that manual configuration works for both. We configured our last app manually and have had no problems. This time we used auto configure and it has been trouble.

We'd love to know if this is correct or not.

Anybody from Pushwoosh reading this?

Rob

permanent link
answered 10 Feb, 16:21
rwillett's gravatar image

rwillett
2015

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:

×327
×300
×181

question asked: 09 Feb, 20:00

question was seen: 223 times

last updated: 10 Feb, 16:21