Cordova plugin "Cannot read properties of undefiend (reading callLog)"


I'm trying to make CallLogPlugin for Outsystems 10. I know that there is one for Outsystems 11 and I want to make the same one. I want to use cordova-plugin-calllog( According to Outsystems documentation I made next steps:

I have also tried doing it through the git repository link.

And JS code:

My plugin now:

But i have an Error while testing it in browser:

Looks like Cordova is not defined.

I tried different options, but the error remains. I will be very grateful for your help.


The functionality of Cordova plugins can be tested in native mobile applications only. You cannot test the Cordova plugin in your browser.

Kind regards, David.

Hi David,

Thank you for your reply. But I have the same problem in native mobile application.

Kind regards, Yury.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.