3

I am replacing my GCM code with FCM for Notification but I am not able to get notification when app is fully closed. In GCM WAKE_LOCK permission is used to app stay on. Anyone have idea how to stay on App in FCM.

musica
  • 1,373
  • 3
  • 15
  • 34
  • 1
    FCM works even after app closed,i faced same issue with me and this issue was from server side,they were sending me header value in push notification,after comment this header code it worked.. – pkgrover Jan 10 '17 at 07:27
  • Can you tell what type of header you got in response? @pkgrover – Krupa Rudani Jan 10 '17 at 07:49

0 Answers0