<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi, I'm developing a mobile app for android and ios for our
    University. It will use AeroGear Unified Push Server to send
    notifications to students when a new announcement is sent in our
    LMS. <br>
    <br>
    We are developing the app with ionic framework and we are using the
    register and unregister process through a custom backend service
    instead of direct from device. <br>
    <br>
    We use the cordova plugin and we call registers and unregister JS
    methods, but we don't point to the push server endpoint, but backend
    server instead.  Once the Backend server gets the requests it
    creates a new request to Push server providing variantSecret and
    variantID; the response received is sent back to the app. <br>
    <br>
    We would like to use this flow for security reasons. We want to
    avoid that the users do their own apps and use those values to
    register and supply alias to get users notifications. So backend
    handles the security (tokens, deviceids, usernames, ... ) and if
    everything is ok then proxies then backend generates a new request
    fullfilling alias and real authentication parameters and the
    received parameters from app. We achieved the registation and
    unregistration, but when unregistration process is done if we do a
    new re-registration then we got a success response, but then
    notification didn't arrive. <br>
    <br>
    Has anybody did something similar to this approximation? Do you have
    any advise or trick that would be useful for us?<br>
    <br>
    Thanks in advance<br>
    <br>
    Alex<br>
    <br>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <p>Alexandre Ballesté Crevillén alexandre.balleste at udl.cat<br>
        ====================<br>
        Universitat de Lleida<br>
      </p>
      <p>Àrea de sistemes d'Informació i Comunicacions</p>
      <p>Analista/Programador</p>
      <br>
      <p>University of Lleida</p>
      <p>Information and Communication Systems Service</p>
      <br>
      <p>Tlf: +34 973 702148</p>
      <p>Fax: +34 973 702130</p>
      <p>=====================</p>
      <p>
        <a href="http://www.imatge.udl.cat/avis_legal_lopd.html">Avís
          legal/Aviso legal/Avertiment legal/Legal notice</a>
      </p>
    </div>
  </body>
</html>