react-native-acoustic-mobile-push-snooze.md

Acoustic Mobile Push Snooze Action Plugin

Requirements

  • Acoustic Mobile Push Plugin (react-native-acoustic-mobile-push)

Description

This action plugin provides a way to show a notification again at a later time.

Installation

npm install --save <sdk folder>/plugins/react-native-acoustic-mobile-push-snooze

Post Installation Steps

Link the plugin with

react-native link react-native-acoustic-mobile-push-snooze

Payloads

The following action payloads can be sent to the device to trigger this plugin.

iOS

{
	"type": "snooze",
	"value": 1
}

value is the number of minutes to wait before showing the push message again.

Android

{
	"type": "snooze",
	"time": 1
}

time is the number of minutes to wait before showing the push message again.