Upload Custom Plugin from Github

4 posts, 0 answers
  1. Arthur
    Arthur avatar
    4 posts
    Member since:
    Mar 2014

    Posted 13 Jan 2015 Link to this post

    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

  2. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 16 Jan 2015 Link to this post

    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.

     
  3. Andrew
    Andrew avatar
    1 posts
    Member since:
    Jun 2016

    Posted 11 Jun in reply to Arthur Link to this post

    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

  4. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 15 Jun Link to this post

    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.

     
Back to Top