This is a migrated thread and some comments may be shown as answers.

Upload Custom Plugin from Github

3 Answers 66 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Arthur
Top achievements
Rank 1
Arthur asked on 14 Jan 2015, 03:46 AM
Hi All

I'm not able to find a full step by step guide how to include a custom plugin into a project. Eg. https://github.com/dalyc/Cordova-CallLog-Plugin

I'm using Windows client and my steps are:

1. Right click on the Plugin folder
2. Click Import Plugin & select zip file
3. Plugin has been uploaded successfully
4. Now I can see the plugin enable within the project Properties
5. Do I have to add a record in Android -> config.xml ???

Please find 2 attachments explaining my setup, I look forward to get some help on this setup.

Thanks

3 Answers, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 16 Jan 2015, 01:39 PM
Hello Rafal,

You have done everything right as described in our documentation. You don't need to add any record to your config.xml file. Some plugins might require to add a reference of the .js file to the html but this should be mentioned in their installation guide.

In your case, you have to import the plugin only and you will be able to access its methods using the 
window.plugins.calllog object when Cordova deviceready event is fired.

onDeviceReady: function() {
      
   if(window.plugins.calllog == "undefined"){
           alert("Doesn't works");
       } else
       {alert("works");}
   }

Let me know if you need additional assistance.

Regards,
Zdravko
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Andrew
Top achievements
Rank 1
answered on 11 Jun 2016, 03:08 PM

Hi Arthur,

Did you ever manage to get the Cordova-CallLog-Plugin functioning via Telerik? .. I am struggling to display or get anything back. Being new to the platform and this plugin being a custom platform I am struggling to find much guidance in getting the basics configures and functioning correctly. 

Would be ecstatic if you did come right and would be open to guiding me in the right direction.

Regards, Andrew

0
Kaloyan
Telerik team
answered on 15 Jun 2016, 04:41 PM
Hi Andrew,

I noticed that a colleague of mine has shared a sample for the CallLog plugin with you. If you wish, you can share it here as well if it works as expected on your side.

Thank you for this in advance.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder Windows client
Asked by
Arthur
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Andrew
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or