Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Updated android notification channel name and discription #103

Merged
merged 1 commit into from
Feb 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/android/CountlyNative.java
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ public String logException(JSONArray args) {
public String askForNotificationPermission(JSONArray args) {
this.log("askForNotificationPermission", args);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
String channelName = "Default Name";
String channelDescription = "Default Description";
String channelName = "General Notifications";
String channelDescription = "Receive notifications about important updates and events.";
NotificationManager notificationManager = (NotificationManager) context
.getSystemService(Context.NOTIFICATION_SERVICE);
if (notificationManager != null) {
Expand Down