From 98f814037537b836e65fa77f6ee6debe26b42359 Mon Sep 17 00:00:00 2001 From: Roman Tsisyk Date: Wed, 15 Nov 2023 10:54:35 +0200 Subject: [PATCH] [android] Disable R8 optimizations The source line numbers in the log messages are transformed by R8 in the complex way, that requires `mapping.txt` to recover the real number. Disable R8 optimizations for now until we figure out how to maintain the history of `mapping.txt` for all releases. Closes #6559 Signed-off-by: Roman Tsisyk --- android/app/proguard-rules.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index 3440c83dce..19d264243d 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -25,3 +25,6 @@ # Disable obfuscation since it is open-source app. -dontobfuscate +# R8 crypts the source line numbers in all log messages. +# https://github.com/organicmaps/organicmaps/issues/6559#issuecomment-1812039926 +-dontoptimize