nativeScript-CallLog 由 kozakvoj 提供 | v1.0.6 为 NativeScript 移动应用程序提供通话记录历史。 npm i --save nativescript-CallLog 版本:1.0.6 GitHub: NPM: https://npmjs.net.cn/package/nativescript-CallLog 下载量 昨天: 1 上周: 1 上个月: 17 NativeScript 通话记录 限制 目前,它仅适用于 Android。 用法 callLogsService.getCallLog().then(callLogs => { callLogs.data.forEach(callLog => { console.log(`${callLog['number']} ${callLog['type']} ${callLog['date']} ${callLog['duration']}`); })});