grishka / NearDrop

An unofficial Google Nearby Share/Quick Share app for macOS
The Unlicense
4.2k stars 155 forks source link

Possibly good news #169

Open UnknownCrafts opened 2 months ago

UnknownCrafts commented 2 months ago

Google may add back the receive button in the Google Files app.

Screenshot_20240702_125613_Chrome.jpg

UnknownCrafts commented 2 months ago

The article: https://www.androidauthority.com/google-files-quick-share-3456247/

grishka commented 2 months ago

Oh, that's nice. Maybe they'll also enable that server-side setting for the alternative BLE broadcast format that Apple devices can send.

ciriousjoker commented 5 days ago

You can still open the receive dialog manually, by launching the nearby.sharing.ReceiveSurfaceActivity manually, for example through Tasker. Example: https://www.reddit.com/r/tasker/comments/l3n1ml/help_call_nearby_share_via_tasker/ Unfortunately that part can't be fully automated.

@grishka A workaround would be a simple webhook that could be called (for example an IFTTT webhook or a local one via home assistant). This webhook then triggers tasker (for example through a notification), which then opens the bottom sheet. Is adding such a webhook worth your time? If not, are you open for PRs in this regard? I'm pretty busy right now and I have no clue of Swift development though...

grishka commented 5 days ago

It would then require some sort of UI to explain and configure it 🤔

ciriousjoker commented 5 days ago

I think a simple action here would be enough. It could open a dialog that just asks for a url. Swift probably has some sort of prebuilt thing for that. CleanShot 2024-09-17 at 16 05 16@2x

Sure it's not pretty, but it would get the job done. I'd personally even be fine with a dot config file somewhere, but this would probably be the minimal UI you could get away with.