UNPKG

@janiscommerce/app-push-notification

Version:

This package will take care of performing the main actions for registration to receive notifications in the foreground and background.

14 lines (11 loc) 347 B
import {AndroidImportance, AndroidVisibility} from '@notifee/react-native'; const DEFAULT_CHANNEL_CONFIGS = { badge: true, importance: AndroidImportance.HIGH, lights: true, sound: 'default', vibration: true, vibrationPattern: [500, 1000, 500, 1000], visibility: AndroidVisibility.PUBLIC, }; export default DEFAULT_CHANNEL_CONFIGS;