22 lines
1.4 KiB
TypeScript
22 lines
1.4 KiB
TypeScript
![]() |
import { ExpoConfig } from '@expo/config-types';
|
||
|
import { ConfigPlugin } from '../Plugin.types';
|
||
|
import { AndroidManifest } from './Manifest';
|
||
|
export declare const META_DATA_NOTIFICATION_ICON = "expo.modules.notifications.default_notification_icon";
|
||
|
export declare const META_DATA_NOTIFICATION_ICON_COLOR = "expo.modules.notifications.default_notification_color";
|
||
|
export declare const NOTIFICATION_ICON = "notification_icon";
|
||
|
export declare const NOTIFICATION_ICON_RESOURCE: string;
|
||
|
export declare const NOTIFICATION_ICON_COLOR = "notification_icon_color";
|
||
|
export declare const NOTIFICATION_ICON_COLOR_RESOURCE: string;
|
||
|
export declare const withNotificationIcons: ConfigPlugin;
|
||
|
export declare const withNotificationIconColor: ConfigPlugin;
|
||
|
export declare const withNotificationManifest: ConfigPlugin<void>;
|
||
|
export declare function getNotificationIcon(config: ExpoConfig): string | null;
|
||
|
export declare function getNotificationColor(config: ExpoConfig): string | null;
|
||
|
/**
|
||
|
* Applies configuration for expo-notifications, including
|
||
|
* the notification icon and notification color.
|
||
|
*/
|
||
|
export declare function setNotificationIconAsync(config: ExpoConfig, projectRoot: string): Promise<void>;
|
||
|
export declare function setNotificationConfigAsync(config: ExpoConfig, manifest: AndroidManifest): Promise<AndroidManifest>;
|
||
|
export declare function setNotificationIconColorAsync(config: ExpoConfig, projectRoot: string): Promise<void>;
|