0.1.1 • Published 1 year ago

feedback-react-native-sdk v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

feedback-react-native-sdk

Pisano Feedback SDK for React Native

Installation

npm install feedback-react-native-sdk

Usage

import {
  feedbackSDKDebugMode,
  feedbackSDKBoot,
  feedbackSDKShow,
  feedbackSDKClear,
  feedbackSDKViewMode,
  feedbackSDKCallback
} from 'feedback-react-native-sdk'

// ...

feedbackSDKDebugMode(bool);

feedbackSDKBoot(appId, accessKey, apiUrl, feedbackUrl, eventUrl);
      
feedbackSDKShow(feedbackSDKViewMode, customTitle, titleFontSize, flowId, language, customer, payload, (status) => {
      console.log("Show Status: " + status);
    });

feedbackSDKTrack(event, payload, customer, language, (status) => {
      console.log("Show Status: " + status);
    });

feedbackSDKClear();

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.1.1

1 year ago

0.1.0

2 years ago