On Tue, Dec 9, 2014 at 3:11 PM, Thomas Schweitzer <thomers@me.com> wrote:Follow up question - could the “INVALID_TOKEN” problem also result from a production token from another app?yes, that's the case too. It's an invalid token for the underlying certificate from apple.
The reason I’m asking is that I deleted all the development tokens from the DB, but still couldnt receive a push message on a device.But I know that I’m sending push registrations to the production variant not just from the “Free” version of my app (using the correct “Free” variant ID and key), but also from the “Paid” version (incorrectly using the “Free" variant ID and key). Since I do not know the tokens sent from the “Paid” version, I cannot disable them.I understand that you do not want to delete them. However, the 'didRegisterForRemoteNotificationsWithDeviceToken' method is always invoked when the application is launched - you will get back all your tokens, eventually ;-)
Could this be the reason why I’m not receiving pushes?Since I’m using the OpenShift cartridge - what’s the best way how to proceed? Can I change the “withNoErrorDetection” of ApnsService somehow?Do you know what exact version of the UPS you are running on Openshift? I am asking, because you could build the UPS yourself and simply replace the WAR file.But we before we do that, let's make sure we are all on the same page