Commit graph

7646 commits

Author SHA1 Message Date
Dmitry Gribenchuk
bc6a9e4804 [strings] Regenerate
Signed-off-by: Dmitry Gribenchuk <dmitrygribenchuk@gmail.com>
2025-02-21 09:05:17 +03:00
5b5a27900a [strings] Regenerated
Signed-off-by: Ognjen Blagojevic <ognjen.d.blagojevic+om@gmail.com>
2025-02-18 06:43:13 +03:00
8b02809b5d [strings] Regenerate for new POIs
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-02-15 16:08:46 +03:00
bb240c1aaf [strings] Regenerated
Signed-off-by: Hemang Manhas <hemangmanhas@gmail.com>
2025-02-14 17:04:15 +03:00
Aditya Jagrani
1bc3490ca7 [ios] fixed manage route button in dark mode on iPad
Signed-off-by: Aditya Jagrani <adityajagrani8@gmail.com>
2025-02-14 17:08:42 +04:00
1790a4dfca [ios] refactor ElevationProfileViewController
1. remove a stroryboard and implement VC and ElevationProfileDescriptionCell programmatically
2. move the description collection view over the chart
3. remove some unused code
4. add isChartViewInfoHidden to show/hide the info view and enable/disable user interation (will be used for the track recording)

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-13 20:14:43 +04:00
291daa91c0 [strings] Regenerated
Signed-off-by: Hemang Manhas <hemangmanhas@gmail.com>
2025-02-12 12:14:02 +03:00
6b6b7d145e [ios] fix icloud initial sync bug when some files are not downloaded at start
https://github.com/organicmaps/organicmaps/issues/10221
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-11 09:27:15 +00:00
9c8b6d934c [ios] start downloading icloud item with coordination
Attempt to fix the https://github.com/organicmaps/organicmaps/issues/10042

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-11 09:25:51 +00:00
19701d83e6 [ios] fix Live activity widget issue when it recreates on every app opening
Description: https://github.com/organicmaps/organicmaps/issues/10222
Also this commit fixes the issue when the Live Activity is Disabled in the settings then the start recording fails

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-11 08:37:59 +00:00
d8a594855a [ios] fix UIDatePicker style in the Editor
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-11 08:36:42 +00:00
945ae37209 [strings] Regenerated
Signed-off-by: Ognjen Blagojevic <ognjen.d.blagojevic+om@gmail.com>
2025-02-03 18:53:46 +03:00
David Martinez
fb3f6e539c [strings] Regenerated
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2025-02-01 18:51:19 +03:00
David Martinez
431cf357a3 [editor][ios] Add outdoor_seating to editor
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2025-02-01 18:51:19 +03:00
David Martinez
3493538c56 [editor][ios] Add self_service to editor
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2025-02-01 18:51:19 +03:00
3ce6a9a29d [strings] Regenerate
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-01-31 14:14:49 +03:00
519a851a66 [strings] Regenerated
Signed-off-by: map-per <map-per@gmx.de>
2025-01-30 22:12:16 +03:00
9b93d66f3d [ios] refactor the BottomMenuLayerButton
The runtime attributes were removed from the xib. Because it is really hard to debug them and there is no reason to set the bunch of the same attrs to the multiple items. Such configurations should be done pogrammatically.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-01-30 15:02:57 -03:00
6ed297c62e [ios] fix bug when the layers menu doesn't layouted properly on appear
On some ios versions the `tableView.layoutIfNeeded()` is called but the view doesnt set as it should be relayouted. This bug is founded on the iPhone Xs Max 18.2.
https://github.com/organicmaps/organicmaps/issues/10143#issuecomment-2620913027

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-01-30 15:02:57 -03:00
db1b38b40f [ios] fix track recording bug first appearnce bug
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-01-30 15:01:51 -03:00
f815ec1a17 [strings] Regenerated
Signed-off-by: map-per <map-per@gmx.de>
2025-01-30 19:57:01 +03:00
2f004d2d05 [strings] Regenerate
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-01-30 19:46:59 +03:00
Matheus Gomes
2ff9c4c690 Pt br translation (#4)
* Update Localizable.strings

Signed-off-by: Matheus Gomes <86851490+matheusgomesms@users.noreply.github.com>

* Update types_strings.txt

Signed-off-by: Matheus Gomes <86851490+matheusgomesms@users.noreply.github.com>

* Update strings.xml (#3)

Signed-off-by: Matheus Gomes <86851490+matheusgomesms@users.noreply.github.com>

---------

Signed-off-by: Matheus Gomes <86851490+matheusgomesms@users.noreply.github.com>
2025-01-30 19:46:51 +03:00
fb5f8fb902 [ios] Fix font color not updating with theme change on Wiki page
Signed-off-by: narwalayush4 <narwalayush4@gmail.com>
2025-01-25 21:09:54 +04:00
1516ea742c [ios] Add padding on Wikipedia description page
Signed-off-by: narwalayush4 <narwalayush4@gmail.com>
2025-01-25 21:09:54 +04:00
4f088ce006 [strings] Regenerate
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-01-22 17:32:07 +03:00
bc3e637ab6 [strings] Regenerated
Signed-off-by: Ognjen Blagojevic <ognjen.d.blagojevic+om@gmail.com>
2025-01-21 18:59:53 +03:00
79b4826859 [ios] [icloud] skip file recreaion during the update event from the icloud
When the user deletes the file locally with the enabled icloud happens this:
1. the file is moved to the local .Trash dir
2. the LocalDirectoryMonitor send event to delete the file from the iCloud
3. the SynchronizationFileWriter trash the remote file using the system API `try fileManager.trashItem`
4. the file is moved to the devices trash
5. the icloud sends the update to the metadataQery's `queryDidUpdate` with the updated state. This update is tricky - it calls the method twice: on the first call the deleted file appears in the updated list (`userInfo[NSMetadataQueryUpdateChangedItemsKey]`) and on the second call the deleted file appears in the deleted list (`userInfo[NSMetadataQueryUpdateRemovedItemsKey]`). There is no way to disable this behaviour.
At that point the bug can happens: the 1st `update` (that contains the file in the deleted list) call can triggers the file recreation because the synchroisztion starts to process the event and make an attempt to recreate the file but it is already deleted.

The fix is: skip missed file during the `Update` event. The case when the missed file is in the updated in undefined and should be skipped by checking the file existence.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-01-16 22:58:28 +04:00
a1c6d532b5 [ios] refactor styles to make them type-safe using enums instead of string lit
1. for now the structure is SheetStyle.Global/PlacePage/Font/TestColor...
2. the styles are used by assessing the property
before:
lineView.setStyleAndApply("Divider")
headerTitleLabel.setStyleAndApply("semibold18:blackPrimaryText")

after:
lineView.setStyleAndApply(.global(.divider))
headerTitleLabel.setFontStyle(.semibold18, color: .blackPrimary)

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-01-16 16:02:29 +04:00
199094a466 [strings] Regenerated
Signed-off-by: map-per <map-per@gmx.de>
2025-01-05 11:09:55 +03:00
74aed8995e [strings] Regenerate for Unknown Place to Map Point change
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-01-03 11:30:34 +03:00
e66b8a9881 [ios] ios fix widget renaming
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-29 16:07:19 +04:00
b940009b0e [ios] replace UIWebView with the WKWebView on OpeningHoursEditorViewController
To silent compile time warning (the UIWebView is not supported since iOS 13.0)

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-29 13:40:18 +04:00
d07d9d79fa [ios] remove the old code related to the Booking Search Filters
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-29 13:40:18 +04:00
31d940dceb [ios] fix some complie warnings
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-29 13:40:18 +04:00
a9ea75d20c [ios] Automatically manage signing for AppStore
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-12-28 23:11:04 +00:00
05ae910403 [ios] remove swift bridging headers from the widget target
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-28 11:16:04 +00:00
780e67ebd7 [ios] Fix signing for the new live widget
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-12-24 15:03:04 +00:00
342863a8b1 [strings] regenerate
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
37d906e7f1 [ios] pass state enum+trackRecordingInfo instead of Bool to the TR callback
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
d747702611 [ios] rename TrackRecordingInfo to the TrackInfo and remove unused dir
This entity will be used both for the tracks and _track recordings_ to store the current info.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
3da20576e1 [ios] rename PlacePageBookmarkViewController to the ...BookmarkOrTrack...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
4082a783dc [ios] add track deletion confirmation alert
Also the issue for the PP VC in `traitCollectionDidChange` was fixed. It is needed to prevent PP reloading when the alert is presented over the screen. It happens because the new trait updates can be passed to the `traitCollectionDidChange` method on the every layout update and it cause the steps and layout recalculations. The PP should be reloaded only when the vertical size class is changed.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
41979b1104 [ios] implement Track PlacePage UI
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
d2310433d6 [ios] refactor PP dependencies to support UDF
View -> Interactor -> Presenter -> View

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
8efd7d30ac [ios] refactor CoreApi to support the Track selection and ElevationProfile
1. setElevationActivePoint is changed to work withe the CLLocationCoordinate2D that allows to pass the selected point to the core and show the blue mark on the track in the correct place
2. initWithElevationInfo is removed from the PlacePagePreviewData because the elevation profile is a part of track now and the PP header is configured in the core
3. ElevationHeightPoint stores the coordinates for easily track marks creation
4. add PlacePageTrackData to the PlacePageDate

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
a862a9ff10 [ios] refactor TrackRecordingInfo to only wrap the data from the core
This refactoring allows to split the data for the PP on 2 parts:
1. TrackRecordingInfo (dist, dur, acend, descend etc)
2. ElecationProfileData (only the points to draw)
Because the PP should be created only with the 1st one for the TrackRecordings (will be implemented later) and the PP shoul display all the info without the chart.
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
438e923de5 [ios] fix live activity background color
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 16:07:01 +04:00
f79b21892a [strings] Regenerated
Signed-off-by: Ognjen Blagojevic <ognjen.d.blagojevic+om@gmail.com>
2024-12-24 01:26:01 +03:00
27db960cfc [strings] regenerate
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-23 18:43:35 +00:00