ibm-bluemix-mobile-services/bms-clientsdk-swift-push

Cannot set userId when registering for push notifications

Closed this issue · 4 comments

The Push Notification REST API supports sending notifications to a specific userId, but there doesn't seem to be a way to set the userId that is passed to the Push Notification Service. In fact, in BMSPushClient.swift, it appears to be hardcoded to an empty string. There is some commented-out code that appears to be an initial attempt at supporting a consumerId. What's the plan for supporting this in the future?

Hi, We are not supporting UserId based notifications right now.

Are you guys supporting it now? I was thinking I could set the UID as the topic?

@AnanthaKrish, great. can you help me with this: #106