Commit Graph

85 Commits

Author SHA1 Message Date
Andrea Busi 45f19a7533 feat: Add circles in map detail 2021-03-24 20:23:20 +01:00
Andrea Busi ae247a1695 feat: Allows to change filters from map detail (seismic network) 2021-03-23 19:12:39 +01:00
Andrea Busi 7e4d9c89bb feat: Add new setting to enable/disable critical alerts
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/31
2021-03-23 19:12:39 +01:00
Andrea Busi b52e050dd6 refactor: Use new icons in app 2021-03-23 19:12:39 +01:00
Andrea Busi 1e17ad257a feat: Recreate seismic networks map with new logic and aligned with Android app
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/36
2021-03-18 18:54:34 +01:00
Andrea Busi 0fb0882666 feat: Display extra informations when tap on an annotation 2021-03-14 15:12:16 +01:00
Andrea Busi 4ff2b75121 refactor: Create an enum for pastquake intensities 2021-03-14 15:12:16 +01:00
Andrea Busi 9e863ad6ca refactor: Move date formatter to utils 2021-03-14 15:12:16 +01:00
Andrea Busi c00a29a222 refactor: Improve style and code for log controller 2021-03-11 20:23:18 +01:00
Andrea Busi e9b0343be7 refactor: Update star icons with better ones 2021-03-11 20:05:35 +01:00
Andrea Busi cca042ca61 refactor: Use new annotation models also in notification extension 2021-03-11 20:05:35 +01:00
Andrea Busi 5ab5309838 feat: Recreate pastquakes map with new logic and aligned with Android app
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/35
2021-03-11 20:05:35 +01:00
Andrea Busi c997c5d5a3 refactor: Improve models for Pasquakes 2021-03-10 21:28:37 +01:00
Andrea Busi f08a4b47aa refactor: Who needs a utility method to filter an array? 2021-03-10 21:28:16 +01:00
Andrea Busi 3898eb3de2 feat: Recreate mappa segnalazioni with new logic and aligned with Android app
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/34
2021-03-10 21:28:16 +01:00
Andrea Busi d3a8e410d0 refactor: Seismic map detail now inherit from new base map controller 2021-03-10 21:28:16 +01:00
Andrea Busi 8465350a67 refactor: Improve EQNSegnalazione model 2021-03-06 17:25:27 +01:00
Andrea Busi 5def7e15a9 refactor: Improve Swift interoperability 2021-03-06 17:25:27 +01:00
Andrea Busi 1531d2851e refactor: Rename some enum to be more Swift friendly 2021-03-06 17:25:27 +01:00
Andrea Busi 23cb35c71c refactor: Improve names for user constants 2021-02-28 10:21:32 +01:00
Andrea Busi d36b07cbd4 feat: Add countdown also in home alert cell 2021-02-27 21:05:42 +01:00
Andrea Busi 51c4e15c57 fix: Solve crash during initial setup 2021-02-27 17:12:56 +01:00
Andrea Busi 6f2866a202 fix: Force server registration when Firebase token is received 2021-02-25 19:47:20 +01:00
Andrea Busi dfa6e960da refactor: Avoid self usage in init method to avoid concurrency issues 2021-02-25 19:47:20 +01:00
Andrea Busi c10000df53 fix: Retry server registration if fails
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/30
2021-02-24 21:05:50 +01:00
Andrea Busi c77a31e322 refactor: Remove no longer used EQNAdsUtility class 2021-02-21 20:56:12 +01:00
Andrea Busi 5ab30c139f refactor: Rename ReteSismicaAnnotation in EQNMapAnnotationSeismicNetwork 2021-02-21 20:56:05 +01:00
Andrea Busi 852e950428 refactor: Rename PastquakesAnnotation in EQNMapAnnotationPastquakes 2021-02-21 20:56:05 +01:00
Andrea Busi e882a83694 refactor: Rewrite seismic map in Swift and rename its annotation model 2021-02-21 20:56:05 +01:00
Andrea Busi 0d26e641d7 refactor: Improve NSNotification definition to be Swift friendly 2021-02-21 20:56:05 +01:00
Andrea Busi 4c6a07c9d0 refactor: Use adaptive banners in main controllers
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/22
2021-02-21 20:55:51 +01:00
Andrea Busi 787cd8b4e7 refactor: Rename some constants 2021-02-21 20:51:28 +01:00
Andrea Busi a05e186275 refactor: Rewrite EQNReteSmartphone model in Swift and use proper types for properties 2020-12-08 16:20:10 +01:00
Andrea Busi 9844dc9ac2 fix: Add missing return 2020-12-07 09:57:27 +01:00
Andrea Busi a9f16bca4a refactor: Reorganise code related to background monitoring
- Move to Models folder
- Improve code and nullability notation
- Rename class with typo in name
2020-12-07 09:46:43 +01:00
Andrea Busi ad1487afdf feat: Add server request to register in-app purchase
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/29
2020-12-07 09:46:24 +01:00
Andrea Busi 24f63c7d4b feat: Add message if no subscriptions are available to restore 2020-12-02 21:16:10 +01:00
Andrea Busi 9678040d51 refactor: Improve log in in-app purchase manager 2020-12-02 21:16:10 +01:00
Andrea Busi b382b70aa9 refactor: Reorganize some code 2020-11-21 15:50:37 +01:00
Andrea Busi 2ab07b7010 feat: Add methods to check enabled subscriptions 2020-11-15 15:44:15 +01:00
Andrea Busi a474d5782f refactor: Improve style and comments for EQNUtility class 2020-10-15 08:40:03 +02:00
Andrea Busi c538ca7dcb refactor: Move ads utility in a dedicated class 2020-10-15 08:40:03 +02:00
Andrea Busi e46fa0417d refactor: Update notification sound and remove not yet used setting parameter 2020-10-13 08:08:48 +02:00
Andrea Busi d286909a8d refactor: Move method to get string from coordinate in EQNUtility class 2020-10-08 22:18:51 +02:00
Andrea Busi 708e6dd92f feat: Add cache mechanism for seismic data
- download data only after 2 minutes after the previous download
- download data when app returns from the background
- user can force data download

Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/18
2020-10-08 21:36:28 +02:00
Andrea Busi 27503c1643 refactor: Add new method to store/retrieve an array from NSUserDefault
This method uses only supported API, in order to solve deprecated warnings. Also, remove useless method
2020-10-08 21:36:28 +02:00
Andrea Busi a1b7a5ee70 fix: Seismic filter now use case-insensitive check for networks 2020-10-08 14:01:36 +02:00
Andrea Busi a07480f90a fix: Handle seismic date as nullable parameter to avoid crashes 2020-10-03 12:09:47 +02:00
Andrea Busi 4e5e93e3f1 refactor: Rename method to convert server string into date 2020-10-03 12:09:31 +02:00
Andrea Busi ba2fbfaa60 feat: Handle weather code as nullable parameter 2020-10-03 12:01:17 +02:00