All Projects → mrDoctorWho → ejabberd_mod_gcm

mrDoctorWho / ejabberd_mod_gcm

Licence: MIT license
Google Cloud Messaging API for Ejabberd (PUSH Messages)

Programming Languages

erlang
1774 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to ejabberd mod gcm

ejabberd mod apns
An ejabberd module to send PUSH messages to iOS devices through APNS
Stars: ✭ 31 (+14.81%)
Mutual labels:  xmpp, push-notifications, jabber, ejabberd, push
Notificationpusher
Standalone PHP library for easy devices notifications push.
Stars: ✭ 1,143 (+4133.33%)
Mutual labels:  push-notifications, gcm, push
andpush
Android Push Notification in Ruby: The fastest client for FCM (Firebase Cloud Messaging)
Stars: ✭ 83 (+207.41%)
Mutual labels:  push-notifications, gcm, push
Ejabberd
Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
Stars: ✭ 5,077 (+18703.7%)
Mutual labels:  xmpp, jabber, ejabberd
Mongooseim
MongooseIM is a mobile messaging platform with focus on performance and scalability
Stars: ✭ 1,387 (+5037.04%)
Mutual labels:  xmpp, jabber
Beagle Im
XMPP client for macOS based on TigaseSwift XMPP library
Stars: ✭ 86 (+218.52%)
Mutual labels:  xmpp, jabber
Vk4xmpp
Jabber-транспорт для ВКонтакте (A jabber gateway to the VK social network)
Stars: ✭ 114 (+322.22%)
Mutual labels:  xmpp, jabber
Lurch4Adium
OMEMO Xtra for Adium (packaging the lurch and carbons libpurple plugins)
Stars: ✭ 38 (+40.74%)
Mutual labels:  xmpp, jabber
Rtb
Benchmarking tool to stress real-time protocols
Stars: ✭ 35 (+29.63%)
Mutual labels:  xmpp, jabber
Blabber.im
blabber.im basiert auf Conversations und ist ein Open Source XMPP/Jabber Messenger für Android 4.1+
Stars: ✭ 124 (+359.26%)
Mutual labels:  xmpp, jabber
stork
(M) Android XMPP Client
Stars: ✭ 51 (+88.89%)
Mutual labels:  xmpp, jabber
Kaidan
[Replaced by https://invent.kde.org/network/kaidan] Kaidan, a simple and user-friendly Jabber/XMPP client for every device and platform.
Stars: ✭ 67 (+148.15%)
Mutual labels:  xmpp, jabber
Hxmpp
Haxe XMPP library
Stars: ✭ 61 (+125.93%)
Mutual labels:  xmpp, jabber
Dino
Modern XMPP ("Jabber") Chat Client using GTK+/Vala
Stars: ✭ 1,637 (+5962.96%)
Mutual labels:  xmpp, jabber
Omemo Top
Tracking the Progress of OMEMO Integration in various clients
Stars: ✭ 47 (+74.07%)
Mutual labels:  xmpp, jabber
Tigase Server
Highly optimized, extremely modular and very flexible XMPP/Jabber server
Stars: ✭ 170 (+529.63%)
Mutual labels:  xmpp, jabber
Lurch
XEP-0384: OMEMO Encryption for libpurple.
Stars: ✭ 245 (+807.41%)
Mutual labels:  xmpp, jabber
Openfire
Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance.
Stars: ✭ 2,423 (+8874.07%)
Mutual labels:  xmpp, jabber
Converse.js
Web-based XMPP/Jabber chat client written in JavaScript
Stars: ✭ 2,745 (+10066.67%)
Mutual labels:  xmpp, jabber
hms-push-serverdemo-php
PHP sample code encapsulates APIs of the HUAWEI Push Kit server.It provides many sample PHP programs about quick access to HUAWEI Push Kit for your reference or usage.
Stars: ✭ 21 (-22.22%)
Mutual labels:  push-notifications, push

mod_gcm

Fork Me Now! Spread the project for great good!

mod_gcm is an ejabberd module to send offline messages as PUSH notifications for Android using Google Cloud Messaging API.

Consider using mod_push which implements XEP-0357 and works with many PUSH services.

This module has nothing to do with XEP-0357.

The main goal of this module is to send all offline messages to the registered (see Usage) clients via Google Cloud Messaging service.

Donate

Compilation:

Because of the dependencies such as xml.hrl, logger.hrl, etc it's recommended to compile the module with ejabberd itself: put it in the ejabberd/src directory and run the default compiler.

Configuration:

To let the module work fine with Google APIs, put the lines below in the ejabberd modules section:

mod_gcm:
  gcm_api_key: "Your Google APIs key"

Here you can create your own API key for Google Cloud Messaging (you need the server key). Bear in mind that the feature is highly limited for free users.

Usage (Client to server):

As you may know, Google Cloud Messaging won't work as you expect without the client part.

You won't find the instructions how to create your own Google Cloud Messaging client here. Although, this example should work fine.

You also need to send this stanza to the server over the XMPP connection, to let the server know your client key:

<iq to="YourServer" type="set">
  <register xmlns="https://android.googleapis.com/gcm" >
    <key>API_KEY</key>
  </register>
</iq>

The key is kept in mnesia database and completely belongs to the JabberID which it was sent from.

Compatibility:

The module works fine with Ejabberd 16 and maybe the further versions. For the older ones, checkout the ejabberd14 branch.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].