AeroGear unified push notification
by Walto, David
Hi, I a new AeroGear unified push notification user. I am trying to create a simple push notification from a WebSphere java application.
I have created a couple of push notification classes to test (below) and both version I get the error:
SenderClient E Send did not succeed: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 64
I have the following jars for this application.
[cid:image001.png@01D0EB25.5E1F6EE0]
[cid:image003.png@01D0EB25.C89EC4F0]
Any direction how to resolve this would be greatly appreciated.
Thanks in advance.
David Walto
Senior Application Engineer | EMR Engineering and Integration
Baystate Health | Information & Technology
1550 Main Street, Springfield, MA 01199 | p: 413-794-0627 | f: 413-794-5570
----------------------------------------------------------------------
Please view our annual report at http://baystatehealth.org/annualreport
CONFIDENTIALITY NOTICE: This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please reply to the sender immediately or by telephone at 413-794-0000 and destroy all copies of this communication and any attachments. For further information regarding Baystate Health's privacy policy, please visit our Internet site at http://baystatehealth.org.
7 years, 2 months
Unified push server development environment setup
by mo
Hi,
I'm trying to run the unified push server in a development environment to
troubleshoot and understand it better. I'm wondering if there is any
documentation available to assist me with setting up development environment
for it. I've looked though documents under "Contributing to AeroGear", but
I am in need of a more detailed guide. I'd like to get to a point where I
can run unified push, break point, and inspect variables, and so on.
So far I've managed to run 'mvn test' successfully on the unified push
server source code. I use Eclipse, so I wanted to import the project. I
get quite a lot of errors in doing so.
I am troubleshooting version 1.0.2. We use OpenShift to deploy the aerogear
server.
I appreciate any help. Thank you.
Michi Oshima
--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Unified-push-server-developme...
Sent from the aerogear-users mailing list archive at Nabble.com.
8 years, 1 month
categories have been hijacked
by Kelvin Lunsford
Setting "categories" in the push payload was working for android and ios in cordova push plugin 1.1.1.
For version 2.0.2 "categories" only works for ios.
It looks like "categories" is being hijacked in android for a GCM feature called "topics".
I liked "categories". I was using it. Now it's gone. GCM topics is not a drop-in replacement. It's not the same thing.
New features should get new names and new commands.
- Kelvin
8 years, 1 month
Android: How can i get user's roles from Keycloak(OAuth2 Endpoint)?
by Naif
Hi everyone
I checked the aerogear android cookbook, and i found the 'ShootAndShare'
demo, it has interesting code in the 'KeycloakHelper.java' with some utility
methods. But, i would like to know, how can i get the roles for a registered
keycloak user?
Are the AuthorizationManager and AuthzModule the right classes for this
task? Or, it is better to use another approach? Because, it would be
necessary to retrieve more user information from Keycloak(i.e. user email,
first name, etc) and to code a correct logout method.
Any ideas?
Thanks in advance.
--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Android-How-can-i-get-user-s-...
Sent from the aerogear-users mailing list archive at Nabble.com.
9 years, 1 month
Error registering for push notifications in iOS
by Fabio Turizo
Greetings.
Ia have an error when i try to register an user in a Cordova app to the
Unified Push Server. The error callback in this code:
*function registerPush(alias) {*
* if(typeof push !== 'undefined'){*
* console.log('Registering push notifications for: ' + alias);*
* $.ajax({*
* url: "push-config.json",*
* dataType: "json"*
* }).then(function (pushConfig) {*
* pushConfig.alias = alias;*
* push.register(onNotification, successHandler, errorHandler,
pushConfig);*
* function successHandler() {*
* console.log('Succesfully registered to aerogear push!');*
* }*
* function errorHandler(message) {*
* console.log('Error registering aerogear push: ' +
message);*
* }*
* });*
* }*
*}*
Gets called with a 'null' message. Do you have any suggestions to debug
this issue further? I've tried re-issuing a new APN certiticate but it
didn't work.
9 years, 2 months
crypto release
by Erik Jan de Wit
Prepared a release branch of the crypto plugin it fixes the promise plugin
dependency and updated the crypto libs for your testing pleasure if no
issues are found I'll create a release
--
Cheers,
Erik Jan
9 years, 2 months
cordova push plugin release
by Erik Jan de Wit
I've create a release branch (release) for your testing pleasure with the
cordova push plugin 2.0.3. 2 issues have been resolved there is now windows
platform support and a fix in the android lib that broke the categories. If
there aren't any issues reported I'll release this version
--
Cheers,
Erik Jan
9 years, 2 months