polito / students-app

Politecnico di Torino's official mobile application for students
European Union Public License 1.2
157 stars 18 forks source link

Please, adding button to export weekly calendar!!! #520

Open mulaz1 opened 2 months ago

mulaz1 commented 2 months ago

Add button to export entire weekly schedule to personal calendar (useful documentation https://medium.com/@davidapears/add-to-calendar-in-reactnative-ios-android-2479f2830666)

QcFe commented 2 months ago

Thanks for the suggestion. To be honest, however, I'm not sure this is the best way to implement this kind of integration.

All lectures can already be exported as a web calendar from here (by tapping onto a lecture slot, in the details area that appears you can get a link to the calendar that you can import in your favorite calendar app/service as a subscription) with the major advantages of being imported in bulk and supporting automatic updates.

So personally, I think it could be more meaningful to find a better way to implement calendar import through subscription, instead of having to import lectures one by one (as, if I understood correctly, it's how the article you sent implements the solution) or weekly (even if after a brief read I didn't understand how to do it, plus still, it'd not be kept in sync in case of changes).