0.1.1 • Published 1 year ago
feedback-react-native-sdk v0.1.1
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