Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-3676

Response from push server ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 1.2.0
    • 1.2.0
    • None
    • None

      When Registrar#register is called, there is nothing that would check the server response, so even if the call wasn't successful, if it didn't throw an exception, it will be reported as a successful call.

      On this line, HeaderAndBody object is being returned from the call but ignored and not verified:
      https://github.com/aerogear/aerogear-android/blob/push/src/org/jboss/aerogear/android/unifiedpush/Registrar.java#L126

              supittma@redhat.com Summers Pittman (Inactive)
              tkriz_jira Tadeas Kriz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: