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

Acoustic Mobile Push Display Web Action Plugin

Requirements

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

Description

This action provides a way to display urls within the application rather then send users to the browser app as the url action does.

Installation

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

Post Installation Steps

Link the plugin with

react-native link react-native-acoustic-mobile-push-displayweb

Payloads

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

iOS

{
    "type": "displayWebView",
    "value": "https://acoustic.co"
}

Android

{
    "type": "displayweb",
    "value": "https://acoustic.co"
}