expo-notifications
Version:
Notifications module
29 lines (28 loc) • 1.01 kB
TypeScript
import { ConfigPlugin } from 'expo/config-plugins';
export type NotificationsPluginProps = {
/**
* Local path to an image to use as the icon for push notifications.
* 96x96 all-white png with transparency. We recommend following
* [Google's design guidelines](https://material.io/design/iconography/product-icons.html#design-principles).
* @platform android
*/
icon?: string;
/**
* Tint color for the push notification image when it appears in the notification tray.
* @default '#ffffff'
* @platform android
*/
color?: string;
/**
* Array of local paths to sound files (.wav recommended) that can be used as custom notification sounds.
*/
sounds?: string[];
/**
* Environment of the app: either 'development' or 'production'.
* @default 'development'
* @platform ios
*/
mode?: 'development' | 'production';
};
declare const _default: ConfigPlugin<void | NotificationsPluginProps>;
export default _default;