We have the iOS MobilePush SDK setup in our app. We can send broadcast mobile push messages and geofenced messages.
In our app, the guest can sign in and when they do, we are calling setSubscriberKey to associate the signed in user with their ET Email account.
\\ Assigning subscriber key. [[ETPush pushManager] setSubscriberKey: [user userId]];
So far so good.
Now the question is this:
On sign out, what is the appropriate way to unassociate the device from the ET Email account?
I tried to set the subscriber key to
nil with no effect.
\\ Attempting to remove subscriber key, does not work. [[ETPush pushManager] setSubscriberKey:nil];
I can just set the value of the subscriber key to a random GUID, but I am not clear is that is a great idea or not.