Can't get cordova-plugin-recentscontrol to work


#1

Hello,

So far, I added the plugin to my project. Tried to add these two lines into config.xml

<preference name="RecentsBackgroundColor" value="#000000" />
<preference name="RecentsDescription" value="MyApp" />

It didn’t work.

Now I am trying to use RecentsControl object, which according to documentation has several methods, including RecentsControl.setColor(colorStr) , but I do not understand where from to import that object.
The link to documentation: https://github.com/FPCSJames/cordova-plugin-recentscontrol

Thanks in advance