Details
-
Feature Request
-
Resolution: Done
-
Major
-
1.2.0
-
None
-
None
Description
The device token is part of the URL:
https://github.com/aerogear/aerogear-js/blob/master/src/unifiedpush/aerogear.unifiedpush.js#L124
and the server does not care about submitted body:
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/installations/InstallationRegistrationEndpoint.java#L117-L121
Hence we should not include the token on the payload here:
https://github.com/aerogear/aerogear-js/blob/master/src/unifiedpush/aerogear.unifiedpush.js#L128-L130