Azure / Azure/azure-notificationhubs-android

Device is unregistered but still getting notification

Open
#5 11 comments 0 reactions 0 assignees View on GitHub
registration-flow
Dominant language
Java
Stars
33
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Hi,

There is a common problem I saw around. Sometimes a device is registered multiple times. When you unregister it doesn't unregister all registrationIDs associated with the device. It just deletes one.

The scenario to recreate the issue is that if the user uninstalls our app, we won't be able to unregister their device. When they install again they will be registered twice. If we unregister latest registrationId, the first one still be in the hub.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the repeated-registration and unregistration scenario in the Android SDK, then trace how registration IDs are stored and removed. Done means unregistering a device removes all registration IDs associated with it, so the unregistered device no longer receives notifications.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.