Skip to content

shijingsh/react-native-call-record

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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