I use the sample project for phonegap build , and get no error : com.pushwoosh.plugins.pushwoosh

But as soon as i added it to my own phonegap build project i get error when i want to use the hydratation (and without hydratation it will not even update it)

"plugman install --platform android --project //app/dist --plugin //db1dab28-3578-11e3-92ef-12313d16b935": Cannot call method 'trim' of null

here is content of my config.xml very basic, i tried also old release of phonegap from 2.9 to 3.3.0 :

<preference name="phonegap-version" value="3.3.0" />
    <gap:plugin name="org.apache.cordova.device" />
    <gap:plugin name="com.pushwoosh.plugins.pushwoosh" />

if i remove the pushwoosh plugin, no problem anymore...

i also tried with the plugin release :

<gap:plugin name="com.pushwoosh.plugins.pushwoosh" version="3.0.2" />

and in the index.html :

<script type="text/javascript" src="./js/jquery-1.9.1.js"></script>

<script src="./js/jquery.mobile-1.4.2.min.js"></script>

    <script type="text/javascript" src="phonegap.js"></script>
    <script type="text/javascript" src="PushNotification.js"></script>
    <script type="text/javascript" src="/js/index.js"></script>

make one day i try to figure out ...


asked 26 Apr '14, 10:24
Eric%20Ange's gravatar image

Eric Ange

edited 26 Apr '14, 19:28

Do you use Phonegap Build or CLI?

permanent link
answered 30 Apr '14, 17:27
shader's gravatar image



Phonegap Build, last release. Same for the pushwoosh plugin. Hydratation fail even on the plugin sample.

permanent link
answered 01 May '14, 08:43
Eric%20Ange's gravatar image

Eric Ange

I have the exact same issue with Hydration...

permanent link
answered 02 May '14, 17:28
Daniel%20Chinchilla's gravatar image

Daniel Chinc...

It really looks like PGB issue with plugman. Trying to get info from PGB team here: http://community.phonegap.com/nitobi/topics/app_fails_to_hydrate_after_update

Upvote pls! Hopefully that will speed up PGB guys!

permanent link
answered 05 May '14, 01:47
shader's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 26 Apr '14, 10:24

question was seen: 2,019 times

last updated: 05 May '14, 01:47