Popularity
1.8
Growing
Activity
0.0
Stable
1
3
4

Monthly Downloads: 2
Programming language: Elixir
License: Apache License 2.0
Tags: Miscellaneous    

exfcm alternatives and similar packages

Based on the "Miscellaneous" category.
Alternatively, view exfcm alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of exfcm or a related project?

Add another 'Miscellaneous' Package

README

ExFCM

Is a simple wrapper around Firebase Cloud Messaging that uses HTTPoison.

Needed configuration


config :exfcm,
  server_key: "yourKeyFromConsole"

To send message to topic

{:ok , result } = Message.put_data(%{"sample" => "true"})
    |> Message.put_notification("Github","is_awesome")
    |> Message.target_topic("aTopic")
    |> Message.send

To send message to device or device group

{:ok , result } = Message.put_data(%{"sample" => "true"})
    |> Message.put_notification("Github","is_awesome")
    |> Message.target_device("aTopic")
    |> Message.send

Installation

If available in Hex, the package can be installed as:

  1. Add exfcm to your list of dependencies in mix.exs:

    def deps do
      [{:exfcm, "~> 0.1.0"}]
    end
    
  2. Ensure exfcm is started before your application:

    def application do
      [applications: [:exfcm]]
    end
    

    TODO

  • Add custom filters
  • Add suport for additional params on notification