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
8088882a16
[ios] add DateTimeFormatter
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-04 22:12:22 -03:00
6530aba02e
[ios] add AltitudeFormatter
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-04 22:12:22 -03:00
e612ac08b2
[ios] add DistanceFormatter
...
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
d3d72a9ac2
[ios] add objc wrapper for the InAppFeatureType
...
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
40ed4a3181
[ios] implement track recording
feature support to the FrameworkHelper
...
to ineterop with the cpp code
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
8bbe3dc9c1
[Android] OAuth2 flow with browser V2 ( #9044 )
...
* [Android] Implemented OAuth2 flow with browser
Signed-off-by: S. Kozyr <s.trump@gmail.com>
* [Android] Small improvements
Signed-off-by: S. Kozyr <s.trump@gmail.com>
* Small changes according to PR comments.
Signed-off-by: S. Kozyr <s.trump@gmail.com>
---------
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-08-21 16:58:02 +02:00
David Martinez
de97b28f81
[ios] Add "Operator: %@"
...
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-08-19 11:00:49 -03: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
f3d1cc63c2
[ios] add support for the recently deleted
feature to the bookmark manager
...
- add and implement @protocol RecentlyDeletedCategoriesManager
- move the bmmanager observing method to the @protocol BookmarksObservable to make manager mokable
- add RecentlyDeletedCategory class as a lightweight version of the `CategoryData` to pass to it the swift
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-15 12:59:33 +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
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
d1405d7d5a
[ios] write the Error and Critical messages to the log file synchronously
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-08-06 11:18:20 +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
Alexander Borsuk
0363d87cc3
[ios] log the local time with timezone on the app launch
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-07-25 20:08:38 +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
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
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
ba7d55aa97
[ios] add methods to load the file by url to the BMManager
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-17 09:49:09 +02:00
8a5c52dcdb
[ios] add hasRecentlyDeletedBookmarks
to the BM manager
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-06-07 15:25:27 +02:00
d0ec7bf149
[ios] implement support for the icloud sync and bookmarks reloading for CoreApi
...
Add methods:
- hasBookmark
- hasTrack
- hasCategory
- reloadCategoryAtFilePath
- deleteCategoryAtFilePath
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-05-30 10:15:34 +03:00
6e2fb9d5f8
[gpx] Add export buttons in Android and iOS
...
Signed-off-by: cyber-toad <the.cyber.toad@proton.me>
2024-05-30 08:08:02 +02:00
8a39e3102c
[ios] add hasBookmark to the BM manager
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-05-27 23:39:28 -03:00
David Martinez
1276dc76f2
[styles] Rename styles to default/vehicle/outdoors + light/dark
...
clear/style-clear -> default/style-light
clear/style-night -> default/style-dark
vehicle/style-clear -> vehicle/style-light
vehicle/style-night -> vehicle/style-dark
outdoors/style-clear -> outdoors/style-light
outdoors/style-night -> outdoors/style-dark
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-05-23 00:16:43 -03:00
031356be63
[ios] implement the website:menu to the PlacePage
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-05-22 15:51:32 -03:00
Kiryl
c3c00f1784
[Bookmarks] Add areAllCategoriesEmpty
method to the bookmarks manager ( #8100 )
...
* [ios] [bookmarks] add the `areAllCategoriesEmpty` method to the bookmarks manager
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
* [ios] [bookmarks] refactor the isCategoryNotEmpty method
`self.bm.IsCategoryEmpty` is used instead of `size()`
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
---------
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-05-08 23:54:54 +02:00
David Martinez
9234c0ce23
[ios][placepage] Add drive_through to place page
...
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-04-18 23:39:48 -03:00
Kiryl
4566643f46
[ios] [bookmarks] Remove observer pattern during the category files exporting ( #7933 )
2024-04-16 20:41:41 +02:00
Viktor Govako
46241b0531
Update IsHotelChecker.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-04-06 15:48:04 -03:00
Alexander Borsuk
83f67ca040
[ios] Sort by name
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-04 09:05:59 +03:00
Viktor Govako
ce69a353e9
[search] Added struct QueryString.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-03-24 16:21:38 -03:00
d401482524
[ios] implement 'userCategoriesCount'
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-03-17 11:54:47 -03:00
da12626b47
[ios] remove unused methods from the BookmarksManager
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-03-17 11:54:47 -03:00
c060bcb395
[ios] refactor asserting and formatting in MWMBookmarksManager
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-03-04 15:05:52 +02:00
598b4a70d9
[ios] implement the color selection by tapping on the circle color icon
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-03-04 15:05:52 +02:00
1a0896a1c1
[ios] implement 'share all bookmarks' button
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-03-03 20:05:55 +02:00
ffb650a13d
[ios] fix: MWM bookmarks manager formatting
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-02-28 10:05:39 +02:00
576148806e
[ios] change track's color
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-02-28 10:05:39 +02:00
David Martinez
e5155b1958
[core] Refactor move Internet to feature_utils
...
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
[tests] Fix internet tests
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-02-24 22:26:39 -03:00
Viktor Govako
f066d6ea91
[iOS][android] Comment out popularity label.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-02-09 12:14:30 -03:00
David Martinez
12aab83cce
[ios] Add wheelchair info to place page
...
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-02-08 16:27:47 -03:00
Alexander Borsuk
fb22b93369
[android] Cast vector to jlong to avoid tmp allocation, and other fixes
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-02-06 21:26:42 -03:00
a535f5256c
[bookmarks] Use list of categories ids in java/cpp
...
Signed-off-by: cyber-toad <the.cyber.toad@proton.me>
2024-02-06 21:26:42 -03:00
David Martinez
0646292cfd
[ios] Add "Capacity: %@"
...
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-01-05 15:47:54 -03:00
David Martinez
2e7f582f07
[ios] Add capacity tag to Place Page
...
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-01-05 15:47:54 -03:00
Fabian Wüthrich
c1de096229
[ios] Support touch panning gestures in CarPlay
...
Signed-off-by: Fabian Wüthrich <me@fabwu.ch>
2023-12-25 01:56:09 +01:00
Alexander Borsuk
c39702cf2a
[xcode] Fix upgrade warnings in the project
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-12-20 13:52:26 +01:00
51d26a816b
[ios] add new images layers buttons
...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2023-12-17 21:38:08 +02:00