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
Andrea Busi
2b304cd7aa
feat: Improve country picker selection
2020-09-28 10:26:33 +02:00
Andrea Busi
7a9206b15a
feat: Add new seismic networks
...
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/20
2020-09-27 17:28:18 +02:00
Andrea Busi
ee7596644b
refactor: Use new endpoint to save settings value and remove no longer needed settings
...
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/20
2020-09-27 17:28:17 +02:00
Andrea Busi
85191d228e
fix: Save missing value for raggio sismi forti setting
2020-09-27 17:28:17 +02:00
Andrea Busi
b3f099efd8
refactor: Move default settings save in dedicated methods
2020-09-27 17:28:17 +02:00
Andrea Busi
89193b61ce
fix: Minor layout fixes
2020-09-27 14:02:43 +02:00
Andrea Busi
211de82031
feat: Add "expande/collapse" to show/hide buttons in seismic cards
...
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/21
2020-09-26 18:31:00 +02:00
Andrea Busi
0731a1e134
fix: Update seismic networks
...
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/21
2020-09-26 18:31:00 +02:00
Andrea Busi
ea275e46b9
feat: Add command to set default settings
2020-09-26 14:28:11 +02:00
Andrea Busi
1501b88a02
refactor: Improve EQNSisma model in order to use proper data types
2020-09-24 10:43:28 +02:00
Andrea Busi
eed5f6ae28
refactor: Convert constants from macro to static const (and use https)
2020-09-24 10:26:55 +02:00
Andrea Busi
e56919d279
feat: Add different seismic endpoints based on the magnitude filter
...
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/15
2020-09-24 10:26:55 +02:00
Andrea Busi
8a4f6436f0
refactor: Use updated API to retrieve seismics
2020-09-24 10:26:55 +02:00
Andrea Busi
0f5c4fc8dc
Merge branch 'stable/v2.2.x' into develop
2020-09-24 10:25:45 +02:00
Andrea Busi
ce3436876d
refactor: Improve code for notification models
2020-09-21 09:33:03 +02:00
Andrea Busi
c7bf8ecc94
refactor: Recreate filters in Seismic section
...
- Add new fitlters
- Recreate controllers and support classes in Swift
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/14
2020-09-20 21:48:42 +02:00
Andrea Busi
81f8740486
refactor: Recreate controllers to manage filters in Seismic section
2020-09-15 07:05:43 +02:00
Andrea Busi
bb3c8798f3
refactor: Use Colors inside AppTheme to handle app colors
2020-09-11 17:11:39 +02:00
Andrea Busi
1792f4b4bb
refactor: Move settings as tab section
...
- Rewrite Settings controller in Swift
- Move settings as tab bar item
- Force settings save when user change tab or back from a sub-setting controller
2020-09-01 19:27:54 +02:00
Andrea Busi
0148ac65f7
refactor: Improve inititializers in SettingItem
2020-09-01 19:19:25 +02:00
Andrea Busi
6e1a982188
fix: Add "km" when display radius
...
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/11
2020-08-28 13:47:42 +02:00
Andrea Busi
ccc74f6b39
refactor: New style for "Allerta in tempo reale" settings page
2020-08-28 13:47:42 +02:00
Andrea Busi
e494109a72
refactor: New style for "Reti sismiche" selection settings page
2020-08-28 09:19:34 +02:00
Andrea Busi
530ce3d56f
refactor: New style for "Notifiche da reti sismiche" settings page
2020-08-27 18:43:45 +02:00
Andrea Busi
1c0a449c05
refactor: Add a type inside the SettingItem model
2020-08-27 18:43:45 +02:00
Andrea Busi
b70bd95a6d
refactor: New style for "Notifiche segnalazioni utente" settings page
2020-08-27 18:43:36 +02:00
Andrea Busi
9344eae39a
refactor: New style for main settings page
...
- renamed from DettadliMenuTableViewController to SettingsViewController
- used inset table view style
- improve code
2020-08-26 13:45:26 +02:00
Andrea Busi
08a493d0a3
feat: Add navigation bar style management using UIAppearance
2020-08-15 16:37:27 +02:00
Andrea Busi
e2fa2c0cde
fix: Show only purchased subscriptions
2020-07-30 21:09:04 +02:00
Andrea Busi
67e8164d3f
refactor: Add method to force purchased products reload
2020-07-30 21:09:04 +02:00
Andrea Busi
c6511dba0e
feat: Add methods to test in-app purchases
2020-07-30 21:09:04 +02:00