spieglt / FlyingCarpet

Cross-platform AirDrop. File transfer between Android, iOS, Linux, macOS, and Windows over ad hoc WiFi. No network infrastructure required, just two devices with WiFi chips in close range.
GNU General Public License v3.0
3.6k stars 145 forks source link

[Feature Request] Reduce number of button presses required (Android) #82

Open azureorangexyz opened 4 months ago

azureorangexyz commented 4 months ago

[Feature Request] Reduce number of button presses required (Android)

I wanted to request a very small feature regarding at least the Android application. At the moment a lot of button presses are required to get a file transfer done. I'd like that to be improved.

Based on

OS: Android 13 / LineageOS App Version: 8.0.2

Current behaviour

At the moment everytime someone wants to receive a file, the directory to save the file to has to be selected and approved. This means that at least 5 button presses are required to start receiving files.

Also while sending files an OS has to be chosen. Maybe this can be avoided somehow.

Expected behaviour

As few button presses as possible are required to start a file transfer. I'd like the option to save said directory, to be able to start receiving with three button presses or less. See my thoughts below, I think simply one receive button would do the trick.

Some thoughts:

spieglt commented 4 months ago

The QR code doesn't contain OS information because the OS information is used to determine which device displays the code and which scans it. (The iOS version does not have to select the OS because Apple no longer lets you start hotspots programmatically, so it always has to join the hotspot, which is also why Flying Carpet can't do Apple-to-Apple transfers.)

However, I am working on a version that uses Bluetooth to transmit the OS and WiFi information, which will make the QR code scanning/password entry and the OS selection unnecessary.

Needing user approval to write to the folder is Android's restriction, if there's something I can do about that I don't know it. I think Android does default to the same receiving directory that was last used?