Skip to content

Click Action Issue Fixed... #7

@obaida-mostarihi

Description

@obaida-mostarihi

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



Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions