All Projects → iammannan → Easynotifylibproject

iammannan / Easynotifylibproject

Send firebase notifications to your users very easily: A new Android Lib

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Easynotifylibproject

andpush
Android Push Notification in Ruby: The fastest client for FCM (Firebase Cloud Messaging)
Stars: ✭ 83 (+167.74%)
Mutual labels:  notifications, push-notifications, fcm, push
React Native Onesignal
React Native Library for OneSignal Push Notifications Service
Stars: ✭ 1,270 (+3996.77%)
Mutual labels:  notifications, push-notifications, push
Push.js
The world's most versatile desktop notifications framework 🌎
Stars: ✭ 8,536 (+27435.48%)
Mutual labels:  notifications, push-notifications, push
Push Receiver
A library to subscribe to GCM/FCM and receive notifications within a node process.
Stars: ✭ 125 (+303.23%)
Mutual labels:  notifications, push-notifications, fcm
Onepush
消息推送用OnePush,就够了!
Stars: ✭ 1,401 (+4419.35%)
Mutual labels:  notifications, push-notifications, push
Notificationpusher
Standalone PHP library for easy devices notifications push.
Stars: ✭ 1,143 (+3587.1%)
Mutual labels:  notifications, push-notifications, push
Net Core Push Notifications
Lightweight .NET Core Push Notifications for Android and iOS
Stars: ✭ 105 (+238.71%)
Mutual labels:  notifications, push-notifications, fcm
Push Fcm Plugin
Official Firebase Cloud Messaging plugin for Push.js v1.0 🔥
Stars: ✭ 37 (+19.35%)
Mutual labels:  notifications, push, fcm
fcmpush
Firebase Cloud Messaging API wrapper for Ruby, suppot HTTP v1 API including access_token auto refresh feature.
Stars: ✭ 44 (+41.94%)
Mutual labels:  push-notifications, fcm, push
Socket.io Push
整合了小米,华为,友盟,谷歌,苹果推送的统一解决方案
Stars: ✭ 605 (+1851.61%)
Mutual labels:  notifications, push-notifications, push
mobile-messaging-sdk-ios
Mobile Messaging SDK for iOS
Stars: ✭ 45 (+45.16%)
Mutual labels:  notifications, push-notifications, push
Electron Push Receiver
A module to bring Web Push support to Electron allowing it to receive notifications from Firebase Cloud Messaging (FCM).
Stars: ✭ 158 (+409.68%)
Mutual labels:  notifications, push-notifications, fcm
spontit-api-python-wrapper
Send functional, flexible push notifications to iOS, Android, and desktop devices (without your own app or website).
Stars: ✭ 35 (+12.9%)
Mutual labels:  notifications, push-notifications, push
MongoosePush
MongoosePush is a simple Elixir RESTful service allowing to send push notification via FCM and/or APNS.
Stars: ✭ 101 (+225.81%)
Mutual labels:  notifications, fcm, push
Onesignal Website Sdk
OneSignal is a push notification service for web and mobile apps. This SDK makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com
Stars: ✭ 338 (+990.32%)
Mutual labels:  notifications, push-notifications
Apprise
Apprise - Push Notifications that work with just about every platform!
Stars: ✭ 4,307 (+13793.55%)
Mutual labels:  notifications, push-notifications
Onesignal Ios Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
Stars: ✭ 370 (+1093.55%)
Mutual labels:  notifications, push-notifications
Pushnotification
PHP and Laravel Package to send push notifications to Android and IOS devices.
Stars: ✭ 395 (+1174.19%)
Mutual labels:  push-notifications, fcm
Webpush
webpush, Encryption Utilities for Web Push protocol
Stars: ✭ 308 (+893.55%)
Mutual labels:  notifications, push-notifications
React Native Notifee
⚛️ A feature rich notifications library for React Native Android & iOS, built by @invertase, the authors of @react-native-firebase.
Stars: ✭ 381 (+1129.03%)
Mutual labels:  notifications, fcm

EasyNotify

An Android Library to send Firebase notifications to users easily.

Demo

With empty EditText Completed all EditText Final Result Demo Video

Download

  • Step 1. Add it in your root build.gradle at the end of repositories:
    allprojects {
        repositories {
          ...
          maven { url 'https://jitpack.io' }
        }
    }
  • Step 2. Add the dependency
    dependencies {
	        compile 'com.github.iammannan:EasyNotifyLibProject:1.2'
	}

EasyNotify

  • Initialize
    EasyNotify easyNotify = new EasyNotify("YOUR_APP_API_KEY");
  • Send by TOPIC or TOKEN
   easyNotify.setSendBy(EasyNotify.TOPIC);
   or
   easyNotify.setSendBy(EasyNotify.TOKEN);
  • IF Send by TOPIC
    easyNotify.setTopic("YOUR_TOPIC");
  • IF Send by TOKEN
    easyNotify.setToken("YOUR_FIREBASE_TOKEN");
  • Notification Optional Parameters
       easyNotify.setTitle("YOUR_TITLE_STRING");
       easyNotify.setBody("YOUR_BODY_STRING");
       easyNotify.setClickAction("YOUR_CLICK_ACTION");
       easyNotify.setSound("default");
  • Push your Notificaton to Firebase server
    easyNotify.nPush();
  • Set EasyNotify Listener, Check your push request success or not.
  easyNotify.setEasyNotifyListener(new EasyNotify.EasyNotifyListener() {
           @Override
           public void onNotifySuccess(String s) {
               Toast.makeText(MainActivity.this, s, Toast.LENGTH_SHORT).show();
           }

           @Override
           public void onNotifyError(String s) {
               Toast.makeText(MainActivity.this, s, Toast.LENGTH_SHORT).show();
           }

       });
  • Full Code - Example
  	EasyNotify easyNotify = new EasyNotify(api_key.getText().toString());
      easyNotify.setSendBy(EasyNotify.TOPIC);
      easyNotify.setTopic(topic.getText().toString());
      easyNotify.setTitle(title.getText().toString());
      easyNotify.setBody(body.getText().toString());
      easyNotify.setClickAction(click_action.getText().toString());
      easyNotify.setSound(sound.getText().toString());
      easyNotify.nPush();
      easyNotify.setEasyNotifyListener(new EasyNotify.EasyNotifyListener() {
          @Override
          public void onNotifySuccess(String s) {
              Toast.makeText(MainActivity.this, s, Toast.LENGTH_SHORT).show();
          }

          @Override
          public void onNotifyError(String s) {
              Toast.makeText(MainActivity.this, s, Toast.LENGTH_SHORT).show();
          }

      });
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].