Commit graph

145 commits

Author SHA1 Message Date
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
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
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
8d6b7e2d58 [ios] remove recent track feature
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +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
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
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
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
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
Fabian Wüthrich
d898cf16ac [ios] Improve TTS voice selection
This commit allows a user to select more voices (e.g. English (United States),
English (India)). Currently, it's only possible to select a subset of the
available voices on iOS. For example, if a user selects English as TTS
language, an Australian voice is selected because en_AU comes before en_US in
the voice list of iOS.

Fixes #6840
Fixes #3222
Fixes #2178

Signed-off-by: Fabian Wüthrich <me@fabwu.ch>
2024-05-22 11:29:19 -03:00
David Martinez
6d59c27f09 [iOS] Add Street Names setting to iOS
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-05-14 22:34:21 +02:00
46e82339cf [ios] fix setting's speedCamera cells titles and remove footer
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-03-13 22:26:06 +01:00
221417d4c6 [ios] remove unused class 'SettingsTableViewSelectableProgressCell' from the project
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-03-13 20:50:27 +01:00
b4aeaf26b3 [ios] refactor Settings cells: use default properties instead of custom designed
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-03-13 20:50:27 +01:00
23c47616e0 [ios] fix: separate localized string for pref_appearance_title
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-02-27 10:27:43 +02:00
702f4aff2c [ios] fix: replace NightMode with Appearance
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-02-12 17:55:46 +02:00
f4aa09b0cb [ios] refactor: MWMSettingsViewController.mm formatting
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-02-03 00:43:04 +02:00
5f04705c2d [ios] enable Dark/Light theme switching
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-02-03 00:43:04 +02:00
David Martinez
3dd9024a1a [strings] Remove "Avoid on every route" on iOS
Co-authored-by: meenbeese <meenbeese@tutanota.com>
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2023-10-07 13:45:54 +02:00
2cc36f6990 [strings] Use of generic on/off/auto/always/never strings
Signed-off-by: Gonzalo Pesquero <gpesquero@yahoo.es>
2023-09-05 18:53:05 -03:00
4815a8f357 Disable 3D buildings preference if power saving is enabled.
Added new string 'pref_map_3d_buildings_disabled_summary'

Instead of nullable method findReference introduced NonNull method getReference.

[iOS] Added alert on disabled 3D building setting tap

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2023-03-08 10:39:03 -03:00
Alexander Borsuk
6e0a3c70e9 Minor warning fixes
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-04-15 19:42:44 +02:00
Alexander Borsuk
f150cf56b4 [ios] New Help/About dialog on the main screen
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-29 21:15:00 +01:00
Alexander Borsuk
11a67f11a9 Unified app version for all platforms
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-05 18:52:39 +01:00
Alexander Borsuk
8e5c08cfa0 [ios] Fixed some warnings
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-11-15 16:28:40 +01:00
Alexander Borsuk
d775c78b6b Better wording in support emails
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-09-24 07:11:20 +02:00
Alexander Borsuk
cf2148ecae [strings] Fixed found errors
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-07-25 12:01:48 +03:00
vng
c43213c24a [iOS] Revert rateApp call in About.
Signed-off-by: vng <viktor.govako@gmail.com>
2021-06-15 10:30:12 +02:00
vng
b499b2b8a4 [iOS] Do not show "Rate the app". Revert in follow-up release.
Signed-off-by: vng <viktor.govako@gmail.com>
2021-06-12 16:47:02 +03:00
7621e45ccf Update links and names
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-05-13 21:39:34 +03:00
a2000f1440 [android][ios] Add GitHub and Telegram links
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-05-05 09:39:16 +03:00
Alexander Borsuk
415f7a5c3e Removed cloud
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-04-24 13:46:48 +03:00
Alexander Borsuk
9dd9e7e4ec [ios] Minor rename
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-04-22 08:11:07 +03:00
Alexander Borsuk
5400ec553a Removed local ads
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-03-27 12:18:17 +01:00
Alexander Borsuk
3f762ec0d5 [ios] Always show FAQ until online support page will be ready
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-03-20 22:32:01 +01:00
Alexander Borsuk
e5e2af0c25 [ios] Fixed links in Settings -> Aboout
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-03-20 22:32:01 +01:00
vng
a9c8e942dd [iOS] Enable FB, Twitter menus in About.
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-03-20 22:32:01 +01:00
vng
afd1213fc6 [iOS] Removed obsolete entries in Storyboard.
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-03-20 22:32:01 +01:00
Alexander Borsuk
4e07eb6937 [ios] Code cleanup
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-03-16 10:18:25 +03:00
Alexander Borsuk
89799be335 [ios] Remove crashlytics
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-03-14 18:15:57 +01:00
Alexander Borsuk
1a0e062cf2 [core][ios] Removed statistics and Alohalytics submodule
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-03-14 10:49:56 +03:00
Alexander Borsuk
3f0035d1c7 [ios] Warning fixes 2021-03-13 09:49:40 +03:00
vng
39c1c0955c [iOS] Removed banners and ads. Allows to compile with free profile.
Signed-off-by: Viktar Havaka viktor.govako@gmail.com
2021-01-26 21:30:58 +03:00
Veniamin Gvozdikov
d9c6dcaba4 [iOS] Rebranding
Signed-off-by: Veniamin Gvozdikov <g.veniamin@googlemail.com>
2021-01-01 17:36:12 +03:00
85a3b8c47d [strings][android][qt][tools] Rebranding
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2020-12-31 08:11:33 +00:00
Alexander Boriskov
230557b5bf [iOS] fixed localization key in settings
https://jira.mail.ru/browse/MAPSME-15038
2020-11-23 12:07:55 +03:00
Alexander Boriskov
b8604b8fcb [iOS] Added error message on failed authorization
https://jira.mail.ru/browse/MAPSME-15033
2020-10-21 17:29:58 +03:00
Alexander Boriskov
179a7e0840 [iOS] Codestyle 2020-07-29 10:46:30 +03:00