There is a problem I've noticed with the Nearby Connections API, sometimes the same devices gets discovered two or more times. They have the same name but different endpointId. If we try to initiate connection with the first discovered device it never succeeds, connection is established only when selecting the device which was discovered last. I've spotted the same problem with the Nearby Share functionality. Is there any solution to this problem, like could we make the advertising device not change it's endpointId?
Nearby Connections API and Nearby Share discovers same device more than once
514 Views Asked by Daguna At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in GOOGLE-NEARBY
- Receive Nearby API messages on Android when screen off
- Can I add play.google.com music links to the beacon dashboard using app intent?
- Error codes in Nearby Connections 2.0
- Google Certified beacon partners?
- Cannot increase Google proximity API quota
- Google Nearby notification not shows when i near to beacone
- Google Nearby Messages API strategies
- Is it possible to publish messages using Google Nearby Messages in the background in Android?
- Google Nearby Connections Limit to Earshot Distance?
- Why Google Nearby Connections needs ACCESS_COARSE_LOCATION and/or ACCESS_FINE_LOCATION permissions?
- Not being able to Publish Message with Nearby.Messages [Android]
- Google Nearby Messages Publish Returns 2806 Forbidden (Android - React Native)
- Is it possible to share a link with Huawei Share just like with Google Nearby Share?
- Android "Nearby Share" Crash (was Native crash of com.android.bluetooth)
- Nearby Connections API: Unstable Connectivity in Long-Running Mesh Network
Related Questions in GOOGLE-NEARBY-CONNECTIONS
- Google Nearby Connections Limit to Earshot Distance?
- Google Nearby Connections - Timed Advertising
- How can I speed up making a connection with the Nearby Connections API?
- Nearby Connections API: Unstable Connectivity in Long-Running Mesh Network
- Google Nearby Connections API (iOS, Android)
- How to authenticate programatically Connection API?
- Android Nearby Connections cannot connect to device. Always returns 8011
- Android Nearby Connection send payload partially wifi aware and bluetooth
- Android Nearby Connection - Keeping wifi direct connection, reconnection with more than 4 devices
- What's the best way to communicate with nearby Android/iOS devices using Flutter
- Nearby Connections API and Nearby Share discovers same device more than once
- Can you update a message on google nearby message API?
- Can altbeacon be used for media streaming?
- How is Google's nearby share implemented?
- Unable to access downloaded file from Google Nearby Connections API in android Q
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

This should be fixed next week.
We made a change to rotate the EndpointID if the device stopped / restarted advertising. The goal was to better protect privacy, but it had the side affect of showing multiple targets until the first one times out. In the change that's now rolling out, restarting a high power advertisement within 30sec will reuse the same ID.
You can test the change out today by joining the Play Services beta.