UNPKG

react-native-notifications-pfy

Version:

Advanced Push Notifications (Silent, interactive notifications) for iOS & Android + Schedule Module

28 lines (27 loc) 605 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class Notification { constructor(payload) { this.payload = payload; this.identifier = this.payload.identifier; } get title() { return this.payload.title; } get body() { return this.payload.body; } get sound() { return this.payload.sound; } get badge() { return this.payload.badge; } get type() { return this.payload.type; } get thread() { return this.payload.thread; } } exports.Notification = Notification;