Commit graph

1389 commits

Author SHA1 Message Date
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
b3d800ab4a [ios] Remove a separator from LayersVC
Separator should be visible only for the Layers + Menu and hidden for the Layers only.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 18:54:01 +04:00
165692657c [ios] add separators to the PlacePage views programmaticalay
The separators that was created in the storyboards and xibs is very hard to find/select/edit/change width and color. This is why they should be configured and added programmatically.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 18:54:01 +04:00
20aa24a74b EN as additional search language in the editor
Signed-off-by: map-per <map-per@gmx.de>
2024-12-04 08:47:22 -03:00
fe235e46b6 [ios] [editor] Add empty search result disclaimer to category selection screen
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-02 11:51:24 -03:00
Viktor Govako
0f2db025c4 [ios][editor] Do not show all categories list when the search gives nothing.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-12-02 11:51:24 -03:00
8e5a8ecb60 [ios] add the context menu to the coordinates accessory button
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-29 22:07:17 -03:00
82905b10a4 [ios] fix the bookmark description jumping bug during editing
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-26 13:58:27 -03:00
f1bc4b1248 [ios] add a products section UI to the PlacePage screen
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-26 13:38:44 +00: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
a788a1b1a4 [ios] remove unused code
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-04 22:12:22 -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
566a325f0f [ios] replace custom distance formatters with shared instance
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-04 22:12:22 -03:00
Kiryl Kaveryn
ec77ba3efe
[ios] remove hardcoded CoreApi-swift.h to allow xcode generate a swift bridge (#9594)
- The `CoreApi-Swift.h` is a file that should be generated by the xcode to opens the swift classes
to the objc
- Custom hardcoded `CoreApi-swift.h` blocks this feature and contains objc headers. It blocks the autogeneration and don't allow to use the swift and objc classes in the same framework. This is why the file is removed and all the file's content is moved to the 'CoreApi.h'.
- The `Framework.h` can be used only but the objc so it is removed from the 'CoreApi.h' and is imported only when it's necessary
- `Defines Module` is set to NO because it should be set to YES only after the first swift file is added to the framework. In other case the bridging file will not be generated

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-01 14:22:34 +04:00
c2eb1adfbf [ios] open Menu and Settings screens with highlighting the features
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-10-04 10:34:08 +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
David Martinez
a570d855f7 [ios][placepage] Add Go Map!! to Open in Another App
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-09-24 08:13:34 -03:00
Alexander Borsuk
9830631b97 [ios] Red dots on menu and help button now properly pass taps to the underlying buttons
- Without this fix, tapping on a red dot does nothing instead of opening the menu

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-05 15:31:11 +02:00
8d6b7e2d58 [ios] remove recent track feature
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
6be7eaebbc [ios] implement track recording to the Menu
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
Alexander Borsuk
7c151ec289 [ios] Minor fixes
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-01 18:37:12 +02:00
df4d96b068 [ios] fix Recent Path cell localized title
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-25 16:28:49 +02:00
69dcf787da [kml] [ios] add method to convert Predefined color to the RGB
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-25 15:56:32 +02: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
bc2955dcff [android] Re-implement recent track recroding
Signed-off-by: kavikhalique <kavikhalique3@gmail.com>
Co-authored-by: Roman Tsisyk <roman@tsisyk.com>
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-08-24 10:36:19 +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
David Martinez
dc29c0101d [ios][placepage] Add network to place page
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-19 11:00:49 -03:00
16b69f9a57 [ios] bring back share my location button
partly revert 43c46beb0f (for the menu)

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-14 11:47:22 +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
11bd259731 [ios] prevent from selecting disabled menu cells
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-13 16:49:16 -03:00
9557eb8ed0 [ios] add self_service and outdoor_seating tags to the pp
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-13 16:39:46 -03:00
David Martinez
b668503c0f [ios][placepage] Remove duplicated icons
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-07-30 21:51:28 -03:00
96608e08ac [ios] refactor the 4th button in the PP action bar
When there are only the one additional button it will set as 4th instead of More in PP action bar

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-07-30 13:27:17 +03: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
43c46beb0f [ios] refactor the PP's header and add the share button
- increase grabber size
- move the share button to the PP's and Layers header trailing-top corner
- add a new color for the close/share icons on the pp
- crate a new button class with rounded image
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-07-30 13:27:17 +03:00
ab538bb551 [ios] refactor icloud sync to prevent syncing when some errors occur
- throws an exeption when the metadata cannot be initialized from the url or nsmetadataitem
- add 2 new sync errors cases to clarify errors reasons
- stop sync on the all errors except ubiquity errors (uploading/downloading)
- subscribe the settings screen on the sync state notification to update the relates cell properly from the cloud manager
- show the alert with an error if cloud sync fails with proposal to the user to send a bugreport

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-07-29 18:38:57 +02:00
39dde905e6 [ios] implement open_in_app feature
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-07-26 20:09:54 +02:00
0102927d21 [ios] move the mail composing logic to the MailComposer class
Mail composer can:
- build the regular email
- build the bugreport email with the log file attachment

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-07-26 15:37:30 +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
Fabian Wüthrich
a4c89930f9 [ios] Add test voice button in TTS settings
Signed-off-by: Fabian Wüthrich <me@fabwu.ch>
2024-07-02 16:48:13 +02:00
0197b881db [ios] implement logging to the file
- get logs from core
- log them in the default os_log to see in the Console app
- write to file

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-07-01 18:06:19 +02:00
Evgeny Fayvuzhinsky
795b4da51f [ios] Add dark mode to LaunchScreen.storyboard, remove LaunchImage
Apple HIG suggest empty launch screen or with UI (no splash screens).
Following discussion #3215, UI elements are no good on LaunchScreen.
Just adding support of a system dark mode as a follow up to #7292.
Also removed LaunchImage assets (they were for iOS 7 and lower).

Closes: #3049
Signed-off-by: Evgeny Fayvuzhinsky <e.u.f@icloud.com>
2024-07-01 11:38:29 +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
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
32fa582316 [ios] fix file import using the uidocumentpicker
file should be imported as a copy because the files app will block the access after the dismiss

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-17 14:40:28 +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
787fe7a3f9 [ios] implement the DocumentPicker to import files into the app
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-17 09:49:09 +02:00
577c6cc37f [ios] add DocumentPicker and FileType
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-17 09:49:09 +02:00