android - Nearby Messages repeated on reconnecting -


i've written small test application works simple chat room using nearby.messages_api.

when subscribe find receive number of older messages in messagelistener (in onfound). if disconnect , reconnect (eg. switch application) find messages come through again. meant happen?

i have changed application include uuids in messages , keep stash of them check whether have received message, may not idea memory point of view (although put them in database).

i don't understand how "session" side of nearby messages works.

in google play services 7.8 "sessions" internally divided ten minute buckets. you're not first person confused this, we're looking @ options differently in future. no promises, recognize it's issue.

(i work on nearby api)


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -