Closed bkawk closed 6 years ago
@eduadiez and @xardass can you solve this issue? It should not be blocked anymore I guess, or @eduadiez can unblock it
I have assigned it @xardass , from the point of view of the API it should not be blocked.
@eduadiez Can you check if the current API implementation allows me to unsubscribe from subscriptionShortCode? I can subscribe to channel 'createShortCode', but I need to signal my unsubscription to the API, so the API will delete the shortCode when I unsubscribe.
Done
When the user clicks the short code button, signal to redux that the user needs a short code the redux name will be 'usingShortCode'
Listen to redux for the shortCode request, when received make a subscription to the API for 'createShortCode' by sending a publicKey, base64 avatar and the username
On return from the API call to createShortCode store the data in redux
Listen for an event in redux 'cancelShortCode' then unsubscribe from the shortCode
Dependencies
API returns data as specified
API Subscription is as named and functioning
Time Estimate
3 hours