-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Android): Add action buttons for notifications #86
base: master
Are you sure you want to change the base?
Conversation
@klaakso, thanks for the PR, the code looks good, but I will have to take a closer look. However, you should remove the modifications in the files As soon as you change those files, I will test your code manually and approve your PR if everything works as expected. |
Alright. Removed the generated files and added a null check... 😁 |
final ReadableArray acts = options.getArray("actions"); | ||
Bundle actions = new Bundle(); | ||
if(acts != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not seem to work, if I start the background task without an actions
key in the options, the whole background task throws an Error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOG Trying to start background service
LOG Error [Error: null]
Here is an example of the log
hello, will this feature be released? Thanks |
Fixes #60
Here goes!
Let me know what you think. It's been a while since I've touched Java but feel free to scrutinize! 😁