Push Notifications are sent in Debug but not in Production!

I am trying to send a push notification to android devices through the server code. I works fine when in debug, however when in production it doesn’t work at all. What can I do to solve this issue?

Fix Found:
The problem: I was using an outdated backendless jar, thus it was working when in debug mode but failing in production. In the logs it was showing a run time error: java.lang.NoSuchMethodError.

The Fix:
I downloaded the latest Jar file (from generated server code) and updated it in my computer, and as expected, I had a compile error.
After fixing the error (which was re-naming the import) I was able to compile and deploy the code which then worked normally.

Note: please notify us in the future when the server backend code is being updated so we can update our code as well, and avoid such incidents. Thanks.