3 posts, 0 answers
  1. Matthew J
    Matthew J avatar
    2 posts
    Member since:
    Nov 2012

    Posted 31 Oct 2013 Link to this post

    I have been trying to get this example to work with the latest build of PushPlugin, but seem to be having a problem.
    When I hook my android device up to to LogCat, I see the following error when it tries to access the PushNotification script file-
    Unknown Chromium error: -6

    Here is my script tag-
     <script src="cordova.js"></script>
      <script src="Plugins/PushPlugin/PushNotification.js"></script>

    What do you think is going on?

  2. Iva Koevska
    Iva Koevska avatar
    286 posts

    Posted 01 Nov 2013 Link to this post

    Hello Matthew,

    With the latest version of PushPlugin, you do not need to add any script references in index.html. Please, try removing  the <script src="Plugins/PushPlugin/PushNotification.js"></script> line from your code and let us know if this resolves your issue.

    You do not need the script include because the latest version of the PushPlugin has the plugin script file defined as a js-module. Plugman handles any script includes during the build process so you don't have to worry about it. You can read more about js-module here.

    To help you while working with custom plugins in Icenium, you can check this section in our documentation. Also, you can use the PushPlugin as an integrated plugin and you can learn more about it here.

    Iva Koevska
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. Matthew J
    Matthew J avatar
    2 posts
    Member since:
    Nov 2012

    Posted 04 Nov 2013 Link to this post

    That did it.  Thanks much.
Back to Top