firebase / firebase/firebase-unity-sdk

[FR]: Firebase Cloud Messaging API 33+ Permissions & Notification Channels Support

Open
#1,286 1 comment 0 reactions 0 assignees View on GitHub
api: messaging type: feature request
Dominant language
C#
Stars
320
Forks
60
Avg merge
11h 15m
Merged PRs (30d)
11

Description

### Description

Please add support for API 33+ Notification Request. Also add another function to check if user granted the notification permission which works on both Android and IOS.

Also add support for creating custom notification channels. I can't create them so they go to fallback channel which it doesn't pop up and it doesn't play any audio. Just goes directly to the tray on Android.

### API Proposal

We need:

FirebaseMessaging.RequestPermissionAsync(); (Which works on API 33+ too)
FirebaseMessaging.CheckPermissionStatus();
FirebaseMessaging.GetNotificationChannel(...);
FirebaseMessaging.CreateNotificationChannel(...);

### Firebase Product(s)

Messaging

### Targeted Platform(s)

Android, Apple Platforms

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.