if you really need to share a file to someone elses phone who is nearby use Bluetooth
i really don't see why this was such a big new feature that a lot of android users wanted
i mean, nearby share needs bluetooth on anyway and opens a wifi hotspot on your device
¯\_(⊙_ʖ⊙)_/¯