Plugin Marketplace

9 posts, 1 answers
  1. Craig
    Craig avatar
    43 posts
    Member since:
    Aug 2013

    Posted 26 Sep 2014 Link to this post

    Great idea on adding the Plugin Marketplace with verified plugins....however

    When I click on a Package and hit INSTALL I get the green/white check mark next to plugin and click CLOSE.
    I dont see any new files show up anywhere. I would expect them to be added to Plugins folder that already exists.

    What should happen and are files suppose to be in the Plugins folder.

    NOTE: I have a previous plugin(Email Composer) already in the Plugins folder and this project is over a year old.
  2. Craig
    Craig avatar
    43 posts
    Member since:
    Aug 2013

    Posted 26 Sep 2014 Link to this post

    More information.

    I started a new project with sample Kendo UI Drawer project as starting point- and got the same results.
  3. Jordan
    Admin
    Jordan avatar
    197 posts

    Posted 27 Sep 2014 Link to this post

    Hello Craig,

    When you Install a verified plugin, AppBuilder does not add the plugin files to the Plugins folder in the Project NavigatorAppBuilder lists them in the Other Plugins section in the Project Properties. This is done for easy update and install/uninstall of verified plugins.

    If you intend to modify or experiment with verified plugin you are free to download and add it manually as custom plugin and it will show in Plugins folder, for you to play with.

    Regards,
    Jordan
    Telerik
     

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

     
  4. Craig
    Craig avatar
    43 posts
    Member since:
    Aug 2013

    Posted 29 Sep 2014 in reply to Jordan Link to this post

    Jordan,

    Great that makes some senses - since the idea you would not want to have the option of messing with that code, and if I do I can choose to by grabbing the code and dropping it in Plugins.

    So I wanted to try a simple one "Toast" and verfied it is ON in the  Other Plugins under Project Properties.

    Documentation states this should work:
    <button onclick="window.plugins.toast.showLongBottom('Test')">Toast show long center</button>
    if I slap it on a page.

    It doesnt add blows or reference to toast. "Uncaught TypeError: Cannot read property 'toast' of undefined "

    I have another Other Plugin "SQLite" and it is working just fine and I can reference it by typing in the degbug console: window.sqlitePlugin  but no intellsense when I type in window.plugins.toast

    ideas? what am I missing here?
  5. Craig
    Craig avatar
    43 posts
    Member since:
    Aug 2013

    Posted 29 Sep 2014 in reply to Craig Link to this post

    NOTICE I made some typos:  same post with fixes:
    -----------------------------------------------------------------------------
    Jordan,

    Great that makes some sense - since the idea is you would not want to have
    the option of messing with that version of the code, and if you do you can choose to modify it by
    grabbing the code and dropping it in Plugins.

    So I wanted to try a simple plugin, "Toast" and I verified that it is ON in "Other Plugins" under "Project Properties".

    Documentation states this should work:

    <button onclick="window.plugins.toast.showLongBottom('Test')">Toast show long center</button>

    if I slap it on a page.


    It doesn't and blows on reference to toast. "Uncaught TypeError: Cannot read property 'toast' of undefined "

    I have another Other Plugin "SQLite" and it is working just fine and I
    can reference it by typing in the degbug console: window.sqlitePlugin 
    but no intellsense when I type in window.plugins.toast

    ideas? what am I missing here?

    There are several plugins I would like to add and this makes it way easier to do assuming it works.
  6. Answer
    Martin Yankov
    Admin
    Martin Yankov avatar
    177 posts

    Posted 02 Oct 2014 Link to this post

    Hello Craig,

    I have tested the Toast plugin and it works as expected. You can find the demo app attached for reference.

    Can you confirm, that you are not testing the plugin in the simulator or in the AppBuilder companion app? As you might know and as stated in this documentation article, most custom Cordova plugins are not supported in the AppBuilder simulator or the companion app. The plugins in the Telerik Verified Plugins Marketplace are custom plugins, that are verified and supported by Telerik. They will not work inside the Simulator or Companion app. Please, let me know if this is the case. If this is not the case, please send a sample app that can reproduce the issue.

    Also, let me know if the Toast demo app is working on your side. I am looking forward to your reply.

    Regards,
    Martin Yankov
    Telerik
     

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

     
  7. Craig
    Craig avatar
    43 posts
    Member since:
    Aug 2013

    Posted 02 Oct 2014 in reply to Martin Yankov Link to this post

    Martin,

    First, it was unclear for me that most the 3rd party apps would not work in the emulator (because I am using one plugin SQLite that does), so thanks for that clarification.  However Toast is not working on the physical phones either (i have and android and iOS test phone) for my main project (about a year old project but has been updated to use latest Kendo UI Core via the Manage Packages feature).

    Second, the Toast demo app IS working on my side but in my mind it did not prove anything. In that demo you have it referenced as an imported Plugin vs using the MarketPlace to reference it. So I removed the plugin and added via the MarketPlace and it worked. So not sure why my project it wont work properly for. Any suggestions would be helpful. If I cant figure it out soon I will just reference via the old fashion Plugin locally.

    Thanks for your time.
  8. Craig
    Craig avatar
    43 posts
    Member since:
    Aug 2013

    Posted 02 Oct 2014 in reply to Craig Link to this post

    Martin,

    I retract my issue - all is working now.  I did a clean uninstall and install of the apps on the phone and it is working now- thanks for your patience.

    Lesson learned to others when dealing with plugins make sure you do a full redeploy to the test phones- it looks like the incremental updates on SAVE inside of AppBuilder does not push out Plugins.  Martin correct me if I am wrong.

    Thanks again
  9. Martin Yankov
    Admin
    Martin Yankov avatar
    177 posts

    Posted 03 Oct 2014 Link to this post

    Hello Craig,

    You are correct. The reason you need to build and redeploy your hybrid app when you change a plugin is that plugins contain native code (Objective-C, Java, C# etc.) and it needs to be compiled. In contrast, JS can be simply copied to your device on save and it will work.

    I am glad everything works well on your side. Do not hesitate to ask should you have any further questions.

    Regards,
    Martin Yankov
    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