This is a migrated thread and some comments may be shown as answers.

PushPlugin-Error

2 Answers 18 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matthew J
Top achievements
Rank 1
Matthew J asked on 31 Oct 2013, 09:35 AM
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?

Thanks
MJD

2 Answers, 1 is accepted

Sort by
0
Iva Koevska
Telerik team
answered on 01 Nov 2013, 09:03 AM
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.

Regards,
Iva Koevska
Telerik
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.
0
Matthew J
Top achievements
Rank 1
answered on 04 Nov 2013, 07:25 PM
That did it.  Thanks much.
Tags
General Discussion
Asked by
Matthew J
Top achievements
Rank 1
Answers by
Iva Koevska
Telerik team
Matthew J
Top achievements
Rank 1
Share this question
or