nearby-sharing / android

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

Background service for sending #144

Open ShortDevelopment opened 8 months ago

ShortDevelopment commented 8 months ago

Issue

Currently, if a users closes the app or the screen goes dark during the transfer does not finish. https://github.com/nearby-sharing/android/blob/4c7425292edb373ac043c5c6743bcafc1b51546c/src/SendActivity.cs#L382-L387

Solution

Move the cdp instance into a common background service that will be used for all transfers.

sentry-io[bot] commented 8 months ago

Sentry Issue: ANDROID-11