android - GCM API Key confusion -


i want use gcm project , create project @ google console , wanted add api key. have different options:

  1. server key
  2. browser key
  3. android key
  4. ios key

what want sending gcm messages apache server using php android devices. kind of key need now? server key? browser key or android key?

i know need @ android client side sender_id id of project. need api key serverside.

you need server key. using can send push notifications android devices using curl in php.


Comments