@types/react-native-push-notification
Advanced tools
Comparing version 8.1.1 to 8.1.2
@@ -34,3 +34,3 @@ // Type definitions for react-native-push-notification 8.1 | ||
onRegister?: ((token: { os: string; token: string }) => void) | undefined; | ||
onNotification?: ((notification: Omit<ReceivedNotification, 'userInfo'>) => void) | undefined; | ||
onNotification?: ((notification: Omit<ReceivedNotification, "userInfo">) => void) | undefined; | ||
onAction?: ((notification: ReceivedNotification) => void) | undefined; | ||
@@ -64,5 +64,5 @@ onRegistrationError?: ((error: any) => void) | undefined; | ||
ongoing?: boolean | undefined; | ||
priority?: 'max' | 'high' | 'low' | 'min' | 'default' | undefined; | ||
visibility?: 'private' | 'public' | 'secret' | undefined; | ||
importance?: 'default' | 'max' | 'high' | 'low' | 'min' | 'none' | 'unspecified' | undefined; | ||
priority?: "max" | "high" | "low" | "min" | "default" | undefined; | ||
visibility?: "private" | "public" | "secret" | undefined; | ||
importance?: "default" | "max" | "high" | "low" | "min" | "none" | "unspecified" | undefined; | ||
ignoreInForeground?: boolean | undefined; | ||
@@ -94,3 +94,3 @@ shortcutId?: string | undefined; | ||
number?: string | number | undefined; | ||
repeatType?: 'week' | 'day' | 'hour' | 'minute' | 'time' | undefined; | ||
repeatType?: "week" | "day" | "hour" | "minute" | "time" | undefined; | ||
repeatTime?: number | undefined; | ||
@@ -149,3 +149,3 @@ } | ||
localNotificationSchedule(notification: PushNotificationScheduleObject): void; | ||
requestPermissions(permissions?: Array<'alert' | 'badge' | 'sound'>): Promise<PushNotificationPermissions>; | ||
requestPermissions(permissions?: Array<"alert" | "badge" | "sound">): Promise<PushNotificationPermissions>; | ||
subscribeToTopic(topic: string): void; | ||
@@ -152,0 +152,0 @@ unsubscribeFromTopic(topic: string): void; |
{ | ||
"name": "@types/react-native-push-notification", | ||
"version": "8.1.1", | ||
"version": "8.1.2", | ||
"description": "TypeScript definitions for react-native-push-notification", | ||
@@ -43,4 +43,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-push-notification", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "af18d4e69113db62b80264ac2cb5cd2bd6185e4251515690198dd65f88733ba7", | ||
"typeScriptVersion": "4.0" | ||
"typesPublisherContentHash": "ce607790e406c572b5d5d70404de23771dbaddeb8ed8a5a6dd45280b61d311d8", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sat, 25 Jun 2022 08:31:35 GMT | ||
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package