Skip to content

Possibility to supress notification while app is in foreground #13

@swey

Description

@swey

Does the React Native SDK have any possibility to suppress notifications (based on category) while the app is in foreground or do you have plans for implementing that to the React Native SDK?

Something like:

Notifications.setNotificationHandler({
		handleNotification: async (notification: Notification): Promise<NotificationBehavior> => {
			return {
						shouldShowAlert: false,
						shouldPlaySound: false,
						shouldSetBadge: false
					};
		});
});

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions