[Pushwoosh Plugin] ios device push token in invalid

Forge Component
(10)
Published on 18 Oct (4 weeks ago) by OutSystems R&D
10 votes
Published on 18 Oct (4 weeks ago) by OutSystems R&D

IOS devices registers on pushwoosh but when using the SendPushNotificationToDevice action whith the registered device id. We went throught the startup process of apple certificates for pushwoosh and also got it working with notifications on android. When looking on pushwoosh message history the notifications succeed on android but the on IOS users we get the error message "Device Push Token is invalid or cannot be found in the database. Please check that your build matches your gateway (Sandbox/Production)." What could be wrong? 



    

Hi Eric,

A lot could be going wrong here but just to be sure, are you using a development certificate for iOS? If so make sure you've added this to the extensibility configurations:

{
    "preferences": {
        "global": [{
            "name": "aps-environment",
            "value": "development"
        }]
    }
}

Regards,
Ruben