Cannot resolve symbol 'GoogleCloudMessaging' GCM

前端 未结 6 1598
遇见更好的自我
遇见更好的自我 2020-12-03 03:09

I am trying to get GCM working in my app (to notify users when our hours change, or when we have any promos going on), but I keep getting the error Cannot

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-03 03:35

    You are probably using an old tutorial but GCMRegistrar is a deprecated API class.

    Please use the GoogleCloudMessaging API instead.

    Check this for complete tutorial push notification using gcm

提交回复
热议问题