Hi Fabio,
Can you have a look in the UPS logs? The device log might also provided
some extra information. Running it from xcode you can see this log. Not
being able to register can not be the cause of the certificate is not
configured correctly, that will only prevent UPS from sending a message to
the device.
On Wed, Sep 2, 2015 at 10:06 PM, Fabio Turizo <fabio.turizo(a)gmail.com>
wrote:
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.
_______________________________________________
Aerogear-users mailing list
Aerogear-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users
--
Cheers,
Erik Jan