Commit graph

3400 commits

Author SHA1 Message Date
31d940dceb [ios] fix some complie warnings
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-29 13:40:18 +04: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
41979b1104 [ios] implement Track PlacePage UI
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
5e79069a84 [ios] implement ActivityWidget support to the TrackRecordingManager
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-23 18:43:35 +00:00
0873f97754 [ios] show the disable full screen on long tap toast every time
instead of the only the firs hiding

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-22 21:44:15 +04:00
b03108318c [ios] add TrackRecording widget to the top-right
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-16 22:28:23 +00:00
32a3be4cf8 [ios] enable map scrolling on the macOS using the mouse and trackpad
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-20 08:31:41 -03:00
8ab6dab51f [ios] add DurationFormatter to wrap the core formatter
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-20 14:17:39 +04:00
432ec309f6 [ios] refactor icloud synchronization
1. remove the iCLoud's .Trash dir scanning because on ios this feature is blocked. This is why the `isRemoved` property was removed from the `MitadataItem`
2. runtime monitors sends only the added/updated/deleted items lists on didUpdate and the whole content on didFinishGathering
3. because of 1, when icloud is running - it is source of truth.
During the initial phase (1st enabling of enabling after disabling) all the data from the cloud and local dir will be preserved.
4. simplified the state manager's logic
5. improved logs
6. fixed test

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-06 11:54:17 -03:00
de6fb06412 [ios] replace all the date formatters instances with the one static
The date formatter initialization is resource-intensive and all unnecessary instantiation are replaced with the call to one default static formatter.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-04 22:12:22 -03:00
André
349f8fc08d
[ios] Fix image padding for buttons in right-to-left layout (#9442)
* [ios] fix button image padding for right-to-left layout

* Fix formatting in BaseRoutePreviewStatus.swift

* Address review comments

Signed-off-by: André <135858315+andre1110@users.noreply.github.com>
2024-10-13 12:35:45 -03:00
2ceb10c297 [ios] handle settings/menu universal links types and open related screens
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-30 19:29:27 +03:00
Alexander Borsuk
ab24b6eb48 [ios] Distinguish bug reports from iCloud by their email subject
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-24 18:23:51 +02:00
1830de7753 [ios] [android] rename continue_download to continue_button
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-24 12:59:44 +03:00
Alexander Borsuk
afe8090982 Refactored optional position parameter passing
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-20 13:05:14 +02:00
9228c52ed6 [core] [map] [ios] fix the CanEditMap logic to add places only to the downloaded and updated maps
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-13 16:49:16 -03:00
Fabian Wüthrich
2d406b4d2d [ios] Show warning if CarPlay can't display all bookmarks
Signed-off-by: Fabian Wüthrich <me@fabwu.ch>
2024-08-07 00:58:09 +02:00
Andrew Shkrob
83cd882798 [android-auto] Fix turn directions
Signed-off-by: Andrew Shkrob <andrew.shkrob.social@yandex.by>
2024-08-06 11:18:46 -03:00
Pavel Petrenko
d504321445 Removed dialog label storyboard runtime attribute and set it programmatically
Signed-off-by: Pavel Petrenko <remedy7789@gmail.com>
2024-08-01 19:10:05 +02:00
6879db4472 [ios] refactor the ActivityViewController: set creational methods to nonnull
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-07-30 13:27:17 +03:00
497153d161 [ios] implement bug report alert
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-07-29 18:38:57 +02:00
David Martinez
5249ac9830
[placepage] Use WiFi emoji symbol 🛜 in PP preview (#8631)
* [placepage] Use localized WiFi string

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>

* [placepage] Use WiFi emoji symbol 🛜

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>

---------

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-07-25 18:14:58 +02:00
Alexander Borsuk
a39eed5805 [xcode] Fixed warnings for Xcode 16
- Use C17 instead of C11
- Clean up some settings

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-07-05 13:06:51 +02:00
40cb15f8fd [ios] fix the fullscreen mode behaviour
- Long tap activates the Fullscreen mode and hide both the PP and the controls.
- Second long tap deactivates the fullscreen mode and put back the controls.
- Controls always visible on navigation, planning the route, searching.
- If the fullscreen is enabled and the user opens the PP, the controls will be hidden.
- If the fullscreen is enabled and the PP is opened, the longtap will exit the fullscreen without hiding the PP

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-26 16:44:37 +02:00
Fabian Wüthrich
537e476c2b [ios] Remove traffic button from CarPlay
The traffic button is not working in CarPlay, so this commit removes it to not
confuse users.

Close #868

Signed-off-by: Fabian Wüthrich <me@fabwu.ch>
2024-06-22 23:35:27 +02:00
6d4e5eb7d6 [ios] split logic for the closing the PP and show/hide side buttons
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-18 23:18:59 +02:00
9a8a515eef [ios] reload the PP content instead on close and open on every click
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-17 09:52:13 +02:00
10b2ed9b05 [ios] remove unused alerts
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-10 21:44:55 +02:00
19b366224a [ios] Added a toast when user hides the UI with a long tap
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-06-09 23:27:50 +02:00
04b643c61d [ios] fix location info in sharing activity vc
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-05 11:56:16 +03:00
50bf9c6290 [ios] rename MapsAppDelegate's isDrapeDisabled into the isTestEnvironment
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-05-30 10:15:34 +03:00
9a4fdfc1a6 [ios] default implementation of the iCloud sync feature
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-05-30 10:15:34 +03:00
MontakOleg
93fb4a5067
[ios] Fix CarPlay placeholder text on dark theme
Signed-off-by: Oleg Montak <oleg.montak@gmail.com>
2024-05-30 09:06:11 +03:00
cea8f6a2a8 [ios] fix: do not hide the side buttons during the new place adding
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-05-24 23:09:36 +02:00
Viktor Govako
2f1f05af8b [search] Show "postal_code" string in search result UI.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-05-22 17:06:20 -03:00
Oleg Montak
ebb20b739d [ios] CarPlay/phone switch prototype
Signed-off-by: Oleg Montak <oleg.montak@gmail.com>
2024-05-16 23:00:38 +02:00
b561ee4e54 [ios] Remove OSM login titles capitalization
- Remove capitalizedString for “OSM account” title;
- Remove capitalizedString for “OpenStreetMap Profile” title.

Fixes: #8136
Signed-off-by: Dzmitry Padabed <itfarrier@icloud.com>
2024-05-11 22:02:07 +02:00
8fd2a10a15 [ios] add a loading overlay screen with an activity indicator for the bookmarks sharing
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-04-25 00:18:25 +02:00
d62aad957c [ios] fix: user interface auto theme changing issue
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-04-16 20:09:49 +02:00
Alexander Borsuk
538719955b [ios][mac] Fix assert/check on shutdown of iOS app on Mac
- Removed thread checker for delayed thread pool. It does not really matter which thread destroys the pool.
On Mac, thread pools are created on the main thread, but static destructors are called from another system thread.
And checker failed for the statically created DrapeRoutine's thread pool.

- Avoid unnecessary MWMThemeManager invalidate on destruction when nothing has changed
- Add missing include

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-16 17:01:31 +02:00
Kiryl
adb5c6fc81
[ios] add unit test target (#7740)
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-04-12 13:21:56 +02:00
v-lozko
706f0fa27b
[ios] Fix isolines reminder being displayed on top of other dialogs (#7694)
* [ios] Fix isolines reminder being displayed on top of other dialogs, Issue #7555

Signed-off-by: Valery Lozko <valerylozko@gmail.com>
2024-04-06 00:16:20 +02:00
9d29851fc7 [ios] fix: circular downloading progress bar laout on the PP
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-04-05 11:57:31 +02:00
d390e7bfb9 [ios] Removed 'retain' modificator
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
fadf94082f [ios] Changed link handling with NSLinkAttributeName
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
5a85c39c11 [ios] Removed calls to NSUserDefaults.synchronize method all over the code
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
388217fa58 Formatting
Removed EditorHostFragment.clearNoobAlertFlag() method

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
3984ff34b1 [ios] Removed debug method
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00
772d4cce70 Renamed HttpClient::m_handleRedirects to HttpClient::m_followRedirects
Made updates all over the code

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-04-04 08:45:39 +03:00