Skip to content

guidesmiths/react-native-uservoice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-uservoice

A react-native sdk of the v1 api of UserVoice. This implementation only has little functionality for now and would be happy to receive many pull-requests.

npm version npm downloads

Installation

Install in your application directory:

npm install --save react-native-uservoice

or

yarn add react-native-uservoice

Usage

For example

     let clientUserVoice = await clientProvider({
      apiKey: 'xxxxxx',
      apiSecret: 'xxxxxx',
      subdomain: 'xxxxx',
    });
    clientUserVoice = await clientUserVoice.withoutLogin();
    const list = await clientUserVoice.topicService.list();

Example redux-saga

    let clientUserVoice = yield call(clientProvider, {
      apiKey: xxxxx,
      apiSecret: xxxx,
      subdomain: xxxx,
      wrapperFetch // Your custom implementation fetch
    });
    clientUserVoice = yield call([clientUserVoice, clientUserVoice.withoutLogin]);
    const list = yield call([clientUserVoice.topicService, clientUserVoice.topicService.list]);

About

A React Native client for the uservoice SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published