Ion crashes while using WebIntent plugin

Thread is closed for posting
2 posts, 0 answers
  1. Candace
    Candace avatar
    9 posts
    Member since:
    Sep 2011

    Posted 30 Jul 2013 Link to this post

    I'm using WebIntent ( as a custom plugin on my Icenium project.  

    I am using the startActivity method to have the Android OS recommend an viewer for a file of a particular mime type.  

      url: fullpath, // this is a local file
      action: window.plugins.webintent.ACTION_VIEW,
      type: 'application/pdf'
    function(args) {
    function(args) {

    This is working correctly.  

    However, if I set a type to 'application/someunsupportedmimetype', I am expecting an error to be reported because webIntent should not be able to find an appropriate viewer to recommend.  Instead, Icenium Ion closes on the device and no errors are outputted to the console within Icenium Graphite.  I have also attempted to wrap everything in a try/catch block - the same results occur.

  2. Steve
    Steve avatar
    10941 posts

    Posted 31 Jul 2013 Link to this post

    Hi Candace,

    There must be some confusion as Icenium Ion is a test utility for iOS devices and is not available for Android devices. Additionally Icenium Ion does not support custom plugins and you can only test those by deploying on an actual device with provision (iOS).
    We've already tested the WebIntent plug-in locally and can confirm that it has worked in our basic tests, so if you experience the same problems when you deploy your app, you might consider trying on another device, or another type of intent, or you can contact the plugin author for more information on how to debug this yourself.


    Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top