Skip to content

Commit db62d3a

Browse files
Remove default channel configuration.
1 parent 818bd51 commit db62d3a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

sdk/Notifo.SDK.FirebasePlugin/NotifoFirebasePlugin.android.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
using Android.App;
99
using Android.Content;
10-
using Android.OS;
1110
using Plugin.FirebasePushNotification;
1211

1312
namespace Notifo.SDK.FirebasePlugin
@@ -26,8 +25,6 @@ public class NotifoFirebasePlugin
2625
/// <param name="autoRegistration">Automatically register for push notifications.</param>
2726
public static void Initialize(Context context, INotifoStartup notifoStartup, bool resetToken, bool autoRegistration = true)
2827
{
29-
ConfigureDefaultChannel();
30-
3128
FirebasePushNotificationManager.Initialize(context, new NotifoPushNotificationHandler(), resetToken, createDefaultNotificationChannel: true, autoRegistration);
3229
notifoStartup.ConfigureService(NotifoIO.Current);
3330
}
@@ -42,14 +39,5 @@ public static void ProcessIntent(Activity activity, Intent intent)
4239
FirebasePushNotificationManager.ProcessIntent(activity, intent, enableDelayedResponse: true);
4340
NotifoIO.Current.UseFirebasePluginEventsProvider();
4441
}
45-
46-
private static void ConfigureDefaultChannel()
47-
{
48-
if (Build.VERSION.SdkInt >= BuildVersionCodes.O)
49-
{
50-
FirebasePushNotificationManager.DefaultNotificationChannelId = "FirebasePushNotificationChannel";
51-
FirebasePushNotificationManager.DefaultNotificationChannelName = "General";
52-
}
53-
}
5442
}
5543
}

0 commit comments

Comments
 (0)