Android - Google Play Store: Recover the original stack trace #549
-
Hi, when I want to release an App on Google Play I get two warnings (translated from german to english):
I saw, that normally a mapping file is shipped with an app bundle. I switched from APK to AAB during the app lifecycle on Google Play, is this maybe the problem that the mapping file is not there? Because it means:
It says also, that the mapping file is found in Regards, Manuel |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Google always warns if you don't provide a mapping. But the mapping is only generated if your build actually uses Proguard, which cordova builds does not. Because Cordova usually refers to functions by string, using reflection for the cordova bridge, enabling Proguard breaks the cordova framework since proguard will obsfucate/minimize function names to create a smaller build. The mapping is so it can take the proguard output and translate it back to the original symbols. Because Cordova build doesn't use proguard though, any errors originating from cordova framework or the cordova project should already show the original symbols in any errors captured and reported through Google Play. So the warning can be ignored imo. |
Beta Was this translation helpful? Give feedback.
Google always warns if you don't provide a mapping. But the mapping is only generated if your build actually uses Proguard, which cordova builds does not.
Because Cordova usually refers to functions by string, using reflection for the cordova bridge, enabling Proguard breaks the cordova framework since proguard will obsfucate/minimize function names to create a smaller build. The mapping is so it can take the proguard output and translate it back to the original symbols.
Because Cordova build doesn't use proguard thoug…