nearby-sharing / android

Share files between android and PC via the Windows 10 / 11 built-in sharing functionality (Project Rome)
https://nearshare.shortdev.de
GNU General Public License v3.0
646 stars 33 forks source link

When receiving, enable Bluetooth automatically if not enabled already #132

Open bzzrak opened 4 months ago

bzzrak commented 4 months ago

When I want to receive a file, I need to turn BT on in advance. It would be nice if the app did this by itself

ShortDevelopment commented 2 months ago

Similar to the code in SendActivity https://github.com/nearby-sharing/android/blob/92ef4de0d21974266c359155991c8b3b82bd16e8/src/SendActivity.cs#L209-L214 a check should be implemented in the ReceiveActivity https://github.com/nearby-sharing/android/blob/92ef4de0d21974266c359155991c8b3b82bd16e8/src/ReceiveActivity.cs#L166


Ideally, the app would wait for the result and continue instead of showing an error