0xf104a / NextcloudServices

Android app to send notifications from Nextcloud without using GCM(Google cloud messaging)
GNU General Public License v3.0
65 stars 11 forks source link

Force WiFi Polling #20

Open sunjam opened 3 years ago

sunjam commented 3 years ago

Would it make sense to add an option to force polling only over WiFi? or, perhaps it might more make sense optionally define a separate Polling interval for WiFi only connections.

No worries either way. Thank you so much for this great app!

0xf104a commented 3 years ago

I think there is no sense to make switch for focre polling only through WiFi, since by default Android sets all WiFi networks as "unmetered" and all mobile networks as "metered". In app there is a switch to enable/disable usage of metered networks(disabling it is equivalent to force polling over WiFi on most of devices). So there is a sense to implementing such switch only for users who use app on the devices which have paid ethernet(which is as I think not the case :) ) As per polling interval I think it is good idea to add ability to set polling interval for metered networks and unmetered networks separately.

0xf104a commented 3 years ago

Features to add: