danhper / pushex

Push notifications for Elixir
https://hexdocs.pm/pushex
MIT License
104 stars 7 forks source link

FCM Support planned? #8

Closed dbks closed 7 years ago

dbks commented 7 years ago

Hi,

are you planning to support fcm? The implmentation is very similar to gcm. I think the endpoint is the only difference right now.

danhper commented 7 years ago

Hi, If it is only an endpoint change, I think it should already be supported through configuration. Could you please give the following a try and let me know how it goes.

config :pushex,
  gcm: [
    endpoint: "fcm endpoint"
  ]
dbks commented 7 years ago

Ok, I did not realize that the option was configurable. I will try it out tonight.

dbks commented 7 years ago

works like a charm ;)