parent
e8b3112cc5
commit
7cbc5ac148
|
|
@ -159,7 +159,8 @@ namespace Guru.Notification
|
||||||
{
|
{
|
||||||
// 低版本处理方式
|
// 低版本处理方式
|
||||||
Debug.Log($"[SDK][Noti] --- #2 SDK {sdkInt} not requested -> open channel");
|
Debug.Log($"[SDK][Noti] --- #2 SDK {sdkInt} not requested -> open channel");
|
||||||
AndroidNotificationCenter.OpenNotificationSettings(FCM_DEFAULT_CHANNEL_ID); // 打开ChannelID
|
AndroidNotificationCenter.RegisterNotificationChannel(new AndroidNotificationChannel(FCM_DEFAULT_CHANNEL_ID,
|
||||||
|
FCM_DEFAULT_CHANNEL_ID, "", Importance.Default)); // 打开ChannelID
|
||||||
SetGrantStatus(STATUS_GRANTED);
|
SetGrantStatus(STATUS_GRANTED);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue