Commit graph

8130 commits

Author SHA1 Message Date
a2000f1440 [android][ios] Add GitHub and Telegram links
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-05-05 09:39:16 +03:00
1eaaf38b0e [android][ios] Change application name to "Organic Maps"
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-05-05 09:23:40 +03:00
vng
b2570a5663 [android] Fixed bug with multiple download search results.
Signed-off-by: vng <viktor.govako@gmail.com>
2021-05-02 11:02:26 +03:00
vng
c5c1932175 [iOS][android] Restore QueuedCountry::OnStartDownloading notification.
Signed-off-by: vng <viktor.govako@gmail.com>
2021-05-01 15:28:06 +03:00
vng
4d7d1d4307 [android] Removed AbstractLogBroadcastReceiver.
Signed-off-by: vng <viktor.govako@gmail.com>
2021-05-01 15:16:15 +03:00
vng
ffd39d1378 Merge remote-tracking branch 'mapsme/master' into vng-merge
Signed-off-by: vng <viktor.govako@gmail.com>
2021-05-01 15:16:15 +03:00
vng
61ea502ad0 [storage] Removed dummy Subscribers.
Signed-off-by: vng <viktor.govako@gmail.com>
2021-04-28 19:59:15 +03:00
15adddcece [android] Streamline SplashScreen
- Fix a crash if location permission is not granted.
- Use exceptions instead of boolean for I/O errors.
- Handle the first run properly.
- Fix UpgradeReceiver.

Closes #340

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-26 20:39:16 +03:00
c8f106b0e5 [android] Remove bundled map from Web APK
Closes #342

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-26 20:38:52 +03:00
8344e032cc [android] Remove unused dependencies
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-26 11:04:23 +03:00
a4580a8320 [android] Update dependencies
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-26 11:04:23 +03:00
Alexander Borsuk
b97b57480c Switched to KML instead of KMB (old bookmarks will be lost)
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-04-26 08:51:56 +03:00
5fe38e62a1 [android]: New versioning scheme
Android:

- 21042415 - version code
- 2021.04.24-15-gae0bcb54f9-Google - version name

iOS:

- 2021.04.24

This patch also fixes GitHub Actions.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-24 23:02:44 +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
c17caa5506 [strings] Regenerated
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-04-24 13:46:48 +03:00
Alexander Borsuk
c2cd49a278 Minor renaming
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-04-24 13:46:48 +03:00
48da9c7d63 [android]: Fix random crashes in the background
Follow up a4cbcad "Initialize core before handle received broadcast"

This patch also removes leftovers of booking synchronization.

Closes #205

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-24 10:09:06 +03:00
Alexander Borsuk
f9cf0c83d3 [android] Gradle wrapper fix suggested by Android Studio
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-04-22 08:11:07 +03:00
9ecde05d09 [android] Remove UGC, guides, booking, taxi
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-04-22 08:11:07 +03:00
Alexander Borsuk
56a1fc3534 Removed watermark
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-04-22 08:11:07 +03:00
Alexander Borsuk
2fcd601b88 [core][ios] Cleaned up Booking, guides, ugc, taxi
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-04-22 08:11:07 +03:00
Alexander Borsuk
e56e02a97b [strings] Regenerated
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-04-22 08:11:07 +03:00
Alexander Borsuk
8cdc46979b [android] Updated gradle plugin
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-04-22 08:11:07 +03:00
0ec0af9045 [android]: Restore categories icons
Fix a regression by 797a54c0 "Remove unused icons"

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-13 09:27:55 +03:00
8ca0a51206 [android]: Optimize imports
Configure the code style according to AOSP recommendations:

- Static imports
- android
- androidx
- com
- junit
- net
- org
- others
- java
- javax

See https://source.android.com/setup/contribute/code-style#fully-qualify-imports

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 21:44:38 +03:00
7e2dbf1045 [android]: Fix an unintentional change in the previous commit
Sorry for that.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 17:46:32 +03:00
880ae66c90 [android]: Remove NativeJobService
This service actually did nothing.

Closes #297

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 17:36:04 +03:00
180773b165 [android]: Remove FirebaseJobService leftovers
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 17:31:56 +03:00
bdcc28dc52 [android]: Remove Google Cloud Messaging (pushes)
Unused.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 17:31:56 +03:00
44a0bdafaa [android]: Remove CHANGE_WIFI_STATE
Unused

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 17:31:56 +03:00
fa16af99a3 [android]: Remove ACCESS_WIFI_STATE permission
This permission were needed to collect MAC addresses
for advertising.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 17:31:56 +03:00
725560cab9 [android]: Remove checks for JellyBean and Lollipop
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 13:06:36 +03:00
fda516626f [android]: Use native sharing dialog
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 13:06:23 +03:00
073f5e21aa [android]: Remove unused GDPR consent screen
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 12:58:51 +03:00
265131740f [strings][android]: Remove unused strings
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 12:58:51 +03:00
797a54c0e3 [android]: Remove unused icons
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-10 12:58:51 +03:00
9a1270847b [android]: Remove permission dialog
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-04 16:56:47 +03:00
3a93ec12d9 [android]: Remove news and traces of onboarding
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-04 16:56:47 +03:00
fe5fca2c01 [android]: Bump SdkVersion to 30
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-04 16:56:47 +03:00
bd424bb7cd [android]: Remove WRITE_EXTERNAL_STORAGE permission
This permission is not needed for scoped storage.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-04 16:56:47 +03:00
994e50598c [android]: Enable Auto Backups
Back up bookmarks and settings to Google Drive.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-04 16:56:47 +03:00
4822f1a39b [android]: Use scoped storage
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-04 16:56:47 +03:00
43c75200fa [coding][android]: Use native function to move files
The previous implementation of StoragePathManager.changeStorage()
tried to move files from one volume to another using MoveFileX().
MoveFileX() was just a thin wrapper around rename(2), thus it failed
in 100% of cases and a slow Java CopyFile() fallback was called instead.

- Rewrite MoveFileX to actually move files instead of renaming.
- Don't call the slow Java fallback code.
- Create directories before trying to move files there, not after.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-04 16:56:47 +03:00
bd8d89af23 [android]: Enable Firebase Crashlytics only for Beta builds
- Enable Google Mobile Services for all flavors except fdroid.
- Enable Google Firebase Services for all beta builds flavors fdroid
  only if google-services.json exists

We want to get all stars in εxodus privacy report.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-03 20:20:47 +03:00
f19de9ad56 [ios][android]: Replace layer icons
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-03 20:20:34 +03:00
vng
3a19edbd6b [iOS][android] Removed UGC.
Signed-off-by: vng <viktor.govako@gmail.com>
2021-04-03 17:02:21 +03:00
09f25f2501 [android]: Fix Gradle warnings
Do what the latest Gradle ask me to do.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-03 11:24:28 +02:00
16b69c3f22 [android]: Enable bundled assets for all flavors
See https://github.com/omapsapp/omapsapp/issues/281

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-03 10:47:42 +03:00
090b7042d4 [android]: Revert "load settings dir in Platform constructor"
This reverts commit 0b71876515.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-01 17:28:37 +03:00
9b5a03ab1c [android] Remove APK expansion files (OBB)
This feature is deprecated. According to Google, from August 2021, new
apps will be required to publish with the Android App Bundle on
Google Play. Android App Bundle (.aab) is not compatible with OOB.

See https://developer.android.com/guide/app-bundle

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-04-01 17:28:37 +03:00