Plugins not installing with Build

2 posts, 0 answers
  1. Harry
    Harry avatar
    1 posts
    Member since:
    Mar 2015

    Posted 13 Jul 2015 Link to this post

    I'm not sure if I am doing something wrong - or if I am missing a step but when using AppBuilder when I am trying to add the SQLite Plugin to my project via the install Plugins feature.

     

    However when I then build the App and deploy to my device it can't find the plugin - is this a bug or am I doing something wrong? How to i correctly install this plugin?

     

    Many Thanks

     

    Harry

     

     

     

  2. Ivan
    Admin
    Ivan avatar
    111 posts

    Posted 15 Jul 2015 Link to this post

    Hello Harry,

    There are two ways to install a third party Cordova plugin:

    1. Install a Telerik Verified Plugin from the Plugin Marketplace. This is the preferred approach since the plugins are guaranteed to work 'out of the box' with the most recent versions of Cordova.

    2. Install a custom Cordova plugin by importing its contents manually under the Plugins folder. Generally speaking, this might require some extra work on your behalf however. The plugin must be Plugman compatible in order to be included with your app during build. If that is not the case, you might need to edit plugin.xml and modify its directory structure to conform to the specification. However, I don't think this is the case with the SQLite plugin version you're using.

    Since we do not know what version of the plugin you are using and how you have installed it, we suggest to check our SQLite sample project, which uses the Telerik verified SQLite plugin. If the sample works for you and the SQLite plugin provides all the necessary functionality for your application, we recommend to use that plugin to avoid all the extra hassle. If you have to use another plugin for some reason, please, give us some more information, so we provide you further assistance:

    1. What SQLite plugin you are using -  we need at least a link to the repository, so we can check it ourselves.
    2. What version of Cordova you are using - we need to check if the plugin is compatible with that version of Cordova.
    3. What device you are using and what OS version - we need to verify if the plugin is compatible with that OS version.
    4. Are you testing via the AppBuilder Companion app - if that is the case, there might be some limitation in the Companion app itself, preventing the plugin from working correctly. It is preferable to build and deploy your application on the device via app package, to eliminate such incompatibilities.

    Regards,
    Ivan
    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