How can we integrate Call history / call logs in our ionic latest app?

I am stuck at showing call history like missed calls, dialed calls time for call duration, in ionic 2 app.
Is there is any plugin to solve this issue in ionic 2 ?

cordova-phone-call-trap, Cordova-CallLog-Plugin, calllog plugin I have used but it is no longer supported for ionic 2.

Please let me know if there is a solution in ionic 2.

1 Like

What does that mean? There is no difference in “support” for Cordova plugins between Ionic v1 and current Ionic.

I mean to say these plugins are not useful for latest ionic version (angular-2) .
I need to know how can I show a phone call history in my ionic-v2(latest) app.
If you have any solution about it please let me know or share a tutorial code for phone call log /history.

I got this error while installing the plugin:

I also want to show call log in my app…Have you resolved it… Please let me know too…
Share your code…

Go through this link:

3 Likes

Thanks…:+1:for your answer…

2 Likes

Hi , This is working fine but for the first time when we run the application it is asking for the permission. When I give permission for the first time the logs are not displaying.

When we close and open it then the logs are displaying.

Do you have any idea about this ?

Try to ask permission when your app loads from app.components

Hi atul2889 ,Thankyou its a great help.Thankyou Very much Atul. I am able to get call logs now.Thanks again.

Hello atul2889,
Thanks a lot for support. it is working fine in android apps but i am developing ios app also.
Is there any solution for getting call log with ios in ionic 2.
thanks!!

Hello atul2889,
Thanks a lot for support. it is working fine in android apps but i am developing ios app also.
Is there any solution for getting call log with ios in ionic 2.
thanks!!

i installed this plugin, and it doesn’t show any call logs at first. But when i restart the application, it shows.

hi guys i am new to ionic i to have a problem getting the call logs any one give some step by step tutorial please…

I also want to show call log in my app…… Please let me know how to do it too…
Share your code…

For Ionic 4 Check this tutorial http://www.freakyjolly.com/ionic-4-read-call-logs-incoming-missed-outgoing-and-add-call-number-in-ionic-4-native/

We need to install CallLog plugin

$ ionic cordova plugin add cordova-plugin-calllog
$ npm install --save @ionic-native/call-log@beta

And use with filters