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

pushwoosh plugin

7 Answers 119 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tamir
Top achievements
Rank 2
Tamir asked on 27 Jan 2014, 12:12 PM
Hello, 
i am trying to implement pushwoosh plugin in my app with no success.
I am checking the everlive push notification example and basing on this but not working.
First of all the assets.
 <asset src="www/PushNotification.js" target="Plugins/PushPlugin/PushNotification.js" />

When i am setting the srcipt path in html file "<script src="Plugins/PushPlugin/PushNotification.js"></script>"  it shows me the wrong path error, although in everlive push notification its the same params and it works perfect.

Can anyone help me on this please?
Thanks
 

7 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 30 Jan 2014, 12:07 PM
Hello Tamir,

Telerik AppBuilder includes support for custom Cordova plugins that are plugman compatible, see the following links:
The PushWoosh plugin here is already plugman compatible, which means you do not have to add any reference to its .js file, as this reference is added automatically by plugman upon build and is defined in its plugin.xml file within the js-module attribute.

Regards,
Steve
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Tamir
Top achievements
Rank 2
answered on 10 Feb 2014, 08:59 PM
Hello Steve,
thank you for reply. For some reason i didn't receive a notification so i have seen you replied.
Thank you.
Its first time i am adding a plugin and i want to understand the concept.
I am importing only the "src" folder and "www" folder in the rar file.
Also trying to work by this explanation: http://www.pushwoosh.com/programming-push-notification/android/android-additional-platforms/phonegapcordova-sdk-integration/
But still i get errors that pushnotification not defined etc...
Do i need to add pushplugin from the plugins page of the workspace?



0
Steve
Telerik team
answered on 12 Feb 2014, 09:01 AM
Hi Tamir,

You need to download the PushWoosh plugin from its repo as a zip (use the Download Zip button) and then import it in your AppBuilder project like explained in the Import Custom Plugins. Please read through the Working with Custom Plugins help section if you still have any doubts, it covers everything you need to know.

Regards,
Steve
Telerik
Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
0
Tamir
Top achievements
Rank 2
answered on 12 Feb 2014, 10:07 AM
Hello Steve,
Believe me, if i am writing to a forum i tried everything. :-) I don't like to write and bother support. But it is just not working. :-(
I get still an error. Its also a problem when i don't know what files are added behind the scene.
Can i speak to a technical support, because to write to a forum and to get an answer after one day its not fun. I need to proceed with it, all my project is done except this.
0
Steve
Telerik team
answered on 17 Feb 2014, 12:17 PM
Hi Tamir,

I've confirmed that the PushWoosh plugin is successfully build for both Android and iOS and any further problems with its integration in your project should be forwarded to the plugin author.

Our standard support services do not include phone assistance, it is part of the Enterprise AppBuilder license (see licensing).

Regards,
Steve
Telerik
Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
0
Derek
Top achievements
Rank 1
answered on 17 Apr 2014, 05:34 PM
I'm having a problem with pushwoosh too, I've downloaded it from git hub and imported the zip, i see it in the plugins folder but i keep getting and error that says

'pushNotification' of undefinded
0
Tina Stancheva
Telerik team
answered on 22 Apr 2014, 01:13 PM
Hi Derek,

Please, note that if you're testing the app in the AppBuilder Companion App or the Device Simulator, such an error is expected as both applications don't support the PushWoosh plug-in.

In the AppBuilder companion app, you cannot run any custom plugins as described in the Run Apps in the AppBuilder Companion App tutorial. On the other hand, the AppBuilder Simulator supports a number of plugins, but the PushWoosh plugin is not one of them. You can find a list of all supported plugins in this Device Simulator article.

However, I followed the steps that Steve has previously described in order to add the PushWoosh plugin to a sample AppBuilder application and I was able to successfully access the plugin and invoke its methods when the app was deployed on a device. If you're having troubles with that I would only ask that you make sure you access the plugin in the deviceready method.

I hope the information helps.

Regards,
Tina Stancheva
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
AppBuilder Windows client
Asked by
Tamir
Top achievements
Rank 2
Answers by
Steve
Telerik team
Tamir
Top achievements
Rank 2
Derek
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or