Ask HN: How do you handle peer-to-peer discovery on iOS without a server?
I'm building an app that syncs between phones over Bluetooth when there's no cell service. Android has Nearby Connections API which handles discovery and transport nicely. iOS has Multipeer Connectivity but it's flaky and Apple hasn't updated it in years. CoreBluetooth works but discovery is slow and you're limited to advertising 28 bytes. Has anyone found a reliable cross-platform approach to BLE device discovery that doesn't require a central server or pre-shared identifiers?
(
6 comments
| 5 points
| on HN
)
It’s something that’s consistent across both platforms is why I mention it, I don’t currently have an esp32 laying around to see if it’s done in the UI on the client or on the esp32 itself- mostly because I disliked the heltec and moved to an area where nobody’s using them now. I’m stuck on this question of trying other makes and models or giving up on the lorawan thing. For the moment I’m pegged out on how far I wanted to go with it.
did you find this project in your travels yet? apparently some portions of it stay and remain uniquely identifiable which this team considers a bug and apples position on it for now is a wont-fix
https://github.com/furiousMAC/continuity
I like the fact that they rotate them (and WiFi addresses) out so I don’t get stalked with tailored ads in Walmart or whatever but they only went so far with it and it’s probably still feasible
so that’s discovery, I don’t have any ideas about retention offhand (you already do) but you’ve had that question rattling around for awhile and it’s new to me.