iammannan / easynotifylibproject Goto Github PK
View Code? Open in Web Editor NEWSend firebase notifications to your users very easily: A new Android Lib
Send firebase notifications to your users very easily: A new Android Lib
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.
i want to put webview.loadurl("youtube.com")...
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....
where to get the api_key? and how to compile this via dependency in my project
Get in method error message
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;
}`
I recommend not to download the library because there are viruses within the library of this project
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.