GmsCore icon indicating copy to clipboard operation
GmsCore copied to clipboard

Implementation of Nearby Share

Open VesperLlama opened this issue 5 years ago • 20 comments

Is it possible to add Nearby Share to MicroG and also make it work with the normal Play Services?

VesperLlama avatar Nov 17 '20 15:11 VesperLlama

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.

FarisZR avatar Jan 20 '21 18:01 FarisZR

It seems like there is an implementation for chrome under development: https://source.chromium.org/chromium/chromium/src/+/master:chrome/browser/nearby_sharing/

s3n-w6i avatar Feb 18 '21 09:02 s3n-w6i

would love to see this implemented.

samyakbardiya avatar Apr 15 '21 18:04 samyakbardiya

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:

TheLastGimbus avatar Oct 03 '21 14:10 TheLastGimbus

I would Absolutly love it

ghost avatar Jan 18 '22 19:01 ghost

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.

fbievan avatar Oct 21 '22 14:10 fbievan

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

alex9099 avatar Feb 06 '23 23:02 alex9099

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

Idcrafter avatar Feb 07 '23 04:02 Idcrafter

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.

cyrneko avatar Jun 02 '23 00:06 cyrneko

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.

Idcrafter avatar Jun 19 '23 00:06 Idcrafter

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

bblacher avatar Sep 08 '23 17:09 bblacher

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

alex9099 avatar Sep 11 '23 22:09 alex9099

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.

Idcrafter avatar Oct 26 '23 20:10 Idcrafter

any updates ? is the support for nearby connections planned?

rorlig avatar Dec 17 '23 02:12 rorlig

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

Blisterexe avatar Apr 13 '24 00:04 Blisterexe

Also looking forward to it

kv9898 avatar Apr 24 '24 08:04 kv9898