Readmore: https://github.com/grishka/NearDrop.
NearDrop is a partial implementation of Google’s Nearby Share for macOS.
Protocol documentation is available separately.
The app lives in your menu bar and saves files to your downloads folder. It’s that simple, really.
Limitations
- Wi-Fi LAN only. Your Android device and your Mac need to be on the same network for this app to work. Google’s implementation supports multiple mediums, including Wi-Fi Direct, Wi-Fi hotspot, Bluetooth, some kind of 5G peer-to-peer connection, and even a WebRTC-based protocol that goes over the internet through Google servers. Wi-Fi direct isn’t supported on macOS (Apple has their own, incompatible, AWDL thing, used in AirDrop). Bluetooth needs further reverse engineering.
- Visible to everyone on your network at all times while the app is running. Limited visibility (contacts etc) requires talking to Google servers, and becoming temporarily visible requires listening for whatever triggers the “device nearby is sharing” notification.
Installation
Download the latest build from the releases section, unzip, move to your applications folder. When running for the first time, right-click the app and select “Open”, then confirm running an app from unidentified developer.
If you want the app to start on boot, follow these steps to add NearDrop as a login item.
Installation with Homebrew
brew install grishka/grishka/neardrop
Contributing
Pull requests that change the readme will not be accepted.
FAQ
The app would not open because “Apple cannot check it for malicious software”, you gotta fix your shit
Right-click the app in Finder and select “Open”. Or, open System Settings -> Privacy and security, scroll down and allow the app to run.
My Android device doesn’t see my Mac
Make sure both devices are on the same Wi-Fi network. Local network communication may not work on some public networks — for example, in coffee shops or hotels. If you’re on your own network, check your router settings to make sure it’s not blocking local devices from talking to each other.
How do I send files?
Right-click a file in Finder, select Share, then select NearDrop.
How do I send links?
From the menu bar: File -> Share -> NearDrop. Safari also has a share button on the toolbar.
My Mac doesn’t see my Android device
Unfortunately, Android listens for specific BLE (Bluetooth Low Energy) broadcasts to automatically become visible, and macOS doesn’t allow apps to send them. As a workaround, you have to open the “Google Files” and tap “Receive” on the “Nearby Share” tab.
To make it more easily accessible and/or if you don’t want to install Google Files, you can use an app like one of these to create a shortcut to launch one of these activity intents:
- Option 1:
- Action:
com.google.android.gms.RECEIVE_NEARBY
- Mime type:
*/*
- Action:
- Option 2:
- Component name:
com.google.android.gms/.nearby.sharing.ReceiveSurfaceActivity
- Component name:
Can the menu bar icon be removed?
Yes. Drag the icon off the menu bar while holding cmd. To bring it back, launch the app a second time, while it’s already running.
I’m sending something to my Mac, the Android device displays a PIN code, but nothing happens on the Mac
Make sure you have “do not disturb” off. The notification may also sometimes (rarely) end up in the notification center without being shown as a popup first — I’m not sure why this happens.
Why is the app not notarized?
Because I don’t want to pay Apple $99 a year for the privilege of developing macOS apps and I oppose their idea of security. The slightly less scary security warning isn’t worth $99/year IMO.
Why is this not on the app store?
Because I don’t want to pay Apple $99 a year for the privilege of developing macOS apps. I also don’t want to have to go through the review process.
Why not the other way around, i.e. AirDrop on Android?
While I am an Android developer, and I have looked into this, this is nigh-impossible. AirDrop uses AWDL, Apple’s own proprietary take on peer-to-peer Wi-Fi. This works on top of 802.11 itself, the low-level Wi-Fi protocol, and thus can not be implemented without messing around with the Wi-Fi adapter drivers and raw packets and all that. It might be possible on Android, but it would at the very least require root and possibly a custom kernel. There is an open-source implementation of AWDL and AirDrop for Linux.
48 Responses
cho e xin cuốn này với a ơi.
Công thức vận hành tỉ phú
https://ishite.jp/products/cong-thuc-van-hanh-ti-phu?srsltid=AfmBOoq1MNwhjEX70WqLje0EmRTa4n02-EHWIeIeCusREq5C2fJjNNeK
cám ơn a
Đang test web mới, chứ web cũ làm mấy năm nó rác chạy chậm quá. https://ghost.kollersi.com – anh em rảnh xem thử cho fb
web mới chưa đăng nhập được hả ad
đang làm test – xem thế nào, trước mắt thấy nó nhanh hơn trang hiện tại nhiều. mà ko có chức năng gì hết.
https://music.apple.com/vn/playlist/china/pl.u-GgA5kl6cxRdG3R0
ad tải dùm em list này với nhé em cảm ơn ạ
roi nha
có 2 cuốn Đừng vì cô đơn mà nắm vội một bàn tay, Cô đơn nhưng không cô độc – Hạnh phúc luôn bên ta, ko tải được ad ơi
Cô đơn nắm vội fix, sáng nay rảnh fix luônc ái còn lại nha
Ad lấy giúp mình Album này nhé: https://music.apple.com/us/album/m%C6%B0a-h%E1%BB%93ng/374179360?i=374179385
rùi nha
Cho em xin sách Nếu thế gian chẳng còn mèo với ạ
Hảo Hữu Tử Vong: Tu Vi Của Ta Lại Tăng Lên
ad cho mình xin bộ truyện này
Rồi nha
mình xin film American Assassin với nha ad
Done
a ơi có thời gian cho e xin bộ tây du kí 86
thanks a
Đang lên nha
thanks a
https://music.apple.com/vn/album/bằng-kiều-vol-9/1754614482 em xin album này nhé bác
rồi nha
ad cho mình xin phim này với
Mầm sống hiểm họa (2017), tên tiếng anh: Life
còn film này nữa ad ơi 😀
https://music.apple.com/vn/album/%E9%86%92%E4%B8%8D%E6%9D%A5%E7%9A%84%E6%A2%A6/1667021081?i=1667021357
ad cho mình xin bài này nha
cho mình xin bài này lun nha ad, Lâm Tuấn – Hứa Đợi Nhưng Chẳng Tới
bài này post lâu rồi
https://music.apple.com/vn/album/%E5%A4%87%E6%B3%A8%E6%94%B9%E5%85%A8%E5%90%8D/1815432792?i=1815432797
cho mình xin bài này nữa nha
ad cho em xin bộ phim ” in your eyes 2014 ” với nhé
Rồi nha, phim nay cũ nên chất lượng coi tạm à. có bản đẹp nhưng lại ko có phụ đề. mấy team dịch phụ đề toàn đóng thẳng vào video
ad cho minh xin bài này với
Trungg I.U – ‘THẾ GIỚI NÀY CÓ NHIỀU NGƯỜI TỐT’
Rồi nha bồ tèo
Trungg I.U x Lâm Bảo Ngọc – ‘TÌNH YÊU BUÔNG THA CHO CHÚNG TA’ , thêm bài nữa sếp ơi
PHẠM ĐÌNH THÁI NGÂN – TAY NẮM TAY RỜI, bài này luôn sếp
Mai nha, server get mới die, mới mua con mới hôm qua, đang setup lại.
Rồi nha, tui ké được bài, Tay Nam Tay Roi
https://music.apple.com/vn/playlist/flac/pl.u-NpXmzl3IL1are18?lshttps://music.apple.com/vn/playlist/flac/pl.u-NpXmzl3IL1are18?ls
Ad tải dùm em list này với ạ
Done nha, search Kmusic
Ad có biết video couse nào về đồ họa hoặc lập trình cho trẻ em không, tìm giúp mình với
https://forlangworld.blogspot.com/p/scratch.html -> cái này lập trình game khá hay, bạn cho con chơi thử nhé. cho bé tư duy logic trước
Hay quá, cảm ơn ad nhiều 😀
Ad có list nhạc kiểu top 100 bài hay nhất hồi 2010 không ạ, nếu có thì up dùm em với ạ, tự nhiên nghe mấy bài hồi đó hoài niệm quá
Tú vào apple music tạo 1 cái list nhạc bài nào lấy rồi gửi mình cái link list đó là nhanh nhất nha, chứ hỏi mình 2010 thì cũng ko biết cần bài nào nữa.
https://music.apple.com/vn/album/bản-tình-cuối/1559734798
https://music.apple.com/vn/album/những-tình-khúc-yêu-cầu/1579091108
bác cho em xin 2 album này nha
Done nha
Ad cho mình xin bộ manga Darwin’s Game bản CBZ tiếng Việt hay tiếng Anh đều đc ạ
server microsoft bị lỗi, báo thứ 3 mới sửa xong. thứ 3 up cho nha. Eng Viet có đủ, mà bộ này thấy có 121 chap
dạ vâng, bộ này hình như chưa ra hết
Bộ này 30 Vol – 121 Chap là full luôn rồi đó.
Up ENG_VIE luôn đó.