@foxsenseinnovations/notiflow-in-app-sdk-react
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Notiflow In-App SDK for React

The Notiflow In-App SDK allows seamless integration of notifications within your web application. Easily display notifications using our React-based SDK.

Installation

Using NPM:

  $ npm i @foxsenseinnovations/notiflow-in-app-sdk-react

Using Yarn:

  $ yarn i @foxsenseinnovations/notiflow-in-app-sdk-react

Usage

Here is a quick example of how to use the NotiflowInAppNotifications component in your React application:

import React from 'react';
import { NotiflowInAppNotifications } from '@foxsenseinnovations/notiflow-in-app-sdk-react';

function App() {
  return (
    <div>
      <h1>Notiflow In-App Notifications Example</h1>
      <NotiflowInAppNotifications 
        clientId="<YOUR-CLIENT-ID>" 
        email="user@example.com" 
        phoneNumber="+1234567890" 
      />
    </div>
  );
}

export default App;

Parameters

The NotiflowInAppNotifications component takes the following props:

Parameter Type Required Description
clientId string Yes The unique identifier for your notiflow account.This is mandatory to authenticate your app.
email string No (Optional) The email address of the user for whom the notifications are to be fetched. Either email or phoneNumber must be provided.
phoneNumber string No (Optional) The phone number of the user for whom the notifications are to be fetched. Either phoneNumber or email must be provided.

Dependents (0)

Package Sidebar

Install

npm i @foxsenseinnovations/notiflow-in-app-sdk-react

Weekly Downloads

1

Version

1.1.4

License

ISC

Unpacked Size

63.8 kB

Total Files

8

Last publish

Collaborators

  • chinmaygopal
  • vikram_97
  • ramprasath-foxsense
  • foxsense-innovations-npm