We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@keep public class MyNotificationExtenderService implements INotificationServiceExtension {
@Override public void onNotificationReceived(INotificationReceivedEvent event) { IDisplayableMutableNotification notification = event.getNotification(); if (notification.getActionButtons() != null) { for (IActionButton button : notification.getActionButtons()) { // you can modify your action buttons here Log.d("OneSignalDebug", button.getText()); Log.d("OneSignalDebug", button.getIcon()); Log.d("OneSignalDebug", button.getId()); } } notification.setExtender(builder -> builder.setColor(0xFF0000FF)); }}
i want notification app is killed or background.
i have use this code but not get any value when app is kill or background mode.
5.1.17 to 5.1.20
14
No response
The text was updated successfully, but these errors were encountered:
Hello @S00raj-hcbs, have you modified the manifest as this documentation suggests? Be sure to use the fully name spaced class when you do so.
Sorry, something went wrong.
No branches or pull requests
What happened?
@keep
public class MyNotificationExtenderService implements INotificationServiceExtension {
Steps to reproduce?
What did you expect to happen?
i have use this code but not get any value when app is kill or background mode.
OneSignal Android SDK version
5.1.17 to 5.1.20
Android version
14
Specific Android models
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: