cordova angular quick start demo
by Erik Jan de Wit
Hi,
I was wondering about the Angular version for the quick start demo. I really like the ionic framework and it’s a good combination of Angular together with Cordova plus it has some nice UI widgets as well. Should we use this for our demo or should we stick to plain Angular with topcoat or bootstrap as a UI?
What do you think,
Cheers,
Erik Jan
10 years, 7 months
pushplugin release
by Erik Jan de Wit
Hi,
I’ve announced it before, but didn’t came around to actually do it and we started discussing the version number. So end of the week I’ll release a new version of the aerogear-pushplugin-cordova (for real this time) with version 0.5.0 this will include the 64 bit support the new API and some small bug fixes.
Cheers,
Erik Jan
10 years, 7 months
SimplePush Server 0.11.0
by Daniel Bevenius
Hi all,
just wanted to give a heads up that I've rescheduled the release of
SimplePush 0.11.0 [1]. There are only two task remaining, but I'll be
working on other things for a while which is the reason for there not being
more.
The main task of interest I think is [2], which allows notifications to be
done without a version in the body of the HTTP request. This I believe will
simplify the admin ui and perhaps other areas. If you'd like to see an
earlier release then let me know and I'll get it done. As of now though,
I've set the release date to May 6.
/Dan
[1]
https://issues.jboss.org/browse/AGSMPLPUSH-16?filter=12321270&jql=project...
[2] https://issues.jboss.org/browse/AGSMPLPUSH-54
10 years, 7 months
Google-play-services version inside Cordova Push Plugin
by Andrea Vibelli
Hi all,
after some searches, I finally found which version of google-play-services.jar is included inside the Cordova Push Plugin, inside src/android/libs folder.
This version comes from:
${ANDROID_HOME}/extras/google/google_play_services_froyo/libproject/google-play-services_lib/libs
I have tested the Cordova Push Plugin (tag 0.5.0) on a Android 4.1.1 device and everything works well, then replaced google-play-services.jar inside the src/android/libs folder with the latest version of it, taken from:
${ANDROID_HOME}/extras/google/google_play_services/libproject/google-play-services_lib/libs
and that worked also without problems.
I would ask if someone can make this test on more old devices as I do not have any (so using the latest version of google-play-services.jar inside the Cordova Push Plugin on devices prior to 4.1.1). If that works I would suggest to replace the old library inside the plugin with the latest one distributed by Google's SDK, what do you think about it?
Thanks
Andrea
10 years, 8 months
aerogear-push-helloworld cordova version fails to register
by chinballs
I am currently unable to get the cordova version of the hello world app to
run on my 4.3 android phone. I have built and deployed the android version
successfully. It registers with my push server (shows up in the variant)
that is hosted on open shift, receives messages that I send out, etc.
The cordova version is another story. I ran cordova add android, then
cordova plugin add org.jboss.aerogear.cordova.push; both completed
successfully. I then used the exact same configuration from the android
version to replace the values in index.js to act as my configuration.
I then ran cordova build android, and cordova run android. The application
installs successfully on my phone, runs, and tells me that is has registered
successfully. However, when I look at my variant, I don't see it
registered. I have added logging messages to the aerogear-push.js file, and
can confirm that the register() function is not returning prematurely.
I then verified that nothing funny was showing up in the logs with regards
to anything related to aerogear, cordova, or the push service. The only
message of any note was this:
I/dalvikvm( 6598): Could not find method
org.apache.cordova.CordovaWebView.setWebContentsDebuggingEnabled, referenced
from method org.apache.cordova.CordovaWebView.setup
W/dalvikvm( 6598): VFY: unable to resolve static method 26844:
Lorg/apache/cordova/CordovaWebView;.setWebContentsDebuggingEnabled (Z)V
Other than that, there are no errors, no warnings, nothing.
Does anyone have any ideas for how to debug this further? I'm pretty stumped
at this point as to why it's saying it registered successfully when it
clearly didn't. Here are the other debugging steps that I took:
a.) Created a new application on the push server with a new variant. I was
concerned that since I already used the android version on this phone that
it wouldn't register with the cordova application. I changed over the
details of the cordova application in the index.js file and nothing changed.
b.) I tried changing the configuration in index.js to some garbage URL with
bogus variant information and the application doesn't hiccup at all, it
still says that it registered successfully, and all the log messages
indicate that everything went well. This leads me to believe that it's not
even bothering to call out at all...
--
View this message in context: http://aerogear-dev.1069024.n5.nabble.com/aerogear-push-helloworld-cordov...
Sent from the aerogear-dev mailing list archive at Nabble.com.
10 years, 8 months