notifications - Sinch didReceiveIncomingMessage: called on initialization incorrectly -


if user receives 20 messages in app, deletes app, reinstalls it, notification badge on app icon increments 20 after first open of app. time badge icon incremented in didreceiveincomingmessage: sinch method should called when client receives new incoming message. however, there no new incoming messages after installation , badge icon reads total messages received user, leading me believe after sinch client initialized, messages registered user seem run though sort of process calls didreceiveincomingmessage: method each message. i've tried understand what's going on during initialization of sinch client , research issue nothing seems come up. ideas?

its design, when install in on "new" client deliver messages last 30 days device. if dont want badges on can check timestamp , not "consider" new. make sense you?


Comments

Popular posts from this blog

html - height not adding height to a empty div -

angularjs - Redirect to a new template in angular js -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -