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

Hi,

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(https://github.com/creacore-team/cordova-plugin-calllog/tree/master). 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.

Hi,

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

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/Mobile_Plugins/Using_Cordova_Plugins

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.