Ionic框架中的CallLog插件

时间:2017-08-21 09:58:38

标签: cordova typescript ionic-framework ionic2 cordova-plugins

我已经使用Visual Studio在我的移动应用程序中从GitHub页面https://github.com/dalyc/Cordova-CallLog-Plugin安装了Calllog插件。在尝试将其导入.ts文件(typescript文件)时,我无法将其作为“{} module'*'”获取错误消息。

我想导入如下:

从'call-log'导入{CallLogService};

你能帮我吗?

1 个答案:

答案 0 :(得分:0)

您可以尝试使用此插件,这样您就可以访问通话记录。

https://github.com/atul2889/call-log-call-history-for-Ionic---v2