react-native-call-record

0.1.1 • Public • Published

react-native-call-record

get call record for react native

Usage

Install

npm i react-native-call-record --save
react-native link react-native-call-record

getAll

Example

import CallRecord from 'react-native-call-record';
CallRecord.getAll({}).then(obj => {
  console.log(obj);
});

Request Object

Property Type Description
isDistinct bool (default false) Enable or disable distinct
limit number(default -1) limit of result

Response Object

Property Type Description
phoneNumber string phone
duration number duration
name string name
dateTime string dateTime
type number type

License

MIT

Package Sidebar

Install

npm i react-native-call-record

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

236 kB

Total Files

32

Last publish

Collaborators

  • liukefu