Commit Graph

143 Commits

Author SHA1 Message Date
Andrea Busi f66d6558b5 refactor: Move getDeltaMinute to EQNUtility 2024-06-07 17:03:13 +02:00
Andrea Busi 8cf69a9d12 fix: Don't perform user registration if Firebase token is null
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/65
2024-06-06 10:54:31 +02:00
Andrea Busi 37f9a856b1 feat: Filter modify notification settings by default 2023-09-14 17:02:17 +02:00
Andrea Busi f42b9f1b53 refactor: Migrate some UserDefaults constants 2023-09-14 17:02:17 +02:00
Andrea Busi 31f1cb5f35 refactor: Can enable/disable background position debug 2023-09-14 17:02:17 +02:00
Andrea Busi 037a74061d feat: Perform WS request to upload user position 2023-09-14 17:02:17 +02:00
Andrea Busi ec94db29b9 feat: Add background task to get user location 2023-09-11 15:52:27 +02:00
Andrea Busi f54f4a2312 refactor: Remove no longer needed available checks 2023-08-16 12:02:32 +02:00
Andrea Busi b7c1f7379d refactor: Migrate some user default constants 2023-08-16 11:54:52 +02:00
Andrea Busi 16dc2410bc fix: Get user location if manager one is null 2023-08-10 15:58:59 +02:00
Andrea Busi 468659ee9f refactor: Align card colors with Android app 2023-07-24 17:30:28 +02:00
Andrea Busi f0fe102901 feat: Use intensity color for alert card 2023-07-21 08:08:55 +02:00
Andrea Busi e531088c86 feat: Add helper class for debug purpose 2023-07-14 16:17:26 +02:00
Andrea Busi 7e0112bf94 refactor: Use new extension method to evaluate difference between dates 2023-07-14 16:17:26 +02:00
Andrea Busi 5d12a86cfe refactor: Move alert expiration login inside new EQNRealtimePushNotification class 2023-07-14 16:17:26 +02:00
Andrea Busi 09e7786e65 feat: Handle realtime alert notification message based on intensity value 2023-07-14 16:17:26 +02:00
Andrea Busi 8671533e91 feat: Store lastLocation in appGroup instead of app user defaults 2023-07-14 16:17:15 +02:00
Andrea Busi 9bd94def0f refactor: Migrate UserDefaults key for app migration 2023-07-14 16:17:15 +02:00
Andrea Busi 29c325b7e2 refactor: Migrate UserDefaults key for user data informations 2023-07-14 16:17:15 +02:00
Andrea Busi 7e26fee45b refactor: Migrate some UserDefaults from Macro to new constants 2023-07-14 16:17:15 +02:00
Andrea Busi 76d551b847 refactor: Create Swift constants file for UserDefaults 2023-07-14 16:17:15 +02:00
Andrea Busi 8f55553759 refactor: Print notification payload 2023-07-14 16:17:15 +02:00
Andrea Busi b44a0a2e27 refactor: Create a model to handle realtime push notification 2023-07-14 16:17:15 +02:00
Andrea Busi 2405be895c refactor: Remove radius and intensity filters for real time notifications
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/61
2023-05-19 17:06:54 +02:00
Andrea Busi 89ca785864 refactor: Remove unused logic for Do not disturb notifications 2023-05-19 17:06:32 +02:00
Andrea Busi 60678d0839 refactor: Use proper way to manage plural in localized strings 2023-05-18 12:02:01 +02:00
Andrea Busi 88b36a501d refactor: Align strings with Android app and some reorder 2023-05-18 12:01:26 +02:00
Andrea Busi 01e8996572 refactor: Use new request parameters for network downloads endpoint 2023-03-28 18:09:40 +02:00
Andrea Busi 19c6b3d642 refactor: Move selected seismis networks management to EQNUserData 2023-03-28 18:09:40 +02:00
Andrea Busi 0c63a59f19 feat: Add UOA as seismic network 2023-03-28 18:09:40 +02:00
Andrea Busi 806b4b67bf feat: Migrate to new network downloads endpoint and remove weather feature 2023-03-24 09:54:27 +01:00
Andrea Busi 851ece0a3b feat: Migrate smartphone download and subscription counter to new cached endpoints 2023-03-24 09:53:10 +01:00
Andrea Busi e69747f133 refactor: Migrate preference to AppPreferences class 2022-11-18 08:33:35 +01:00
Andrea Busi 09685fd4a7 feat: Store user selection for compact/expanded view in suer report 2022-11-17 22:21:59 +01:00
Andrea Busi 3e122240dc refactor: Rework image creation 2022-11-17 22:13:18 +01:00
Andrea Busi c6ec20e180 refactor: Migrate some extensions usage to Shogun 2022-11-17 15:42:32 +01:00
Andrea Busi 0212d0a15f fix: Minor UI tweaks in user reports map 2022-11-17 15:42:32 +01:00
Andrea Busi e9986e0fe1 feat: Align user report map to Android app 2022-11-15 22:47:42 +01:00
Andrea Busi fc5bdbcc92 fix: Solve issue with new registration logic 2022-11-15 12:28:54 +01:00
Andrea Busi f9bdb84ad9 feat: Align 'last 24h user reports' card to Android 2022-11-11 15:16:16 +01:00
Andrea Busi bee18f6407 refactor: Use existing category for dictionary parsing 2022-11-11 15:16:16 +01:00
Andrea Busi 96f3a44db4 feat: Reset Firebase token to force a new server registration 2022-11-11 15:16:16 +01:00
Andrea Busi 3b53350969 refactor: Store lastLocation in EQNUserData 2022-11-11 15:15:47 +01:00
Andrea Busi f3c3c19e39 refactor: Store userId in EQNUserData 2022-11-11 15:15:47 +01:00
Andrea Busi 8404d72d8f refactor: Rework user registration to solve double registration
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/50
2022-11-11 15:15:40 +01:00
Andrea Busi 63592e6cfb refactor: Create a model for the realtime alert 2022-06-17 14:42:47 +02:00
Andrea Busi 5ceaa4a8be fix: Save user position after server registration 2022-05-26 18:06:37 +02:00
Andrea Busi 94bdb9dbe1 fix: Don't try to parse nil data 2022-05-26 18:06:27 +02:00
Andrea Busi ee1b762032 fix: Call callback for position endpoint 2022-05-26 18:06:13 +02:00
Andrea Busi d55b2ec98f fix: Solve wrong value save in settings 2022-05-22 21:31:50 +02:00