GmsCore
GmsCore copied to clipboard
Implementation of Nearby Share
i really hope @mar-v-in adds support for nearby share. its really useful and a genuine competitor for airdrop, unlike previous attempts its a universal standard.
It seems like there is an implementation for chrome under development: https://source.chromium.org/chromium/chromium/src/+/master:chrome/browser/nearby_sharing/
would love to see this implemented.
I'm getting more and more interested in Nearby Sharing - and also other Nearby APIs from google - they look really cool aka something that google would deprecated after a year - but they actually didn't!
Discord, for example, uses it to let you discover people nearby - this is such an obvious feature that absolutley every messaging app should have, but they don't :thinking:
One time I wanted to try it out, but I couldn't, because microG didn't have it :disappointed: - we still had to slowly exchange usernames with my friend
I don't know why corona warnings are named nearby - but we should probably change this :confused:
Also, looks like google is slowly open sourcing it:
- https://github.com/google/nearby-connections/
- https://github.com/chromium/chromium/tree/master/third_party/nearby
- https://github.com/chromium/chromium/tree/master/chrome/browser/nearby_sharing
- https://stackoverflow.com/questions/63991333/how-is-googles-nearby-share-implemented
Can we open a bounty for this? @mar-v-in, this is THE feature we need :pray: :eyes: :rocket:
I would Absolutly love it
Nearby share would be an incredibly useful feature... As android beam is uh discontinued... Introducing this I think would take a lot of work... I'm gonna go mess around myself... Likely not gonna get anywhere... But still would be fun to mess around with. Willing to put up a bounty myself. But not ready to yet. Anyway I'll be back to this thread later.
I'm trying to document the protocol here https://github.com/alex9099/SimpleNearby
Also I'm doing a PoC implementation in python, should then be ported to java/kotlin to use on android/microg but to do quick prototypes I find python quite simple :D
Even though google released the code for it, there doesn't seem to be proper documentation, which makes understanding the whole thing quite complicated
If anyone wants to help feel free to contact me
nearby share is a quite useful feature which most android users have never heard of. it would be excellent if it also could be done with privacy or at least more privacy as google's implementation
Nearby Share is quite the nice feature, which people without Google Play services sadly can't use, just like many other features that GMS provides. It would be great if someone could step up and start working on an implementation, especially as it would probably be more private.
yes, i meant what if there is a Nearbyshare like feature for microG, it would be a great addition to the project, i am not good enough in programming to create such a feature.
https://github.com/grishka/NearDrop/blob/master/PROTOCOL.md
Some more documentation on the protocol, may help implementing this feature.
Also, there is an implementation for MacOS: https://github.com/grishka/NearDrop
I should take a look into that project, i was following the BT/BLE approach, they are doing the TCP (so you are already in the same network) approach. Haven't had much time (or motivation) to develop it further
i know that NearbyShare uses a BLE Beacon to open up a Wifi-direct connection and if the phones both have network and get seperated will it switch to sending it over the internet if allowed in the settings.
any updates ? is the support for nearby connections planned?
just wanted to add that now it is called quick share, and there is an implementation for linux that may be useful to somebody who wants to implement it. https://github.com/Martichou/rquickshare
Also looking forward to it