Commit graph

8283 commits

Author SHA1 Message Date
Alexander Borsuk
aeb74dc391 [android] Updated whatsnew
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-26 09:14:07 +02:00
Alexander Borsuk
15f120c645 [strings] Regenerated Portuguese strings after updates
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-26 09:11:52 +02:00
Alexander Borsuk
a274773b42 [android] Bookmark button now shows "Save" and "Delete" instead of just "Bookmark"
The behavior was fixed to represent the current iOS implementation and to avoid
accidental delete (now it's very clear for the user).

Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-25 23:10:36 +02:00
9c2d9205f6 [platform] Remove RESOURCES_METASERVER_URL artifact
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-25 08:26:49 +02:00
9cf7e2bbe3 [android] Don't download maps automatically on F-Droid
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-24 10:47:06 +02:00
156130859d [android] Unify version generation with iOS
Use the number of commits in the current day for version

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-24 10:29:17 +03:00
14fd1bac17 [android] Revert to original chunk downloader
Android DownloadManager is unreliable.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-23 09:17:07 +03:00
Alexander Borsuk
6706271190 [android] Updated full description
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-23 09:14:08 +03:00
Alexander Borsuk
546b4f749e [strings] Regenerated
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-23 09:13:34 +03:00
Alexander Borsuk
791c20ecef [android] Use build tools version from gradle.properties
And minor update of android gradle plugin

Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-21 22:08:25 +02:00
Alexander Borsuk
cf9ff528da [fdroid][android] Updated whats new
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-19 13:42:21 +02:00
b2bf93843d
Bump versions
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-19 09:40:46 +03:00
Alexander Borsuk
39326503b8
[android] Updated Whats New (#1123)
* [android] Updated Whats New

Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-18 23:29:28 +02:00
697ad142e0
[android] Fix download progress (#1119)
* [android] Fix download progress

mTrackingIds (Java) and g_completionHandlers (C++) do the same job.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
Signed-off-by: Alexander Borsuk <me@alex.bio>
Co-authored-by: Alexander Borsuk <me@alex.bio>
2021-08-18 17:50:21 +02:00
Alexander Borsuk
85752c2563 [android] Updated Google Play description
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-16 20:24:56 +02:00
Alexander Borsuk
5350207ebc [android] Minor warning fixes and deps updates
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-16 09:43:23 +02:00
aa02e3d81a [android] Add "Report a bug" button to main menu
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-16 09:47:05 +03:00
629782ceeb [android] Use fractional progress in downloads
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-16 09:46:54 +03:00
0fa9875cac [android] Update to the latest Android Gradle Plugin
Android Studio 2021.3.1 is out

The new plugin uses different directory layouts.
Please `rm -rf build nativeOutputs/` to remove old garbage.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-14 12:04:08 +03:00
083df4ebee [android][ios] Upload metadata and screenshots to AppStore / GooglePlay
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-14 09:54:00 +03:00
0cd28c65c0
[android] Bump F-Droid version
See #1033

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-14 07:52:10 +03:00
Christophe Bastin
7949d84957 Fix wrong french translation
Signed-off-by: Christophe Bastin <christophe.bastin@posteo.net>
2021-08-14 00:27:35 +02:00
Dzmitry Yarmolenka
8582a0f990 [android] Fixes invisible button in navigation panel issue on api 23.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-08-12 21:22:44 +02:00
3a644d1dbd [android] Add F-Droid metadata and enable automatic upload
Please note that this patch doesn't add new screenshots
into the repo.

Closes #206
Closes #825

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-08 10:18:49 +03:00
163b2ec559 [android] Remove git commit sha from user-visible version
Solve a hen-and-egg issue: we needed to put in the commit
hash before the commit.

Thanks @IzzySoft, @rugk and @relan for help!

See #825

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-08 10:18:49 +03:00
Mikhail Katliar
72a2ad0729 Re-generated strings
Signed-off-by: Mikhail Katliar <cepstr@gmail.com>
2021-08-08 08:03:08 +02:00
Alexander Borsuk
e83fe62419 [strings] Regenerated Belarusian strings
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-07 20:46:13 +02:00
Alexander Borsuk
45aaaab196 [strings] Regenerated strings after twine update
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-07 20:46:13 +02:00
Dzmitry Yarmolenka
7376f4bdf3
[android] Fix for cut text in snackbar when it's long. (#1025)
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-08-07 08:26:09 +02:00
a4847b67ae [android] Fix bugs in external storage scanning code
The app scans all available storages for the maps files on every start.
Initially, we prepare a list of available directories and scan them
for the write access and the free space. After that, we pick a first
directory which contains existing maps files. A first directory from
the list is used if no maps files were found.

The problem was that directory from settings.ini wasn't first in
the scan list. It could lead to weird behaviour if you add/remove
SD cards between app runs. App could switch to a newly added SD
card if this card had some old maps files. After switching the new
patch wasn't saved to settings.ini.

This patch sets the highest priority to a directory from settings.ini.
The configuration file is now updated in all cases.

Added verbose logging for troubleshooting.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-05 16:37:14 +02:00
0659467a62 [android] Add support for ACTION_SEND intents
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-04 11:48:22 +03:00
Alexander Borsuk
da709cb061 [strings] Regenerated
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-04 10:57:02 +03:00
Alexander Borsuk
baade5f2c2 [android] Improved WebView privacy
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-04 09:28:19 +02:00
Dzmitry Yarmolenka
04422bef3f [android] Cleaned up old legacy pre-api21 checks. Removed some unused layouts and classes.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-08-03 11:54:35 +03:00
Dzmitry Yarmolenka
ed459b32c1
[android] Fixed layout bugs with text cut in editor. (#983) 2021-08-02 15:05:41 +02:00
Alexander Borsuk
a42bd76b27 [android] Fixed wrong encoding for Russian text in bookmarks description
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-08-01 19:30:53 +03:00
Dzmitry Yarmolenka
f86bd3e282 [android] Removed useless "Key information" text from PlacePageView. On iOS it's already removed.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-07-30 13:47:43 +03:00
Dzmitry Yarmolenka
9524e4165d [android] RTL layout mirroring will switch on only for Persian and Arabian locales, for which we already have translation.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-07-30 10:09:04 +03:00
Dzmitry Yarmolenka
d28d122daa [android] fix for "more" layout icons position for RTL locales in case of RTL layout.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-07-30 10:09:04 +03:00
Dzmitry Yarmolenka
8aa4cd94d4 [android] removed a few unused resources.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-07-30 10:09:04 +03:00
Dzmitry Yarmolenka
c1c806c81d [android] removed last pre-RTL params for some styles.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-07-30 10:09:04 +03:00
Dzmitry Yarmolenka
72544eaa24 [android] fix for search categories list icon position for RTL locales.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-07-30 10:09:04 +03:00
Dzmitry Yarmolenka
53501ff2e6 [android] added auto mirroring to back button in actionbar for RTL locales.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-07-30 10:09:04 +03:00
Dzmitry Yarmolenka
7feeb1b611 [android] switched on RTL support in android manifest.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-07-30 10:09:04 +03:00
Dzmitry Yarmolenka
5dcd1266f7 [android] fixed some RTL mistakes. Removed some old not needed anymore pre-RTL xml tags in layouts.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-07-30 10:09:04 +03:00
Ivan Koshkin
c59766cfe7 [ios] Added new edit abilities for tracks and bookmarks
iOS UI/UX changes:
- bookmark can be moved to other group with right swipe directly from the bookmarks list (no need to open "Edit bookmark" screen)
- bookmark can be edited right from the list: swipe left and select "Edit"
- new ability: edit track. Swipe track left in the list and select "Edit". Track name and track group can be changed (but not the color yet)
- new ability: tracks can be deleted. Swipe track left and select "Delete"
- track can be moved to other group with right swipe directly from the bookmark list

Fixes:
- bookmark title is now correctly updated in UI after bookmark was changed - in popover window and in bookmarks list

Internal changes:
- added framework methods to move, delete and update tracks
- added few framework methods to move bookmark by id, move track by id, get bookmark and track category, get specific track or bookmark, get bookmark description by id

Signed-off-by: Ivan Koshkin <ivan@koshkin.me>
2021-07-28 11:38:01 +03:00
vng
de33802dc5 [strings] Regenerated strings.
Signed-off-by: vng <viktor.govako@gmail.com>
2021-07-27 08:47:23 +02:00
Dzmitry Yarmolenka
9b2fa9637d [android] recompressed android platform drawable resources. Converted to webp format where it reduced size.
Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
2021-07-27 08:38:55 +02:00
Alexander Borsuk
b098039bd5 [strings] Regenerated everything to fix master
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-07-25 12:01:48 +03:00
Alexander Borsuk
cf2148ecae [strings] Fixed found errors
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-07-25 12:01:48 +03:00