UnifiedPush / android-connector

Mirror of https://codeberg.org/UnifiedPush/android-connector/
Apache License 2.0
35 stars 8 forks source link

fix: Re-register if the active distributor was deleted #90

Closed nikclayton closed 3 months ago

nikclayton commented 3 months ago

The user might register with a distributor, and then delete the distributor app.

If that happens the user is not prompted if there are no distributors, and re-registration does not happen.

Fix this by checking the ack'ed distributor is still in the list of installed distributors.

p1gp1g commented 3 months ago

There was a conflicting redefinition. I've updated and merge your branch : https://github.com/UnifiedPush/android-connector/commit/3c7a350f14e27cd2f6226d3a6e7ea3c7397be78e