<br><br>On Monday, April 28, 2014, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Brett,<div><br></div><div>I think the one in the Cordova repo is outdated; the HelloWorls uses an u released version.</div></blockquote><div><br></div><div>&quot;u<span></span>nreleased version&quot; I should have written</div>
<div><br></div><div>-sent from a tiny and stupid iPhone keyboard</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div>Clone this:</div>
<div><a href="https://github.com/aerogear/aerogear-pushplugin-cordova/" target="_blank">https://github.com/aerogear/aerogear-pushplugin-cordova/</a><br>
</div><div><br></div><div>And do a &quot;cordova plugin add $FOLDER&quot;</div><div><br></div>On the existing I think you need to remove the old before; To be safe, I&#39;d just start from scratch<div><br></div><div>Hope this helps,</div>

<div>Matthias<span></span><br><div><br>On Monday, April 28, 2014, chinballs &lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;brett.mclain@potashcorp.com&#39;);" target="_blank">brett.mclain@potashcorp.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am currently unable to get the cordova version of the hello world app to<br>
run on my 4.3 android phone.  I have built and deployed the android version<br>
successfully. It registers with my push server (shows up in the variant)<br>
that is hosted on open shift, receives messages that I send out, etc.<br>
<br>
The cordova version is another story.  I ran cordova add android, then<br>
cordova plugin add org.jboss.aerogear.cordova.push; both completed<br>
successfully.  I then used the exact same configuration from the android<br>
version to replace the values in index.js to act as my configuration.<br>
<br>
I then ran cordova build android, and cordova run android.  The application<br>
installs successfully on my phone, runs, and tells me that is has registered<br>
successfully.  However, when I look at my variant, I don&#39;t see it<br>
registered.  I have added logging messages to the aerogear-push.js file, and<br>
can confirm that the register() function is not returning prematurely.<br>
<br>
I then verified that nothing funny was showing up in the logs with regards<br>
to anything related to aerogear, cordova, or the push service. The only<br>
message of any note was this:<br>
<br>
I/dalvikvm( 6598): Could not find method<br>
org.apache.cordova.CordovaWebView.setWebContentsDebuggingEnabled, referenced<br>
from method org.apache.cordova.CordovaWebView.setup<br>
W/dalvikvm( 6598): VFY: unable to resolve static method 26844:<br>
Lorg/apache/cordova/CordovaWebView;.setWebContentsDebuggingEnabled (Z)V<br>
<br>
Other than that, there are no errors, no warnings, nothing.<br>
<br>
Does anyone have any ideas for how to debug this further? I&#39;m pretty stumped<br>
at this point as to why it&#39;s saying it registered successfully when it<br>
clearly didn&#39;t.  Here are the other debugging steps that I took:<br>
<br>
a.) Created a new application on the push server with a new variant.  I was<br>
concerned that since I already used the android version on this phone that<br>
it wouldn&#39;t register with the cordova application.  I changed over the<br>
details of the cordova application in the index.js file and nothing changed.<br>
b.) I tried changing the configuration in index.js to some garbage URL with<br>
bogus variant information and the application doesn&#39;t hiccup at all, it<br>
still says that it registered successfully, and all the log messages<br>
indicate that everything went well.  This leads me to believe that it&#39;s not<br>
even bothering to call out at all...<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/aerogear-push-helloworld-cordova-version-fails-to-register-tp7608.html" target="_blank">http://aerogear-dev.1069024.n5.nabble.com/aerogear-push-helloworld-cordova-version-fails-to-register-tp7608.html</a><br>


Sent from the aerogear-dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a>aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote></div></div><br><br>-- <br>Sent from Gmail Mobile<br>
</blockquote><br><br>-- <br>Sent from Gmail Mobile<br>