Giter Site home page Giter Site logo

iammannan / easynotifylibproject Goto Github PK

View Code? Open in Web Editor NEW
32.0 3.0 19.0 395 KB

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

Java 100.00%
android firebase-notifications firebase-database mannarmannanv push notifications push-notifications fcm fcm-notifications fcm-http

easynotifylibproject's People

Contributors

iammannan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

easynotifylibproject's Issues

No constructor with String param

EasyNotify easyNotify = new EasyNotify("YOUR_APP_API_KEY");
No such constructor in source code.
Neither below these methods -

easyNotify.setSendBy(EasyNotify.TOPIC);
   or
 easyNotify.setSendBy(EasyNotify.TOKEN);

Please check source code looks like you have committed wrong code.

Click Action Issue Fixed...

Hey @iammannan Can you fix your code...???

so i noticed that the String 'nclick_action' is not used .....

i used it in the sendNotification Method
it was:
this.notificationObject.put("title", this.ntitle).put("body", this.nbody).put("sound", this.nsound);
changed it to:
this.notificationObject.put("title", this.ntitle).put("body", this.nbody).put("sound", this.nsound).put("click_action",this.nclick_action);

and if anyone wants to use it
just change the code and in the
easyNotify.setClickAction("name"); //any name you want

and you should change your manifest
e.x
```
`



    </activity>

that's it....
and thank you....



dependecy?

where to get the api_key? and how to compile this via dependency in my project

Constructor and sendByToken not implemented in lastest version 1.1

Can you check your code, there's no constructor and sendbyToken feature ?. Thanks, keep this library going on. below some parameters that we can set

`
public void setNtitle(String ntitle) {
this.ntitle = ntitle;
}

public void setNbody(String nbody) {
    this.nbody = nbody;
}

public void setNclick_action(String nclick_action) {
    this.nclick_action = nclick_action;
}

public void setNtopic(String ntopic) {
    this.ntopic = ntopic;
}

public void setAPI_KEY(String API_KEY) {
    this.API_KEY = API_KEY;
}

public void setNsound(String nsound) {
    this.nsound = nsound;
}

public void setEasyNotifyListener(EasyNotifyListener listener)
{
    this.listener=listener;
}`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.