All Projects → joxad → android-easy-gcm

joxad / android-easy-gcm

Licence: other
Use this library to add GCM to your project, only in a few minutes !

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to android-easy-gcm

andpush
Android Push Notification in Ruby: The fastest client for FCM (Firebase Cloud Messaging)
Stars: ✭ 83 (+66%)
Mutual labels:  gcm, push
Applozic Android Sdk
Android Real Time Chat & Messaging SDK
Stars: ✭ 611 (+1122%)
Mutual labels:  gradle, gcm
MongoosePush
MongoosePush is a simple Elixir RESTful service allowing to send push notification via FCM and/or APNS.
Stars: ✭ 101 (+102%)
Mutual labels:  gcm, push
ejabberd mod gcm
Google Cloud Messaging API for Ejabberd (PUSH Messages)
Stars: ✭ 27 (-46%)
Mutual labels:  gcm, push
Notificationpusher
Standalone PHP library for easy devices notifications push.
Stars: ✭ 1,143 (+2186%)
Mutual labels:  gcm, push
epns
📱 Erlang Push Notifications. APNS(Apple Push Notifications) and FCM(Firebase Cloud Messaging) Push Notifications
Stars: ✭ 13 (-74%)
Mutual labels:  gcm, push
hms-push-serverdemo-csharp
C# sample code encapsulates APIs of the HUAWEI Push Kit server. It provides many sample programs for your reference or usage.
Stars: ✭ 25 (-50%)
Mutual labels:  push
push-jobs-cookbook
Development repository for Chef Cookbook push-jobs
Stars: ✭ 21 (-58%)
Mutual labels:  push
PushAll
PushAll让推送集成更简洁、快速
Stars: ✭ 28 (-44%)
Mutual labels:  push
pushex
Push notifications for Elixir
Stars: ✭ 96 (+92%)
Mutual labels:  gcm
push
基于springboot & netty & kafka 实现的消息推送服务
Stars: ✭ 32 (-36%)
Mutual labels:  push
spontit-api-python-wrapper
Send functional, flexible push notifications to iOS, Android, and desktop devices (without your own app or website).
Stars: ✭ 35 (-30%)
Mutual labels:  push
wiz-packet-map
Wizard101 tool that dynamically dumps packet data and decrypts packets to and from the server that use aes-gcm encryption
Stars: ✭ 18 (-64%)
Mutual labels:  gcm
StackFlowView
Enforce stack behaviour for custom UI flow.
Stars: ✭ 35 (-30%)
Mutual labels:  push
PUSHTestFCM
[FireMonkey] Push test project
Stars: ✭ 17 (-66%)
Mutual labels:  gcm
PushMeBaby
iOS Push Notification Debug App. You can use this app during iOS Push Notification (development or production) to push notifications on your device from your Mac.
Stars: ✭ 47 (-6%)
Mutual labels:  push
action-mercure
🚀 GitHub Action for Mercure.
Stars: ✭ 14 (-72%)
Mutual labels:  push
MultiGCM
Node.JS module to send GCM Push Notifications for both iOS & Android
Stars: ✭ 16 (-68%)
Mutual labels:  gcm
crypthash-net
CryptHash.NET is a .NET multi-target library to encrypt/decrypt/hash/encode/decode strings and files, with an optional .NET Core multiplatform console utility.
Stars: ✭ 33 (-34%)
Mutual labels:  gcm
git-cheatsheet
One stop guide to help solve all your doubts related to Git & GitHub.
Stars: ✭ 31 (-38%)
Mutual labels:  push

!!! DEPRECATED !!!

Google has now FirebaseGoogleMessaging. If I find the time i'll done the necessary to update the libs

EasyGcm

Use this library to add GCM to your project, only in a few minutes !

Version:

1.0.5

Installation

Top Level Gradle :

allprojects {
    repositories {
        maven {
            url "http://dl.bintray.com/joxad/maven"
        }
    }
}

Project's build.gradle

dependencies {
    compile 'com.github.joxad:android-easy-gcm:$currentVersion'
}

Utilisation

In whatever class with Context (better in your AppApplication class).

Create EasyGCM

    new EasyGcm.Builder().context(this).senderId(R.string.app_senderid).enableLog(true).build();

Get Token

EasyGcm.setTokenListener(new ITokenListener() {
    @Override
        public void onReceived(String token) {
    }
});
           

Notification of Push

EasyGcm.setPushListener(new IPushListener() {
    @Override
    public void onReceive(Push push) {
    }
});

Show an Android Notification

EasyNotification.show(1,EasyNotification.generate(null,"Title",R.drawable.common_ic_googleplayservices,"Message","SummaryText",true));

Test your push

This website is usefull to easyly test : http://apns-gcm.bryantan.info/

Just put your sender key from console developer , and your device token (visible in the logs).

ToDO

  • Add Rx support

#Contribution

Feel free to make pull request in order to make some evolutions on it.

#Licence

The MIT License (MIT) Copyright (c) 2016 Jocelyn David

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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].