Before any one marks this as a duplicate, I have been through every related documents and questions in Stack Overflow but I could not get my exact solution for my problem.
GCM for release apk works with other devices but does not work in Sony Xperia Z5 with Android version 7. Every other devices works fine.
I have tried with OnePlus 3 with Android version 7 and it works. The problem exists only with Sony Xperia Z5 (Nougat).
In my caseIi have checked all GCM key and tried with SHA1 fingerprint as recommended by few answers in Stack Overflow.
I have tried adding few lines in ProGaurd file as recommended in GCM registration works for debug APK but not release APK.
But nothing is working for me.